Lines Matching refs:bytesread
127 int bytesread, k, bytespersec = 0 ;
141 bytesread = psf_binheader_readf (psf, "224422",
220 { bytesread += psf_binheader_readf (psf, "2", &(wav_fmt->size20.extrabytes)) ;
231 bytesread += psf_binheader_readf (psf, "22", &(wav_fmt->ima.extrabytes), &(wav_fmt->ima.samplesperblock)) ;
254 bytesread += psf_binheader_readf (psf, "222", &(wav_fmt->msadpcm.extrabytes),
284 bytesread +=
295 bytesread +=
312 bytesread += psf_binheader_readf (psf, "24222", &(wav_fmt->mpeg3.extrabytes),
334 bytesread +=
385 bytesread += psf_binheader_readf (psf, "422", &(wav_fmt->ext.esf.esf_field1), &(wav_fmt->ext.esf.esf_field2), &(wav_fmt->ext.esf.esf_field3)) ;
394 { bytesread += psf_binheader_readf (psf, "1", &(wav_fmt->ext.esf.esf_field4 [k])) ;
439 { bytesread += psf_binheader_readf (psf, "22", &(wav_fmt->g72x.extrabytes), &(wav_fmt->g72x.auxblocksize)) ;
447 { bytesread += psf_binheader_readf (psf, "2", &(wav_fmt->g72x.extrabytes)) ;
464 { bytesread += psf_binheader_readf (psf, "2", &(wav_fmt->size20.extrabytes)) ;
474 if (bytesread > fmtsize)
475 { psf_log_printf (psf, "*** wavlike_read_fmt_chunk (bytesread > fmtsize)\n") ;
479 psf_binheader_readf (psf, "j", fmtsize - bytesread) ;
958 uint32_t chunk_size, bytesread = 0 ;
977 while (bytesread < chunk_length)
982 bytesread += thisread ;
993 if (chunk_length > bytesread)
994 bytesread += exif_subchunk_parse (psf, chunk_length - bytesread) ;
1030 bytesread += psf_binheader_readf (psf, "4", &chunk_size) ;
1032 if (chunk_size >= SIGNED_SIZEOF (buffer) || bytesread + chunk_size > chunk_length)
1037 bytesread += psf_binheader_readf (psf, "b", buffer, chunk_size) ;
1045 bytesread += psf_binheader_readf (psf, "44", &chunk_size, &mark_id) ;
1048 if (chunk_size < 1 || chunk_size >= SIGNED_SIZEOF (buffer) || bytesread + chunk_size > chunk_length)
1053 bytesread += psf_binheader_readf (psf, "b", buffer, chunk_size) ;
1077 bytesread += psf_binheader_readf (psf, "4", &chunk_size) ;
1079 if (chunk_size >= SIGNED_SIZEOF (buffer) || bytesread + chunk_size > chunk_length)
1088 bytesread += psf_binheader_readf (psf, "4", &chunk_size) ;
1090 if (bytesread + chunk_size > chunk_length)
1096 bytesread += psf_binheader_readf (psf, "j", chunk_size) ;
1134 if (chunk_length > bytesread)
1135 bytesread += psf_binheader_readf (psf, "j", chunk_length - bytesread) ;
1272 size_t bytesread = 0 ;
1278 bytesread = psf_binheader_readf (psf, "b", buf, bufsz) ;
1281 if (bytesread == bufsz && toread > bufsz)
1282 bytesread += psf_binheader_readf (psf, "j", toread - bufsz) ;
1284 return bytesread ;
1293 { uint32_t marker, dword = 0, vmajor = -1, vminor = -1, bytesread = 0 ;
1297 while (bytesread < length)
1301 bytesread += thisread ;
1309 bytesread += psf_binheader_readf (psf, "j4", 4, &dword) ;
1316 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1318 if (dword > length || bytesread + dword > length)
1321 bytesread += psf_binheader_readf (psf, "j", dword) ;
1330 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1331 bytesread += sizeof (dword) ;
1336 return bytesread ;
1339 bytesread += exif_fill_and_sink (psf, buf, sizeof (buf), dword) ;
1346 bytesread += psf_binheader_readf (psf, "j", 2) ;
1351 return bytesread ;
1360 return bytesread ;