Home
last modified time | relevance | path

Searched refs:to_read (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/support/
Dsupport_copy_file_range.c74 size_t to_read = length; in support_copy_file_range() local
75 if (to_read > sizeof (buf)) in support_copy_file_range()
76 to_read = sizeof (buf); in support_copy_file_range()
81 read_count = read (infd, buf, to_read); in support_copy_file_range()
83 read_count = pread64 (infd, buf, to_read, *pinoff); in support_copy_file_range()
/glibc-2.36/mach/
Ddevstream.c84 devstream_read (void *cookie, char *buffer, size_t to_read) in devstream_read() argument
89 mach_msg_type_number_t nread = to_read; in devstream_read()
91 err = device_read_inband (dev, 0, 0, to_read, buffer, &nread); in devstream_read()
/glibc-2.36/locale/
Dloadlocale.c302 off_t to_read = st.st_size; in _nl_load_locale() local
305 while (to_read > 0) in _nl_load_locale()
307 nread = __read_nocancel (fd, p, to_read); in _nl_load_locale()
316 to_read -= nread; in _nl_load_locale()
/glibc-2.36/intl/
Dloadmsgcat.c837 size_t to_read; in _nl_load_domain() local
844 to_read = size; in _nl_load_domain()
848 long int nb = (long int) read (fd, read_ptr, to_read); in _nl_load_domain()
858 to_read -= nb; in _nl_load_domain()
860 while (to_read > 0); in _nl_load_domain()