/bionic/libc/tools/ |
H A D | gensyscalls.py | 560 # and write out equivalent SYS_* constants for glibc source compatibility. 565 glibc_fp.write("/* %s */\n" % warning) 566 glibc_fp.write("#ifndef _BIONIC_BITS_GLIBC_SYSCALLS_H_\n") 567 glibc_fp.write("#define _BIONIC_BITS_GLIBC_SYSCALLS_H_\n") 593 glibc_fp.write("#if defined(%s)\n" % nr_name) 594 glibc_fp.write(" #define SYS_%s %s\n" % (syscall, nr_name)) 595 glibc_fp.write("#endif\n") 597 glibc_fp.write("#endif /* _BIONIC_BITS_GLIBC_SYSCALLS_H_ */\n") 610 fp.write(syscall["asm-%s" % arch])
|
H A D | genversion-scripts.py | 55 fout.write("# %s\n" % warning) 62 fout.write(line)
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | vdprintf.c | 47 return (write(*fdp, buf, n));
|
/bionic/linker/ |
H A D | linker_debug.h | 70 if (g_ld_debug_verbosity > (v)) { async_safe_format_fd(1, x); write(1, "\n", 1); } \
|
H A D | linker_phdr.cpp | 877 ssize_t written = TEMP_FAILURE_RETRY(write(fd, reinterpret_cast<void*>(seg_page_start), size));
|
/bionic/tests/ |
H A D | fortify_filecheck_diagnostics_test.cpp | 353 // GCC: error: call to '__write_dest_size_error' declared with attribute error: write called with size bigger than destination 354 // CLANG: error: in call to 'write', 'count' bytes overflows the given object 355 write(STDOUT_FILENO, buf, 5);
|
H A D | fortify_test.cpp | 648 ASSERT_EXIT(write(fd, buf, ct), testing::KilledBySignal(SIGABRT), "");
|
H A D | grp_pwd_file_test.cpp | 95 write(file.fd, test_string, sizeof(test_string) - 1); 115 write(file.fd, test_string, sizeof(test_string) - 1); 151 write(file.fd, test_string, sizeof(test_string) - 1); 187 write(file.fd, test_string, sizeof(test_string) - 1); 211 write(file.fd, test_string, sizeof(test_string) - 1); 233 write(file.fd, test_string, sizeof(test_string) - 1);
|
H A D | sys_epoll_test.cpp | 72 ASSERT_EQ(1, write(fds[1], "\n", 1));
|
H A D | sys_mman_test.cpp | 60 ASSERT_EQ(STR_SSIZE(STRING_MSG), write(tf.fd, STRING_MSG, sizeof(STRING_MSG))); 74 ASSERT_EQ(STR_SSIZE(INITIAL_MSG), write(tf.fd, INITIAL_MSG, sizeof(INITIAL_MSG))); 103 ASSERT_EQ(STR_SSIZE(PAGE0_MSG), write(tf.fd, PAGE0_MSG, sizeof(PAGE0_MSG))); 105 ASSERT_EQ(STR_SSIZE(PAGE1_MSG), write(tf.fd, PAGE1_MSG, sizeof(PAGE1_MSG))); 107 ASSERT_EQ(STR_SSIZE(PAGE2_MSG), write(tf.fd, PAGE2_MSG, sizeof(PAGE2_MSG))); 109 ASSERT_EQ(STR_SSIZE(END_MSG), write(tf.fd, END_MSG, sizeof(END_MSG))); 139 ASSERT_EQ(STR_SSIZE(PAGE0_MSG), write(tf.fd, PAGE0_MSG, sizeof(PAGE0_MSG))); 141 ASSERT_EQ(STR_SSIZE(PAGE1_MSG), write(tf.fd, PAGE1_MSG, sizeof(PAGE1_MSG))); 143 ASSERT_EQ(STR_SSIZE(PAGE2_MSG), write(tf.fd, PAGE2_MSG, sizeof(PAGE2_MSG))); 145 ASSERT_EQ(STR_SSIZE(END_MSG), write(t [all...] |
H A D | sys_select_test.cpp | 59 EXPECT_EQ(5, write(fds[1], DELAY_MSG, sizeof(DELAY_MSG)));
|
H A D | sys_sendfile_test.cpp | 28 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); 47 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5)));
|
/bionic/tests/headers/posix/ |
H A D | unistd_h.c | 375 FUNCTION(write, ssize_t (*f)(int, const void*, size_t));
|
/bionic/tests/libs/ |
H A D | preinit_syscall_test_helper.cpp | 29 g_result = write(-1, "", 1);
|
/bionic/libc/arch-arm/syscalls/ |
H A D | write.S | 5 ENTRY(write) function 16 END(write)
|
/bionic/libc/arch-arm64/syscalls/ |
H A D | write.S | 5 ENTRY(write) function 14 END(write)
|
/bionic/libc/arch-mips/syscalls/ |
H A D | write.S | 5 ENTRY(write) function 19 END(write)
|
/bionic/libc/arch-mips64/syscalls/ |
H A D | write.S | 5 ENTRY(write) function 25 END(write)
|
/bionic/libc/arch-x86/syscalls/ |
H A D | write.S | 5 ENTRY(write) function 39 END(write)
|
/bionic/libc/arch-x86_64/syscalls/ |
H A D | write.S | 5 ENTRY(write) function 15 END(write)
|
/bionic/libc/async_safe/ |
H A D | async_safe_log.cpp | 107 ssize_t bytes = TEMP_FAILURE_RETRY(write(fd_, data, len));
|
/bionic/libc/bionic/ |
H A D | bionic_systrace.cpp | 64 // If bionic tracing has been enabled, then write the message to the 71 // So the write is acceptable to fail. See b/20666100. 72 TEMP_FAILURE_RETRY(write(trace_marker_fd, buf, len)); 85 TEMP_FAILURE_RETRY(write(trace_marker_fd, "E", 1));
|
H A D | eventfd_write.cpp | 33 return (write(fd, &value, sizeof(value)) == sizeof(value)) ? 0 : -1;
|
H A D | fortify.cpp | 100 __check_buffer_access("fgets", "write into", supplied_size, dst_len_from_compiler); 110 __check_buffer_access("fread", "write into", total, buf_size); 125 __check_buffer_access("getcwd", "write into", len, actual_size); 136 __check_buffer_access("memmove", "write into", len, dst_len); 144 __check_buffer_access("memcpy", "write into", count, dst_len); 157 __check_buffer_access("memset", "write into", count, dst_len); 174 __check_buffer_access("pread64", "write into", count, buf_size); 180 __check_buffer_access("pread", "write into", count, buf_size); 200 __check_buffer_access("read", "write into", count, buf_size); 206 __check_buffer_access("readlinkat", "write int [all...] |
H A D | pthread_internal.cpp | 45 template <bool write> class ScopedRWLock { 48 (write ? pthread_rwlock_wrlock : pthread_rwlock_rdlock)(rwlock_);
|