Lines Matching refs:bytesread

485 					{	uint32_t thisread, bytesread, cue_count, position, offset ;
488 bytesread = psf_binheader_readf (psf, "4", &cue_count) ;
493 psf_binheader_readf (psf, "j", chunk_size - bytesread) ;
513 bytesread += thisread ;
535 if (bytesread != chunk_size)
536 { psf_log_printf (psf, "**** Chunk size weirdness (%d != %d)\n", chunk_size, bytesread) ;
537 psf_binheader_readf (psf, "j", chunk_size - bytesread) ;
1378 uint32_t thisread, bytesread = 0, dword, sampler_data, loop_count, actually_loop_count = 0 ;
1384 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1387 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1390 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1393 bytesread += psf_binheader_readf (psf, "4", &note) ;
1396 bytesread += psf_binheader_readf (psf, "4", &pitch) ;
1405 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1408 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1414 bytesread += psf_binheader_readf (psf, "4", &loop_count) ;
1417 if (loop_count == 0 && chunklen == bytesread)
1423 bytesread += psf_binheader_readf (psf, "4", &sampler_data) ;
1435 for (j = 0 ; loop_count > 0 && chunklen - bytesread >= 24 ; j ++)
1438 bytesread += thisread ;
1441 bytesread += psf_binheader_readf (psf, "4", &type) ;
1444 bytesread += psf_binheader_readf (psf, "4", &start) ;
1447 bytesread += psf_binheader_readf (psf, "4", &end) ;
1450 bytesread += psf_binheader_readf (psf, "4", &dword) ;
1453 bytesread += psf_binheader_readf (psf, "4", &count) ;
1489 if (chunklen - bytesread == 0)
1496 { if (sampler_data != chunklen - bytesread)
1497 { psf_log_printf (psf, " Sampler Data : %u (should have been %u)\n", sampler_data, chunklen - bytesread) ;
1498 sampler_data = chunklen - bytesread ;
1512 bytesread += thisread ;
1562 uint32_t bytesread = 0 ;
1569 bytesread += psf_binheader_readf (psf, "422f", &flags, &rootnote, &q1, &q2) ;
1583 bytesread += psf_binheader_readf (psf, "422f", &beats, &meter_denom, &meter_numer, &tempo) ;
1588 psf_binheader_readf (psf, "j", chunklen - bytesread) ;