Home
last modified time | relevance | path

Searched refs:bytesread (Results 1 – 16 of 16) sorted by relevance

/third_party/NuttX/drivers/bch/
Dbchlib_read.c68 size_t bytesread; in bchlib_read() local
92 bytesread = 0; in bchlib_read()
100 return bytesread; in bchlib_read()
118 return bytesread; in bchlib_read()
130 bytesread = nbytes; in bchlib_read()
152 return bytesread; in bchlib_read()
159 bytesread += nbytes; in bchlib_read()
163 return bytesread; in bchlib_read()
179 return bytesread; in bchlib_read()
188 return bytesread; in bchlib_read()
[all …]
/third_party/libsnd/src/
Dwavlike.c127 int bytesread, k, bytespersec = 0 ; in wavlike_read_fmt_chunk() local
141 bytesread = psf_binheader_readf (psf, "224422", in wavlike_read_fmt_chunk()
218 { bytesread += psf_binheader_readf (psf, "2", &(wav_fmt->size20.extrabytes)) ; in wavlike_read_fmt_chunk()
229bytesread += psf_binheader_readf (psf, "22", &(wav_fmt->ima.extrabytes), &(wav_fmt->ima.samplesper… in wavlike_read_fmt_chunk()
252 bytesread += psf_binheader_readf (psf, "222", &(wav_fmt->msadpcm.extrabytes), in wavlike_read_fmt_chunk()
282 bytesread += in wavlike_read_fmt_chunk()
293 bytesread += in wavlike_read_fmt_chunk()
315 bytesread += in wavlike_read_fmt_chunk()
366bytesread += psf_binheader_readf (psf, "422", &(wav_fmt->ext.esf.esf_field1), &(wav_fmt->ext.esf.e… in wavlike_read_fmt_chunk()
375 { bytesread += psf_binheader_readf (psf, "1", &(wav_fmt->ext.esf.esf_field4 [k])) ; in wavlike_read_fmt_chunk()
[all …]
Dwav.c470 { uint32_t thisread, bytesread, cue_count, position, offset ; in wav_read_header() local
473 bytesread = psf_binheader_readf (psf, "4", &cue_count) ; in wav_read_header()
478 psf_binheader_readf (psf, "j", chunk_size - bytesread) ; in wav_read_header()
498 bytesread += thisread ; in wav_read_header()
520 if (bytesread != chunk_size) in wav_read_header()
521 { psf_log_printf (psf, "**** Chunk size weirdness (%d != %d)\n", chunk_size, bytesread) ; in wav_read_header()
522 psf_binheader_readf (psf, "j", chunk_size - bytesread) ; in wav_read_header()
1297 uint32_t thisread, bytesread = 0, dword, sampler_data, loop_count, actually_loop_count = 0 ; in wav_read_smpl_chunk() local
1303 bytesread += psf_binheader_readf (psf, "4", &dword) ; in wav_read_smpl_chunk()
1306 bytesread += psf_binheader_readf (psf, "4", &dword) ; in wav_read_smpl_chunk()
[all …]
Drf64.c220 { unsigned int table_len, bytesread ; in rf64_read_header() local
223 bytesread = psf_binheader_readf (psf, "888", &riff_size, &ds64_datalength, &frame_count) ; in rf64_read_header()
226 bytesread += psf_binheader_readf (psf, "4", &table_len) ; in rf64_read_header()
228 bytesread += psf_binheader_readf (psf, "j", table_len) ; in rf64_read_header()
230 if (chunk_size == bytesread) in rf64_read_header()
232 else if (chunk_size >= bytesread + 4) in rf64_read_header()
236 { psf_log_printf (psf, "%M : %u (should be %u)\n", marker, chunk_size, bytesread) ; in rf64_read_header()
241 psf_binheader_readf (psf, "j", chunk_size - bytesread - 4) ; in rf64_read_header()
Dsds.c217 int bytesread, blockcount ; in sds_read_header() local
220 bytesread = psf_binheader_readf (psf, "pE211", 0, &marker, &channel, &byte) ; in sds_read_header()
225 bytesread += psf_binheader_readf (psf, "e2", &sample_no) ; in sds_read_header()
232 bytesread += psf_binheader_readf (psf, "e13", &bitwidth, &samp_period) ; in sds_read_header()
260bytesread += psf_binheader_readf (psf, "e3331", &data_length, &sustain_loop_start, &sustain_loop_e… in sds_read_header()
278 bytesread += psf_binheader_readf (psf, "1", &byte) ; in sds_read_header()
282 for (blockcount = 0 ; bytesread < psf->filelength ; blockcount++) in sds_read_header()
284 bytesread += psf_fread (&marker, 1, 2, psf) ; in sds_read_header()
290 bytesread += SDS_BLOCK_SIZE - 2 ; in sds_read_header()
Daiff.c402 uint32_t chunk_size = 0, FORMsize, SSNDsize, bytesread, mark_count = 0 ; in aiff_read_header() local
792 bytesread = psf_binheader_readf (psf, "E2", &n) ; in aiff_read_header()
805 psf_binheader_readf (psf, "j", chunk_size - bytesread) ; in aiff_read_header()
816 for (n = 0 ; n < mark_count && bytesread < chunk_size ; n++) in aiff_read_header()
820 bytesread += psf_binheader_readf (psf, "E241", &mark_id, &position, &ch) ; in aiff_read_header()
833 { bytesread += psf_binheader_readf (psf, "b", ubuf.scbuf, pstr_len) ; in aiff_read_header()
838 bytesread += psf_binheader_readf (psf, "bj", ubuf.scbuf, read_len, pstr_len - read_len) ; in aiff_read_header()
857 psf_binheader_readf (psf, "j", chunk_size - bytesread) ; in aiff_read_header()
1760 unsigned channel_bitmap, channel_decriptions, bytesread ; in aiff_read_chanmap() local
1763 bytesread = psf_binheader_readf (psf, "444", &layout_tag, &channel_bitmap, &channel_decriptions) ; in aiff_read_chanmap()
[all …]
Dw64.c228 sf_count_t chunk_size, bytesread = 0 ; in w64_read_header() local
245 bytesread = psf_binheader_readf (psf, "eh8", &marker, &chunk_size) ; in w64_read_header()
246 if (bytesread == 0) in w64_read_header()
260 bytesread += psf_binheader_readf (psf, "h", &marker) ; in w64_read_header()
Dcaf.c798 unsigned channel_bitmap, channel_decriptions, bytesread ; in caf_read_chanmap() local
801 bytesread = psf_binheader_readf (psf, "E444", &layout_tag, &channel_bitmap, &channel_decriptions) ; in caf_read_chanmap()
809 if (bytesread < chunk_size) in caf_read_chanmap()
810 psf_binheader_readf (psf, "j", chunk_size - bytesread) ; in caf_read_chanmap()
/third_party/node/test/parallel/
Dtest-stream2-readable-non-empty-end.js48 let bytesread = 0; variable
50 const b = len - bytesread - 1;
53 bytesread += res.length;
54 console.error(`br=${bytesread} len=${len}`);
/third_party/ltp/testcases/kernel/syscalls/pipe/
Dpipe04.c81 int bytesread; in main() local
134 bytesread = do_read(fildes[0], rbuf, sizeof(rbuf)); in main()
135 if (bytesread < 0) { in main()
/third_party/mksh/
Dfuncs.c1615 size_t bytesleft = 128, bytesread; in c_read() local
1753 bytesread = 0; in c_read()
1767 if ((bytesread = blocking_read(fd, xp, bytesleft)) == (size_t)-1) { in c_read()
1793 if (bytesread == 0) { in c_read()
1798 xp += bytesread; in c_read()
1803 if (bytesread == 0) in c_read()
1806 xp += bytesread; in c_read()
1810 if (bytesread == 0) { in c_read()
1816 xp += bytesread; in c_read()
1817 if ((bytesleft -= bytesread) == 0) in c_read()
[all …]
/third_party/NuttX/fs/nfs/
Dnfs_adapter.c2053 size_t bytesread; in vfs_nfs_readpage() local
2104 for (bytesread = 0; bytesread < buflen; ) in vfs_nfs_readpage()
2108 readsize = buflen - bytesread; in vfs_nfs_readpage()
2178 bytesread += readsize; in vfs_nfs_readpage()
2190 return bytesread; in vfs_nfs_readpage()
2203 size_t bytesread; in vfs_nfs_read() local
2249 for (bytesread = 0; bytesread < buflen; ) in vfs_nfs_read()
2253 readsize = buflen - bytesread; in vfs_nfs_read()
2323 bytesread += readsize; in vfs_nfs_read()
2335 return bytesread; in vfs_nfs_read()
/third_party/ffmpeg/libavformat/
Dmpeg.c265 int bytesread = 0; in mpegps_read_pes_header() local
269 bytesread = avio_read(s->pb, ps2buf, len); in mpegps_read_pes_header()
271 if (bytesread != len) { in mpegps_read_pes_header()
272 avio_skip(s->pb, len - bytesread); in mpegps_read_pes_header()
/third_party/boost/libs/outcome/doc/src/content/recipes/
Dasio-integration.md95 outcome::result<size_t, error_code> bytesread =
Dasio-integration-1-70.md102 outcome::result<size_t, error_code> bytesread =
/third_party/mesa3d/src/gallium/auxiliary/util/
Ddbghelp.h507 DWORD *bytesread; member