Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 40) sorted by relevance

12

/bionic/libc/arch-arm64/syscalls/
Dread.S5 ENTRY(read)
14 END(read)
/bionic/libc/arch-x86_64/syscalls/
Dread.S5 ENTRY(read)
15 END(read)
/bionic/libc/arch-mips/syscalls/
Dread.S5 ENTRY(read)
19 END(read)
/bionic/libc/arch-arm/syscalls/
Dread.S5 ENTRY(read)
16 END(read)
/bionic/libc/arch-mips64/syscalls/
Dread.S5 ENTRY(read)
25 END(read)
/bionic/libc/arch-x86/syscalls/
Dread.S5 ENTRY(read)
39 END(read)
/bionic/libc/bionic/
Deventfd_read.cpp33 return (read(fd, value, sizeof(*value)) == sizeof(*value)) ? 0 : -1; in eventfd_read()
D__read_chk.cpp42 return read(fd, buf, count); in __read_chk()
Dgetentropy_linux.c265 ssize_t ret = read(fd, (char *)buf + i, wanted); in getentropy_urandom()
/bionic/tests/
Dsys_sendfile_test.cpp41 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST()
60 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST()
Dsys_mman_test.cpp88 ASSERT_EQ(STR_SSIZE(STRING_MSG), read(tf.fd, buf, sizeof(STRING_MSG))); in TEST()
166 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
169 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
172 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); in TEST()
Dfortify_compilation_test.cpp203 read(0, buf, 6); in test_read()
Dsys_select_test.cpp71 ASSERT_EQ(static_cast<ssize_t>(sizeof(DELAY_MSG)), read(fd, buf, sizeof(DELAY_MSG))); in DelayedWriteCleanup()
Dunistd_test.cpp215 TEST(UNISTD_TEST, read) { in TEST() argument
220 ASSERT_EQ(5, read(fd, buf, 5)); in TEST()
233 ASSERT_EQ(-1, read(-1, buf, sizeof(buf))); in TEST()
Ddlext_test.cpp585 read(parent_done_pipe[0], &read_buf, 1); in SpawnChildrenAndMeasurePss()
596 read(child_done_pipe[0], &read_buf, 1); in SpawnChildrenAndMeasurePss()
/bionic/libc/tools/
Dgenerate-NOTICE.py122 content = open(path, 'r').read().decode('utf-8')
125 content = open(path, 'r').read().decode('iso-8859-1')
Dcheck-symbols-glibc.py45 ignored_symbols |= set(open(f, 'r').read().splitlines())
Dsymbols.py25 for line in f.read().splitlines():
/bionic/tools/relocation_packer/src/
Dmain.cc109 if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT) != EI_NIDENT)) { in main()
/bionic/libc/kernel/tools/
Dutils.py95 olddata = f.read()
/bionic/libc/include/
Dunistd.h158 extern ssize_t read(int __fd, void* __buf, size_t __count);
278 extern ssize_t __read_real(int, void*, size_t) __RENAME(read);
441 ssize_t read(int fd, void* buf, size_t count) { in read() function
/bionic/linker/
Ddebugger.cpp245 ret = TEMP_FAILURE_RETRY(read(s, &debuggerd_ack, 1)); in send_debuggerd_packet()
/bionic/libc/dns/resolv/
Dres_send.c875 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) { in send_vc()
921 while (len != 0 && (n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0){ in send_vc()
941 n = read(statp->_vcsock, junk, in send_vc()
/bionic/libc/tzcode/
Dlocaltime.c428 nread = read(fid, up->buf, entry_length); in tzloadbody()
430 nread = read(fid, up->buf, sizeof up->buf); in tzloadbody()
2363 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); in __bionic_open_tzdata_path()
2405 if (TEMP_FAILURE_RETRY(read(fd, index, index_size)) != index_size) { in __bionic_open_tzdata_path()
/bionic/libc/stdio/
Dstdio.cpp397 return TEMP_FAILURE_RETRY(read(fp->_file, buf, n)); in __sread()

12