Lines Matching refs:readcount
515 int bufferlen, readcount ; in host_read_f2s() local
526 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f2s()
530 endswap_int_array (ubuf.ibuf, readcount) ; in host_read_f2s()
532 convert (ubuf.fbuf, readcount, ptr + total, scale) ; in host_read_f2s()
533 total += readcount ; in host_read_f2s()
534 if (readcount < bufferlen) in host_read_f2s()
536 len -= readcount ; in host_read_f2s()
546 int bufferlen, readcount ; in host_read_f2i() local
557 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f2i()
562 convert (ubuf.fbuf, readcount, ptr + total, scale) ; in host_read_f2i()
563 total += readcount ; in host_read_f2i()
564 if (readcount < bufferlen) in host_read_f2i()
566 len -= readcount ; in host_read_f2i()
575 int bufferlen, readcount ; in host_read_f() local
586 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f()
588 endswap_int_copy ((int*) (ptr + total), ubuf.ibuf, readcount) ; in host_read_f()
590 total += readcount ; in host_read_f()
591 if (readcount < bufferlen) in host_read_f()
593 len -= readcount ; in host_read_f()
602 int bufferlen, readcount ; in host_read_f2d() local
610 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in host_read_f2d()
616 f2d_array (ubuf.fbuf, readcount, ptr + total) ; in host_read_f2d()
617 total += readcount ; in host_read_f2d()
618 if (readcount < bufferlen) in host_read_f2d()
620 len -= readcount ; in host_read_f2d()
755 int bufferlen, readcount ; in replace_read_f2s() local
765 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f2s()
772 f2s_array (ubuf.fbuf, readcount, ptr + total, scale) ; in replace_read_f2s()
773 total += readcount ; in replace_read_f2s()
774 if (readcount < bufferlen) in replace_read_f2s()
776 len -= readcount ; in replace_read_f2s()
785 int bufferlen, readcount ; in replace_read_f2i() local
795 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f2i()
802 f2i_array (ubuf.fbuf, readcount, ptr + total, scale) ; in replace_read_f2i()
803 total += readcount ; in replace_read_f2i()
804 if (readcount < bufferlen) in replace_read_f2i()
806 len -= readcount ; in replace_read_f2i()
815 int bufferlen, readcount ; in replace_read_f() local
825 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f()
834 total += readcount ; in replace_read_f()
835 if (readcount < bufferlen) in replace_read_f()
837 len -= readcount ; in replace_read_f()
846 int bufferlen, readcount ; in replace_read_f2d() local
854 readcount = psf_fread (ubuf.fbuf, sizeof (float), bufferlen, psf) ; in replace_read_f2d()
861 f2d_array (ubuf.fbuf, readcount, ptr + total) ; in replace_read_f2d()
862 total += readcount ; in replace_read_f2d()
863 if (readcount < bufferlen) in replace_read_f2d()
865 len -= readcount ; in replace_read_f2d()