Lines Matching defs:count
515 { int count, total = 0 ;
526 count = (PAF24_SAMPLES_PER_BLOCK - ppaf24->read_count) * ppaf24->channels ;
527 count = (len - total > count) ? count : len - total ;
529 memcpy (&(ptr [total]), &(ppaf24->samples [ppaf24->read_count * ppaf24->channels]), count * sizeof (int)) ;
530 total += count ;
531 ppaf24->read_count += count / ppaf24->channels ;
542 int k, bufferlen, readcount, count ;
553 count = paf24_read (psf, ppaf24, iptr, readcount) ;
556 total += count ;
581 int k, bufferlen, readcount, count ;
595 count = paf24_read (psf, ppaf24, iptr, readcount) ;
598 total += count ;
609 int k, bufferlen, readcount, count ;
623 count = paf24_read (psf, ppaf24, iptr, readcount) ;
626 total += count ;
687 { int count, total = 0 ;
690 { count = (PAF24_SAMPLES_PER_BLOCK - ppaf24->write_count) * ppaf24->channels ;
692 if (count > len - total)
693 count = len - total ;
695 memcpy (&(ppaf24->samples [ppaf24->write_count * ppaf24->channels]), &(ptr [total]), count * sizeof (int)) ;
696 total += count ;
697 ppaf24->write_count += count / ppaf24->channels ;
711 int k, bufferlen, writecount = 0, count ;
724 count = paf24_write (psf, ppaf24, iptr, writecount) ;
725 total += count ;
727 if (count != writecount)
736 int writecount, count ;
746 count = paf24_write (psf, ppaf24, ptr, writecount) ;
748 total += count ;
749 len -= count ;
750 if (count != writecount)
762 int k, bufferlen, writecount = 0, count ;
778 count = paf24_write (psf, ppaf24, iptr, writecount) ;
779 total += count ;
781 if (count != writecount)
793 int k, bufferlen, writecount = 0, count ;
809 count = paf24_write (psf, ppaf24, iptr, writecount) ;
810 total += count ;
812 if (count != writecount)