Lines Matching refs:marker_str
41 psf_get_chunk_iterator (SF_PRIVATE * psf, const char * marker_str) in psf_get_chunk_iterator() argument
45 if (marker_str) in psf_get_chunk_iterator()
46 idx = psf_find_read_chunk_str (pchk, marker_str) ; in psf_get_chunk_iterator()
61 if (marker_str) in psf_get_chunk_iterator()
69 snprintf (u.str, sizeof (u.str), "%s", marker_str) ; in psf_get_chunk_iterator()
71 marker_len = strlen (marker_str) ; in psf_get_chunk_iterator()
75 hash = marker_len > 4 ? hash_of_str (marker_str) : u.marker ; in psf_get_chunk_iterator()
77 memcpy (psf->iterator->id, marker_str, marker_len) ; in psf_get_chunk_iterator()
155 psf_find_read_chunk_str (const READ_CHUNKS * pchk, const char * marker_str) in psf_find_read_chunk_str() argument
163 snprintf (u.str, sizeof (u.str), "%s", marker_str) ; in psf_find_read_chunk_str()
165 hash = strlen (marker_str) > 4 ? hash_of_str (marker_str) : u.marker ; in psf_find_read_chunk_str()
193 psf_store_read_chunk_str (READ_CHUNKS * pchk, const char * marker_str, sf_count_t offset, uint32_t … in psf_store_read_chunk_str() argument
202 snprintf (u.str, sizeof (u.str), "%s", marker_str) ; in psf_store_read_chunk_str()
204 marker_len = strlen (marker_str) ; in psf_store_read_chunk_str()
206 rchunk.hash = marker_len > 4 ? hash_of_str (marker_str) : u.marker ; in psf_store_read_chunk_str()
212 memcpy (rchunk.id, marker_str, rchunk.id_size) ; in psf_store_read_chunk_str()