Searched refs:rchunks (Results 1 – 8 of 8) sorted by relevance
/third_party/libsnd/src/ |
D | rf64.c | 211 psf_store_read_chunk_u32 (&psf->rchunks, marker, psf_ftell (psf), chunk_size) ; in rf64_read_header() 859 { return psf_next_chunk_iterator (&psf->rchunks, iterator) ; in rf64_next_chunk_iterator() 866 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in rf64_get_chunk_size() 869 chunk_info->datalen = psf->rchunks.chunks [indx].len ; in rf64_get_chunk_size() 879 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in rf64_get_chunk_data() 885 chunk_info->id_size = psf->rchunks.chunks [indx].id_size ; in rf64_get_chunk_data() 886 …memcpy (chunk_info->id, psf->rchunks.chunks [indx].id, sizeof (chunk_info->id) / sizeof (*chunk_in… in rf64_get_chunk_data() 889 psf_fseek (psf, psf->rchunks.chunks [indx].offset, SEEK_SET) ; in rf64_get_chunk_data() 890 …psf_fread (chunk_info->data, SF_MIN (chunk_info->datalen, psf->rchunks.chunks [indx].len), 1, psf)… in rf64_get_chunk_data()
|
D | aiff.c | 443 psf_store_read_chunk_u32 (&psf->rchunks, marker, psf_ftell (psf), chunk_size) ; in aiff_read_header() 1178 if ((k = psf_find_read_chunk_m32 (&psf->rchunks, COMM_MARKER)) >= 0) in aiff_rewrite_header() 1179 { psf->header.indx = psf->rchunks.chunks [k].offset - 8 ; in aiff_rewrite_header() 1181 comm_size = psf->rchunks.chunks [k].len ; in aiff_rewrite_header() 1186 if ((k = psf_find_read_chunk_m32 (&psf->rchunks, PEAK_MARKER)) >= 0) in aiff_rewrite_header() 1187 { psf->header.indx = psf->rchunks.chunks [k].offset - 8 ; in aiff_rewrite_header() 1196 if ((k = psf_find_read_chunk_m32 (&psf->rchunks, SSND_MARKER)) >= 0) in aiff_rewrite_header() 1197 { psf->header.indx = psf->rchunks.chunks [k].offset - 8 ; in aiff_rewrite_header() 1236 if (psf->file.mode == SFM_RDWR && psf->dataoffset > 0 && psf->rchunks.count > 0) in aiff_write_header() 1799 { return psf_next_chunk_iterator (&psf->rchunks, iterator) ; in aiff_next_chunk_iterator() [all …]
|
D | caf.c | 408 psf_store_read_chunk_u32 (&psf->rchunks, marker, psf_ftell (psf), chunk_size) ; in caf_read_header() 998 { return psf_next_chunk_iterator (&psf->rchunks, iterator) ; in caf_next_chunk_iterator() 1005 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in caf_get_chunk_size() 1008 chunk_info->datalen = psf->rchunks.chunks [indx].len ; in caf_get_chunk_size() 1018 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in caf_get_chunk_data() 1024 chunk_info->id_size = psf->rchunks.chunks [indx].id_size ; in caf_get_chunk_data() 1025 …memcpy (chunk_info->id, psf->rchunks.chunks [indx].id, sizeof (chunk_info->id) / sizeof (*chunk_in… in caf_get_chunk_data() 1028 psf_fseek (psf, psf->rchunks.chunks [indx].offset, SEEK_SET) ; in caf_get_chunk_data() 1029 …psf_fread (chunk_info->data, SF_MIN (chunk_info->datalen, psf->rchunks.chunks [indx].len), 1, psf)… in caf_get_chunk_data()
|
D | wav.c | 326 psf_store_read_chunk_u32 (&psf->rchunks, marker, psf_ftell (psf), chunk_size) ; in wav_read_header() 1536 { return psf_next_chunk_iterator (&psf->rchunks, iterator) ; in wav_next_chunk_iterator() 1543 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in wav_get_chunk_size() 1546 chunk_info->datalen = psf->rchunks.chunks [indx].len ; in wav_get_chunk_size() 1556 if ((indx = psf_find_read_chunk_iterator (&psf->rchunks, iterator)) < 0) in wav_get_chunk_data() 1562 chunk_info->id_size = psf->rchunks.chunks [indx].id_size ; in wav_get_chunk_data() 1563 …memcpy (chunk_info->id, psf->rchunks.chunks [indx].id, sizeof (chunk_info->id) / sizeof (*chunk_in… in wav_get_chunk_data() 1566 psf_fseek (psf, psf->rchunks.chunks [indx].offset, SEEK_SET) ; in wav_get_chunk_data() 1567 …psf_fread (chunk_info->data, SF_MIN (chunk_info->datalen, psf->rchunks.chunks [indx].len), 1, psf)… in wav_get_chunk_data()
|
D | chunk.c | 42 { const READ_CHUNKS * pchk = &psf->rchunks ; in psf_get_chunk_iterator()
|
D | common.h | 548 READ_CHUNKS rchunks ; member
|
D | sndfile.c | 2913 free (psf->rchunks.chunks) ; in psf_close()
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 10316 assert_eq!(v.rchunks(2).len(), 3); 10319 assert_eq!(v.rchunks(2).collect::<Vec<_>>(), chunks); 10321 assert_eq!(v.rchunks(3).collect::<Vec<_>>(), chunks); 10323 assert_eq!(v.rchunks(6).collect::<Vec<_>>(), chunks); 10326 assert_eq!(v.rchunks(2).rev().collect::<Vec<_>>(), chunks); 10333 let _it = v.rchunks(0);
|