Lines Matching defs:count

204 {	int	count, total = 0, indx = 0 ;
215 count = pg72x->samplesperblock - pg72x->sample_curr ;
216 count = (len - indx > count) ? count : len - indx ;
218 memcpy (&(ptr [indx]), &(pg72x->samples [pg72x->sample_curr]), count * sizeof (short)) ;
219 indx += count ;
220 pg72x->sample_curr += count ;
230 int readcount, count ;
240 count = g72x_read_block (psf, pg72x, ptr, readcount) ;
242 total += count ;
243 len -= count ;
245 if (count != readcount)
257 int k, bufferlen, readcount = 0, count ;
268 count = g72x_read_block (psf, pg72x, sptr, readcount) ;
273 total += count ;
275 if (count != readcount)
287 int k, bufferlen, readcount = 0, count ;
301 count = g72x_read_block (psf, pg72x, sptr, readcount) ;
305 total += count ;
307 if (count != readcount)
319 int k, bufferlen, readcount = 0, count ;
333 count = g72x_read_block (psf, pg72x, sptr, readcount) ;
337 total += count ;
339 if (count != readcount)
449 { int count, total = 0, indx = 0 ;
452 { count = pg72x->samplesperblock - pg72x->sample_curr ;
454 if (count > len - indx)
455 count = len - indx ;
457 memcpy (&(pg72x->samples [pg72x->sample_curr]), &(ptr [indx]), count * sizeof (short)) ;
458 indx += count ;
459 pg72x->sample_curr += count ;
472 int writecount, count ;
482 count = g72x_write_block (psf, pg72x, ptr, writecount) ;
484 total += count ;
485 len -= count ;
486 if (count != writecount)
498 int k, bufferlen, writecount = 0, count ;
511 count = g72x_write_block (psf, pg72x, sptr, writecount) ;
513 total += count ;
515 if (count != writecount)
526 int k, bufferlen, writecount = 0, count ;
542 count = g72x_write_block (psf, pg72x, sptr, writecount) ;
544 total += count ;
546 if (count != writecount)
558 int k, bufferlen, writecount = 0, count ;
574 count = g72x_write_block (psf, pg72x, sptr, writecount) ;
576 total += count ;
578 if (count != writecount)