Lines Matching defs:bytes
344 psf_fread (void *ptr, sf_count_t bytes, sf_count_t items, SF_PRIVATE *psf)
349 return psf->vio.read (ptr, bytes*items, psf->vio_user_data) / bytes ;
351 items *= bytes ;
381 return total / bytes ;
385 psf_fwrite (const void *ptr, sf_count_t bytes, sf_count_t items, SF_PRIVATE *psf)
389 if (bytes == 0 || items == 0)
393 return psf->vio.write (ptr, bytes*items, psf->vio_user_data) / bytes ;
395 items *= bytes ;
425 return total / bytes ;
980 psf_fread (void *ptr, sf_count_t bytes, sf_count_t items, SF_PRIVATE *psf)
986 return psf->vio.read (ptr, bytes*items, psf->vio_user_data) / bytes ;
988 items *= bytes ;
1015 return total / bytes ;
1019 psf_fwrite (const void *ptr, sf_count_t bytes, sf_count_t items, SF_PRIVATE *psf)
1025 return psf->vio.write (ptr, bytes * items, psf->vio_user_data) / bytes ;
1027 items *= bytes ;
1054 return total / bytes ;