/bionic/libc/bionic/ |
H A D | eventfd_read.cpp | 33 return (read(fd, value, sizeof(*value)) == sizeof(*value)) ? 0 : -1;
|
H A D | getentropy.cpp | 40 ssize_t count = TEMP_FAILURE_RETRY(read(fd, static_cast<char*>(buffer) + collected,
|
H A D | pthread_setname_np.cpp | 65 ssize_t n = TEMP_FAILURE_RETRY(read(fd, buf, buf_size));
|
/bionic/libc/arch-arm/syscalls/ |
H A D | read.S | 5 ENTRY(read) function 16 END(read)
|
/bionic/libc/arch-arm64/syscalls/ |
H A D | read.S | 5 ENTRY(read) function 14 END(read)
|
/bionic/libc/arch-mips/syscalls/ |
H A D | read.S | 5 ENTRY(read) function 19 END(read)
|
/bionic/libc/arch-x86_64/syscalls/ |
H A D | read.S | 5 ENTRY(read) function 15 END(read)
|
/bionic/libc/arch-mips64/syscalls/ |
H A D | read.S | 5 ENTRY(read) function 25 END(read)
|
/bionic/libc/arch-x86/syscalls/ |
H A D | read.S | 5 ENTRY(read) function 39 END(read)
|
/bionic/tests/ |
H A D | sys_sendfile_test.cpp | 41 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2))); 60 ASSERT_EQ(2, TEMP_FAILURE_RETRY(read(dst_file.fd, &buf, 2)));
|
H A D | sys_signalfd_test.cpp | 47 ASSERT_EQ(static_cast<ssize_t>(sizeof(sfd_si)), read(fd, &sfd_si, sizeof(sfd_si)));
|
H A D | sys_mman_test.cpp | 88 ASSERT_EQ(STR_SSIZE(STRING_MSG), read(tf.fd, buf, sizeof(STRING_MSG))); 166 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); 169 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize)); 172 ASSERT_EQ(static_cast<ssize_t>(pagesize), read(tf.fd, buf, pagesize));
|
H A D | fortify_filecheck_diagnostics_test.cpp | 236 // GCC: error: call to '__read_dest_size_error' declared with attribute error: read called with size bigger than destination 237 // CLANG: error: in call to 'read', 'count' bytes overflows the given object 238 read(0, buf, 6);
|
H A D | sys_select_test.cpp | 71 ASSERT_EQ(static_cast<ssize_t>(sizeof(DELAY_MSG)), read(fd, buf, sizeof(DELAY_MSG))); 96 // If there is data to be read on STDIN, then the number of 150 // If there is data to be read on STDIN, then the number of
|
/bionic/libc/include/bits/fortify/ |
H A D | unistd.h | 147 ssize_t read(int fd, void* const __pass_object_size0 buf, size_t count) 149 __error_if_overflows_ssizet(count, read) 150 __error_if_overflows_objectsize(count, __bos0(buf), read) { 154 return __call_bypassing_fortify(read)(fd, buf, count); 213 ssize_t __read_real(int, void*, size_t) __RENAME(read); variable 227 __errordecl(__read_dest_size_error, "read called with size bigger than destination"); 228 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 355 ssize_t read(int fd, void* buf, size_t count) { function
|
/bionic/tools/versioner/current/bits/fortify/ |
H A D | unistd.h | 147 ssize_t read(int fd, void* const __pass_object_size0 buf, size_t count) 149 __error_if_overflows_ssizet(count, read) 150 __error_if_overflows_objectsize(count, __bos0(buf), read) { 154 return __call_bypassing_fortify(read)(fd, buf, count); 213 ssize_t __read_real(int, void*, size_t) __RENAME(read); variable 227 __errordecl(__read_dest_size_error, "read called with size bigger than destination"); 228 __errordecl(__read_count_toobig_error, "read called with count > SSIZE_MAX"); 355 ssize_t read(int fd, void* buf, size_t count) { function
|
/bionic/libc/tools/ |
H A D | generate-NOTICE.py | 123 content = open(path, "r").read().decode("utf-8") 126 content = open(path, "r").read().decode("iso-8859-1")
|
H A D | check-symbols-glibc.py | 45 ignored_symbols |= set(open(f, 'r').read().splitlines())
|
H A D | symbols.py | 25 for line in f.read().splitlines():
|
H A D | genseccomp.py | 242 existing = open(output_path).read()
|
/bionic/libc/tzcode/ |
H A D | bionic.cpp | 117 ssize_t bytes_read = TEMP_FAILURE_RETRY(read(fd, &header, sizeof(header))); 119 fprintf(stderr, "%s: could not read header of \"%s\": %s\n", 120 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read"); 157 if (TEMP_FAILURE_RETRY(read(fd, index, index_size)) != static_cast<ssize_t>(index_size)) { 158 fprintf(stderr, "%s: could not read index of \"%s\": %s\n", 159 __FUNCTION__, path, (bytes_read == -1) ? strerror(errno) : "short read");
|
/bionic/tools/versioner/ |
H A D | run_tests.py | 29 expected_output = f.read()
|
/bionic/tools/relocation_packer/src/ |
H A D | main.cc | 109 if (TEMP_FAILURE_RETRY(read(fd.get(), e_ident, EI_NIDENT)) != EI_NIDENT) { 110 LOG(ERROR) << file << ": failed to read elf header:" << strerror(errno);
|
/bionic/libc/kernel/tools/ |
H A D | utils.py | 101 olddata = f.read()
|
/bionic/benchmarks/tests/ |
H A D | interface_test.cpp | 118 ssize_t bytes = TEMP_FAILURE_RETRY(read(fd_, buffer, sizeof(buffer) - 1));
|