Lines Matching refs:total
515 { int count, total = 0 ; in paf24_read() local
517 while (total < len) in paf24_read()
519 { memset (&(ptr [total]), 0, (len - total) * sizeof (int)) ; in paf24_read()
520 return total ; in paf24_read()
527 count = (len - total > count) ? count : len - total ; in paf24_read()
529 …memcpy (&(ptr [total]), &(ppaf24->samples [ppaf24->read_count * ppaf24->channels]), count * sizeof… in paf24_read()
530 total += count ; in paf24_read()
534 return total ; in paf24_read()
543 sf_count_t total = 0 ; in paf24_read_s() local
555 ptr [total + k] = iptr [k] >> 16 ; in paf24_read_s()
556 total += count ; in paf24_read_s()
559 return total ; in paf24_read_s()
565 int total ; in paf24_read_i() local
571 total = paf24_read (psf, ppaf24, ptr, len) ; in paf24_read_i()
573 return total ; in paf24_read_i()
582 sf_count_t total = 0 ; in paf24_read_f() local
597 ptr [total + k] = normfact * iptr [k] ; in paf24_read_f()
598 total += count ; in paf24_read_f()
601 return total ; in paf24_read_f()
610 sf_count_t total = 0 ; in paf24_read_d() local
625 ptr [total + k] = normfact * iptr [k] ; in paf24_read_d()
626 total += count ; in paf24_read_d()
629 return total ; in paf24_read_d()
687 { int count, total = 0 ; in paf24_write() local
689 while (total < len) in paf24_write()
692 if (count > len - total) in paf24_write()
693 count = len - total ; in paf24_write()
695 …memcpy (&(ppaf24->samples [ppaf24->write_count * ppaf24->channels]), &(ptr [total]), count * sizeo… in paf24_write()
696 total += count ; in paf24_write()
703 return total ; in paf24_write()
712 sf_count_t total = 0 ; in paf24_write_s() local
723 iptr [k] = ptr [total + k] << 16 ; in paf24_write_s()
725 total += count ; in paf24_write_s()
730 return total ; in paf24_write_s()
737 sf_count_t total = 0 ; in paf24_write_i() local
748 total += count ; in paf24_write_i()
754 return total ; in paf24_write_i()
763 sf_count_t total = 0 ; in paf24_write_f() local
777 iptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in paf24_write_f()
779 total += count ; in paf24_write_f()
785 return total ; in paf24_write_f()
794 sf_count_t total = 0 ; in paf24_write_d() local
808 iptr [k] = psf_lrint (normfact * ptr [total+k]) ; in paf24_write_d()
810 total += count ; in paf24_write_d()
816 return total ; in paf24_write_d()