/bionic/benchmarks/linker_relocation/regen/ |
D | gen_bench.py | 186 out.write(f'// AUTO-GENERATED BY {os.path.basename(__file__)} -- do not edit manually\n') 187 out.write(f'#include "{g_benchmark_name}_asm.h"\n') 188 out.write('.data\n') 189 out.write('.p2align 4\n') 192 out.write('.text\n' 'MAIN\n') 200 out.write('.text\n' 206 out.write('.data\n' 213 out.write('.text\n') 217 if r.is_weak: out.write(f'.weak {sym}\n') 218 out.write(f'CALL({sym})\n') [all …]
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 233 write(0, ptr, 0); in TEST_F() 252 write(0, ptr, 0); in TEST_F() 271 write(0, ptr, 0); in TEST_F() 289 write(0, ptr, 0); in TEST_F() 308 write(0, ptr, 0); in TEST_F() 325 write(0, ptr, 0); in TEST_F() 345 write(0, ptr, 0); in TEST_F() 366 write(0, ptr, 0); in TEST_F() 389 write(0, ptr, 0); in TEST_F() 409 write(0, ptr, 0); in TEST_F()
|
/bionic/libc/kernel/tools/ |
D | clean_header.py | 79 sys.stderr.write("warning: " + msg) 119 out.write(textwrap.dedent("""\ 127 blocks.write(out) 156 sys.stderr.write("error: unrecognized option\n") 194 sys.stdout.write(new_data)
|
D | utils.py | 10 sys.stderr.write(os.path.basename(sys.argv[0]) + ": error: ") 11 sys.stderr.write(msg) 47 def write(self,msg): member in StringOutput 134 f.write(self.new_data[dst])
|
/bionic/tests/ |
D | sys_mman_test.cpp | 64 ASSERT_EQ(STR_SSIZE(STRING_MSG), write(tf.fd, STRING_MSG, sizeof(STRING_MSG))); in TEST() 78 ASSERT_EQ(STR_SSIZE(INITIAL_MSG), write(tf.fd, INITIAL_MSG, sizeof(INITIAL_MSG))); in TEST() 107 ASSERT_EQ(STR_SSIZE(PAGE0_MSG), write(tf.fd, PAGE0_MSG, sizeof(PAGE0_MSG))); in TEST() 109 ASSERT_EQ(STR_SSIZE(PAGE1_MSG), write(tf.fd, PAGE1_MSG, sizeof(PAGE1_MSG))); in TEST() 111 ASSERT_EQ(STR_SSIZE(PAGE2_MSG), write(tf.fd, PAGE2_MSG, sizeof(PAGE2_MSG))); in TEST() 113 ASSERT_EQ(STR_SSIZE(END_MSG), write(tf.fd, END_MSG, sizeof(END_MSG))); in TEST() 143 ASSERT_EQ(STR_SSIZE(PAGE0_MSG), write(tf.fd, PAGE0_MSG, sizeof(PAGE0_MSG))); in TEST() 145 ASSERT_EQ(STR_SSIZE(PAGE1_MSG), write(tf.fd, PAGE1_MSG, sizeof(PAGE1_MSG))); in TEST() 147 ASSERT_EQ(STR_SSIZE(PAGE2_MSG), write(tf.fd, PAGE2_MSG, sizeof(PAGE2_MSG))); in TEST() 149 ASSERT_EQ(STR_SSIZE(END_MSG), write(tf.fd, END_MSG, sizeof(END_MSG))); in TEST() [all …]
|
D | grp_pwd_file_test.cpp | 95 write(file.fd, test_string, sizeof(test_string) - 1); in TEST() 115 write(file.fd, test_string, sizeof(test_string) - 1); in TEST() 151 write(file.fd, test_string, sizeof(test_string) - 1); in TEST() 187 write(file.fd, test_string, sizeof(test_string) - 1); in TEST() 211 write(file.fd, test_string, sizeof(test_string) - 1); in TEST() 233 write(file.fd, test_string, sizeof(test_string) - 1); in TEST()
|
D | sys_sendfile_test.cpp | 29 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); in TEST() 48 ASSERT_EQ(5, TEMP_FAILURE_RETRY(write(src_file.fd, "hello", 5))); in TEST()
|
D | pidfd_test.cpp | 75 ASSERT_EQ(3, write(w.get(), "foo", 3)); in TEST()
|
D | clang_fortify_tests.cpp | 536 EXPECT_FORTIFY_DEATH(write(kBogusFD, small_buffer, sizeof(small_buffer) + 1)); in FORTIFY_TEST() 570 EXPECT_NO_DEATH(write(kBogusFD, split.tiny_buffer, sizeof(split))); in FORTIFY_TEST() 593 EXPECT_FORTIFY_DEATH(write(kBogusFD, unknown, count)); in FORTIFY_TEST()
|
/bionic/libc/private/ |
D | ScopedRWLock.h | 35 template <bool write> class ScopedRWLock { 38 (write ? pthread_rwlock_wrlock : pthread_rwlock_rdlock)(rwlock_); in ScopedRWLock()
|
D | MallocXmlElem.h | 34 write(fd_, " ", 1); in fd_() 38 write(fd_, ">", 1); in fd_()
|
/bionic/libc/bionic/ |
D | bionic_systrace.cpp | 78 TEMP_FAILURE_RETRY(write(trace_marker_fd, buf, len)); in trace_begin_internal() 120 TEMP_FAILURE_RETRY(write(trace_marker_fd, const_cast<const char*>(buf), 2)); in trace_end_internal()
|
D | eventfd.cpp | 45 return (write(fd, &value, sizeof(value)) == sizeof(value)) ? 0 : -1; in eventfd_write()
|
D | pthread_setname_np.cpp | 101 ssize_t n = TEMP_FAILURE_RETRY(write(fd, thread_name, thread_name_len)); in pthread_setname_np()
|
/bionic/tests/libs/ |
D | preinit_syscall_test_helper.cpp | 29 g_result = write(-1, "", 1); in preinit_ctor()
|
/bionic/libc/include/bits/fortify/ |
D | unistd.h | 166 ssize_t write(int fd, const void* const __BIONIC_COMPLICATED_NULLNESS __pass_object_size0 buf, size… in write() function 168 __error_if_overflows_ssizet(count, write) in write() 169 __error_if_overflows_objectsize(count, __bos0(buf), write) { in write() 177 return __call_bypassing_fortify(write)(fd, buf, count); in write()
|
/bionic/linker/ |
D | linker_debug.cpp | 38 write(STDOUT_FILENO, "\n", 1); in linker_log_va_list()
|
/bionic/libc/upstream-openbsd/ |
D | README.md | 5 TODO: write a script to make this process automated.
|
/bionic/libc/upstream-netbsd/ |
D | README.md | 5 TODO: write a script to make this process automated.
|
/bionic/libc/upstream-freebsd/ |
D | README.md | 5 TODO: write a script to make this process automated.
|
/bionic/tools/ |
D | generate-version-script.py | 25 fout.write(line)
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | vdprintf.c | 47 return (write(*fdp, buf, n)); in __dwrite()
|
/bionic/docs/ |
D | fdsan.md | 25 if (write(fd, "foo", 3) != 3) { 26 err(1, "write failed!"); 38 write(123, "foo", 3) = -1 (EBADF) 39 err(1, "write failed!") 91 ssize_t rc = write(fd, "good\n", 5); 93 err(1, "good failed to write?!"); 133 write(3, "good\n") = ; 138 fdsan_test: good failed to write?!: Bad file descriptor 152 ssize_t rc = write(fd, "good\n", 5); 154 err(1, "good failed to write?!");
|
/bionic/libc/async_safe/ |
D | README.md | 7 beneficial to have this lock-free and therefore async_safe mechanism to write to logd, connecting
|
/bionic/libc/tools/ |
D | genfunctosyscallnrs.py | 28 out_file.write("#define __" + arch + "_" + func + " " +
|