/bionic/tests/ |
D | sys_sendfile_test.cpp | 42 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST() 61 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); in TEST()
|
D | sys_mman_test.cpp | 88 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()
|
D | sys_signalfd_test.cpp | 47 ASSERT_EQ(static_cast<ssize_t>(sizeof(sfd_si)), read(fd, &sfd_si, sizeof(sfd_si))); in TestSignalFd()
|
D | clang_fortify_tests.cpp | 544 EXPECT_FORTIFY_DEATH(read(kBogusFD, small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST() 590 EXPECT_NO_DEATH(read(kBogusFD, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST() 610 EXPECT_FORTIFY_DEATH(read(kBogusFD, unknown, count)); in FORTIFY_TEST()
|
D | sys_select_test.cpp | 71 ASSERT_EQ(static_cast<ssize_t>(sizeof(DELAY_MSG)), read(fd, buf, sizeof(DELAY_MSG))); in DelayedWriteCleanup()
|
D | sys_ptrace_test.cpp | 408 TEMP_FAILURE_RETRY(read(worker_pipe_read.get(), &buf, sizeof(buf))); in PtraceResumptionTest() 414 TEMP_FAILURE_RETRY(read(worker_pipe_setup_read.get(), &buf, sizeof(buf))); in PtraceResumptionTest()
|
D | utils.h | 254 while ((bytes_read = TEMP_FAILURE_RETRY(read(fds[0], buf, sizeof(buf)))) > 0) { in Run()
|
/bionic/libc/include/bits/fortify/ |
D | unistd.h | 151 ssize_t read(int fd, void* const __pass_object_size0 buf, size_t count) in read() function 153 __error_if_overflows_ssizet(count, read) in read() 154 __error_if_overflows_objectsize(count, __bos0(buf), read) { in read() 162 return __call_bypassing_fortify(read)(fd, buf, count); in read()
|
/bionic/libc/tools/ |
D | generate-NOTICE.py | 124 content = open(path, "r").read().decode("utf-8") 127 content = open(path, "r").read().decode("iso-8859-1")
|
D | check-symbols-glibc.py | 45 ignored_symbols |= set(open(f, 'r').read().splitlines())
|
D | symbols.py | 25 for line in f.read().splitlines():
|
/bionic/libc/bionic/ |
D | eventfd.cpp | 41 return (read(fd, value, sizeof(*value)) == sizeof(*value)) ? 0 : -1; in eventfd_read()
|
D | getentropy.cpp | 42 ssize_t count = TEMP_FAILURE_RETRY(read(fd.get(), static_cast<char*>(buffer) + collected, in getentropy_urandom()
|
D | pthread_setname_np.cpp | 68 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size)); in pthread_getname_np()
|
D | malloc_heapprofd.cpp | 167 ssize_t rd = read(fd, cmdline, sizeof(cmdline) - 1); in GetHeapprofdProgramProperty()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 123 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); in __bionic_open_tzdata_path() 162 if (TEMP_FAILURE_RETRY(read(fd, index, index_size)) != static_cast<ssize_t>(index_size)) { in __bionic_open_tzdata_path()
|
/bionic/benchmarks/ |
D | get_heap_size_benchmark.cpp | 86 ssize_t nread = read(statm_fd, buf, BUF_SIZE); in BM_read_statm()
|
/bionic/tools/versioner/ |
D | run_tests.py | 29 expected_output = f.read()
|
/bionic/libc/kernel/tools/ |
D | utils.py | 101 olddata = f.read()
|
/bionic/benchmarks/linker_relocation/gen/ |
D | liblinker_reloc_bench_089.S | 180 CALL(read)
|
D | liblinker_reloc_bench_023.S | 222 CALL(read)
|
/bionic/benchmarks/tests/ |
D | interface_test.cpp | 127 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer, sizeof(buffer) - 1)); in RunTest()
|
/bionic/docs/ |
D | libc_assembler.md | 133 * Verify the routine does not read past the end of the buffers. Many 135 read past the end. This kind of bug results in an infrequent and difficult to
|
/bionic/libc/include/ |
D | unistd.h | 238 ssize_t read(int __fd, void* __buf, size_t __count);
|
/bionic/libc/dns/resolv/ |
D | res_send.c | 878 while ((n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0) { in send_vc() 924 while (len != 0 && (n = read(statp->_vcsock, (char *)cp, (size_t)len)) > 0){ in send_vc() 944 n = read(statp->_vcsock, junk, in send_vc()
|