Lines Matching refs:readcount
348 int readcount, count ;
356 { readcount = (len > 0x10000000) ? 0x10000000 : (int) len ;
358 if ((count = (int) msadpcm_read_block (psf, pms, ptr, readcount)) <= 0)
363 if (count != readcount)
375 int k, bufferlen, readcount = 0, count ;
385 { readcount = (len >= bufferlen) ? bufferlen : (int) len ;
387 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0)
390 for (k = 0 ; k < readcount ; k++)
393 len -= readcount ;
394 if (count != readcount)
405 int k, bufferlen, readcount = 0, count ;
417 { readcount = (len >= bufferlen) ? bufferlen : (int) len ;
419 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0)
422 for (k = 0 ; k < readcount ; k++)
425 len -= readcount ;
426 if (count != readcount)
437 int k, bufferlen, readcount = 0, count ;
449 { readcount = (len >= bufferlen) ? bufferlen : (int) len ;
451 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0)
454 for (k = 0 ; k < readcount ; k++)
457 len -= readcount ;
458 if (count != readcount)