Searched refs:write (Results 1 - 25 of 47) sorted by last modified time

12

/bionic/libc/tools/
H A Dgensyscalls.py560 # 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 Dgenversion-scripts.py55 fout.write("# %s\n" % warning)
62 fout.write(line)
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dvdprintf.c47 return (write(*fdp, buf, n));
/bionic/linker/
H A Dlinker_debug.h70 if (g_ld_debug_verbosity > (v)) { async_safe_format_fd(1, x); write(1, "\n", 1); } \
H A Dlinker_phdr.cpp877 ssize_t written = TEMP_FAILURE_RETRY(write(fd, reinterpret_cast<void*>(seg_page_start), size));
/bionic/tests/
H A Dfortify_filecheck_diagnostics_test.cpp353 // 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 Dfortify_test.cpp648 ASSERT_EXIT(write(fd, buf, ct), testing::KilledBySignal(SIGABRT), "");
H A Dgrp_pwd_file_test.cpp95 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 Dsys_epoll_test.cpp72 ASSERT_EQ(1, write(fds[1], "\n", 1));
H A Dsys_mman_test.cpp60 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 Dsys_select_test.cpp59 EXPECT_EQ(5, write(fds[1], DELAY_MSG, sizeof(DELAY_MSG)));
H A Dsys_sendfile_test.cpp28 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 Dunistd_h.c375 FUNCTION(write, ssize_t (*f)(int, const void*, size_t));
/bionic/tests/libs/
H A Dpreinit_syscall_test_helper.cpp29 g_result = write(-1, "", 1);
/bionic/libc/arch-arm/syscalls/
H A Dwrite.S5 ENTRY(write) function
16 END(write)
/bionic/libc/arch-arm64/syscalls/
H A Dwrite.S5 ENTRY(write) function
14 END(write)
/bionic/libc/arch-mips/syscalls/
H A Dwrite.S5 ENTRY(write) function
19 END(write)
/bionic/libc/arch-mips64/syscalls/
H A Dwrite.S5 ENTRY(write) function
25 END(write)
/bionic/libc/arch-x86/syscalls/
H A Dwrite.S5 ENTRY(write) function
39 END(write)
/bionic/libc/arch-x86_64/syscalls/
H A Dwrite.S5 ENTRY(write) function
15 END(write)
/bionic/libc/async_safe/
H A Dasync_safe_log.cpp107 ssize_t bytes = TEMP_FAILURE_RETRY(write(fd_, data, len));
/bionic/libc/bionic/
H A Dbionic_systrace.cpp64 // 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 Deventfd_write.cpp33 return (write(fd, &value, sizeof(value)) == sizeof(value)) ? 0 : -1;
H A Dfortify.cpp100 __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 Dpthread_internal.cpp45 template <bool write> class ScopedRWLock {
48 (write ? pthread_rwlock_wrlock : pthread_rwlock_rdlock)(rwlock_);

Completed in 1073 milliseconds

12