Lines Matching refs:total
515 { int count, total = 0 ;
517 while (total < len)
519 { memset (&(ptr [total]), 0, (len - total) * sizeof (int)) ;
520 return total ;
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 ;
534 return total ;
543 sf_count_t total = 0 ;
555 ptr [total + k] = iptr [k] >> 16 ;
556 total += count ;
559 return total ;
565 int total ;
571 total = paf24_read (psf, ppaf24, ptr, len) ;
573 return total ;
582 sf_count_t total = 0 ;
597 ptr [total + k] = normfact * iptr [k] ;
598 total += count ;
601 return total ;
610 sf_count_t total = 0 ;
625 ptr [total + k] = normfact * iptr [k] ;
626 total += count ;
629 return total ;
687 { int count, total = 0 ;
689 while (total < len)
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 ;
703 return total ;
712 sf_count_t total = 0 ;
723 iptr [k] = ptr [total + k] << 16 ;
725 total += count ;
730 return total ;
737 sf_count_t total = 0 ;
748 total += count ;
754 return total ;
763 sf_count_t total = 0 ;
777 iptr [k] = psf_lrintf (normfact * ptr [total + k]) ;
779 total += count ;
785 return total ;
794 sf_count_t total = 0 ;
808 iptr [k] = psf_lrint (normfact * ptr [total+k]) ;
810 total += count ;
816 return total ;