Lines Matching refs:total
559 sf_count_t total = 0 ;
571 ptr [total + k] = iptr [k] >> 16 ;
572 total += count ;
576 return total ;
582 int total ;
588 total = sds_read (psf, psds, ptr, len) ;
590 return total ;
599 sf_count_t total = 0 ;
617 ptr [total + k] = normfact * iptr [k] ;
618 total += count ;
622 return total ;
631 sf_count_t total = 0 ;
649 ptr [total + k] = normfact * iptr [k] ;
650 total += count ;
654 return total ;
659 { int count, total = 0 ;
661 while (total < len)
663 { memset (&(ptr [total]), 0, (len - total) * sizeof (int)) ;
664 return total ;
671 count = (len - total > count) ? count : len - total ;
673 memcpy (&(ptr [total]), &(psds->read_samples [psds->read_count]), count * sizeof (int)) ;
674 total += count ;
678 return total ;
901 sf_count_t total = 0 ;
913 iptr [k] = arith_shift_left (ptr [total + k], 16) ;
915 total += count ;
919 return total ;
925 int total ;
932 total = sds_write (psf, psds, ptr, len) ;
934 return total ;
943 sf_count_t total = 0 ;
961 iptr [k] = normfact * ptr [total + k] ;
963 total += count ;
967 return total ;
976 sf_count_t total = 0 ;
994 iptr [k] = normfact * ptr [total + k] ;
996 total += count ;
1000 return total ;
1005 { int count, total = 0 ;
1007 while (total < len)
1009 if (count > len - total)
1010 count = len - total ;
1012 memcpy (&(psds->write_samples [psds->write_count]), &(ptr [total]), count * sizeof (int)) ;
1013 total += count ;
1020 return total ;