Lines Matching refs:count

432   size_t count;  in libc_hidden_ver()  local
448 count = _IO_SYSWRITE (fp, data, to_do); in libc_hidden_ver()
449 if (fp->_cur_column && count) in libc_hidden_ver()
450 fp->_cur_column = _IO_adjust_column (fp->_cur_column - 1, data, count) + 1; in libc_hidden_ver()
456 return count; in libc_hidden_ver()
462 ssize_t count; in _IO_new_file_underflow() local
516 count = _IO_SYSREAD (fp, fp->_IO_buf_base, in _IO_new_file_underflow()
518 if (count <= 0) in _IO_new_file_underflow()
520 if (count == 0) in _IO_new_file_underflow()
523 fp->_flags |= _IO_ERR_SEEN, count = 0; in _IO_new_file_underflow()
525 fp->_IO_read_end += count; in _IO_new_file_underflow()
526 if (count == 0) in _IO_new_file_underflow()
535 _IO_pos_adjust (fp->_offset, count); in _IO_new_file_underflow()
903 long count; in _IO_new_file_seekoff() local
1012 count = 0; in _IO_new_file_seekoff()
1015 count = _IO_SYSREAD (fp, fp->_IO_buf_base, in _IO_new_file_seekoff()
1018 if (count < delta) in _IO_new_file_seekoff()
1021 offset = count == EOF ? delta : delta-count; in _IO_new_file_seekoff()
1027 fp->_IO_buf_base + count); in _IO_new_file_seekoff()
1029 fp->_offset = result + count; in _IO_new_file_seekoff()
1177 ssize_t count = (__builtin_expect (f->_flags2 in libc_hidden_def() local
1181 if (count < 0) in libc_hidden_def()
1186 to_do -= count; in libc_hidden_def()
1187 data = (void *) ((char *) data + count); in libc_hidden_def()
1201 size_t count = 0; in _IO_new_file_xsputn() local
1212 count = f->_IO_buf_end - f->_IO_write_ptr; in _IO_new_file_xsputn()
1213 if (count >= n) in _IO_new_file_xsputn()
1220 count = p - s + 1; in _IO_new_file_xsputn()
1228 count = f->_IO_write_end - f->_IO_write_ptr; /* Space available. */ in _IO_new_file_xsputn()
1231 if (count > 0) in _IO_new_file_xsputn()
1233 if (count > to_do) in _IO_new_file_xsputn()
1234 count = to_do; in _IO_new_file_xsputn()
1235 f->_IO_write_ptr = __mempcpy (f->_IO_write_ptr, s, count); in _IO_new_file_xsputn()
1236 s += count; in _IO_new_file_xsputn()
1237 to_do -= count; in _IO_new_file_xsputn()
1254 count = new_do_write (f, s, do_write); in _IO_new_file_xsputn()
1255 to_do -= count; in _IO_new_file_xsputn()
1256 if (count < do_write) in _IO_new_file_xsputn()
1274 ssize_t count; in libc_hidden_ver() local
1333 count = want; in libc_hidden_ver()
1338 count -= want % block_size; in libc_hidden_ver()
1341 count = _IO_SYSREAD (fp, s, count); in libc_hidden_ver()
1342 if (count <= 0) in libc_hidden_ver()
1344 if (count == 0) in libc_hidden_ver()
1352 s += count; in libc_hidden_ver()
1353 want -= count; in libc_hidden_ver()
1355 _IO_pos_adjust (fp->_offset, count); in libc_hidden_ver()