Lines Matching refs:total
57 size_t total = desired_total; in fread() local
62 if (total == 0) { in fread()
82 while (total > 0) { in fread()
86 size_t buffered_bytes = MIN((size_t) fp->_r, total); in fread()
91 total -= buffered_bytes; in fread()
96 if (total == 0) { in fread()
104 if (total > (size_t) fp->_bf._size) { in fread()
126 while (total > 0) { in fread()
127 ssize_t bytes_read = (*fp->_read)(fp->_cookie, dst, total); in fread()
133 total -= bytes_read; in fread()
138 return ((desired_total - total) / size); in fread()