Lines Matching defs:count

242 {	int	count, total = 0, indx = 0 ;
253 count = pgsm610->samplesperblock - pgsm610->samplecount ;
254 count = (len - indx > count) ? count : len - indx ;
256 memcpy (&(ptr [indx]), &(pgsm610->samples [pgsm610->samplecount]), count * sizeof (short)) ;
257 indx += count ;
258 pgsm610->samplecount += count ;
268 int readcount, count ;
278 count = gsm610_read_block (psf, pgsm610, ptr, readcount) ;
280 total += count ;
281 len -= count ;
283 if (count != readcount)
295 int k, bufferlen, readcount = 0, count ;
306 count = gsm610_read_block (psf, pgsm610, sptr, readcount) ;
310 total += count ;
321 int k, bufferlen, readcount = 0, count ;
335 count = gsm610_read_block (psf, pgsm610, sptr, readcount) ;
339 total += count ;
350 int k, bufferlen, readcount = 0, count ;
364 count = gsm610_read_block (psf, pgsm610, sptr, readcount) ;
368 total += count ;
475 { int count, total = 0, indx = 0 ;
478 { count = pgsm610->samplesperblock - pgsm610->samplecount ;
480 if (count > len - indx)
481 count = len - indx ;
483 memcpy (&(pgsm610->samples [pgsm610->samplecount]), &(ptr [indx]), count * sizeof (short)) ;
484 indx += count ;
485 pgsm610->samplecount += count ;
498 int writecount, count ;
508 count = gsm610_write_block (psf, pgsm610, ptr, writecount) ;
510 total += count ;
511 len -= count ;
513 if (count != writecount)
525 int k, bufferlen, writecount = 0, count ;
538 count = gsm610_write_block (psf, pgsm610, sptr, writecount) ;
540 total += count ;
551 int k, bufferlen, writecount = 0, count ;
567 count = gsm610_write_block (psf, pgsm610, sptr, writecount) ;
569 total += count ;
571 if (count != writecount)
582 int k, bufferlen, writecount = 0, count ;
598 count = gsm610_write_block (psf, pgsm610, sptr, writecount) ;
600 total += count ;