Lines Matching refs:total
315 { int count, total = 0, indx = 0 ; in msadpcm_read_block() local
320 return total ; in msadpcm_read_block()
325 return total ; in msadpcm_read_block()
333 total = indx ; in msadpcm_read_block()
336 return total ; in msadpcm_read_block()
343 sf_count_t total = 0 ; in msadpcm_read_s() local
355 total += count ; in msadpcm_read_s()
361 return total ; in msadpcm_read_s()
370 sf_count_t total = 0 ; in msadpcm_read_i() local
385 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in msadpcm_read_i()
386 total += count ; in msadpcm_read_i()
391 return total ; in msadpcm_read_i()
400 sf_count_t total = 0 ; in msadpcm_read_f() local
417 ptr [total + k] = normfact * (float) (sptr [k]) ; in msadpcm_read_f()
418 total += count ; in msadpcm_read_f()
423 return total ; in msadpcm_read_f()
432 sf_count_t total = 0 ; in msadpcm_read_d() local
449 ptr [total + k] = normfact * (double) (sptr [k]) ; in msadpcm_read_d()
450 total += count ; in msadpcm_read_d()
456 return total ; in msadpcm_read_d()
643 { int count, total = 0, indx = 0 ; in msadpcm_write_block() local
651 …memcpy (&(pms->samples [pms->samplecount * pms->channels]), &(ptr [total]), count * sizeof (short)… in msadpcm_write_block()
654 total = indx ; in msadpcm_write_block()
660 return total ; in msadpcm_write_block()
667 sf_count_t total = 0 ; in msadpcm_write_s() local
678 total += count ; in msadpcm_write_s()
684 return total ; in msadpcm_write_s()
693 sf_count_t total = 0 ; in msadpcm_write_i() local
704 sptr [k] = ptr [total + k] >> 16 ; in msadpcm_write_i()
706 total += count ; in msadpcm_write_i()
711 return total ; in msadpcm_write_i()
720 sf_count_t total = 0 ; in msadpcm_write_f() local
734 sptr [k] = psf_lrintf (normfact * ptr [total + k]) ; in msadpcm_write_f()
736 total += count ; in msadpcm_write_f()
741 return total ; in msadpcm_write_f()
750 sf_count_t total = 0 ; in msadpcm_write_d() local
764 sptr [k] = psf_lrint (normfact * ptr [total + k]) ; in msadpcm_write_d()
766 total += count ; in msadpcm_write_d()
771 return total ; in msadpcm_write_d()