Searched refs:O_WRONLY (Results 1 – 12 of 12) sorted by relevance
/bionic/tests/ |
D | fdtrack_test.cpp | 84 static int fd = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 104 fd1 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 106 fd2 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 108 fd3 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 180 FDTRACK_TEST(open, open("/dev/null", O_WRONLY | O_CLOEXEC)); 181 FDTRACK_TEST(openat, openat(AT_EMPTY_PATH, "/dev/null", O_WRONLY | O_CLOEXEC));
|
D | stdlib_test.cpp | 392 O_CREAT | O_TRUNC | O_WRONLY, 0644)); in TEST() 702 int fd = open("/dev/null", O_WRONLY); in TEST() 731 int fd = open("/dev/null", O_WRONLY); in TEST()
|
D | fortify_test.cpp | 621 int fd = open("/dev/null", O_WRONLY); in TEST_F() 629 int fd = open("/dev/null", O_WRONLY); in TEST_F() 645 int fd = open("/dev/null", O_WRONLY); in TEST_F()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 60 m = O_WRONLY; in __sflags() 66 m = O_WRONLY; in __sflags()
|
/bionic/libc/bionic/ |
D | bionic_systrace.cpp | 49 g_trace_marker_fd = open("/sys/kernel/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd() 51 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
|
D | open.cpp | 52 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
|
D | pthread_setname_np.cpp | 98 int fd = __open_task_comm_fd(t, O_WRONLY, "pthread_setname_np"); in pthread_setname_np()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 26 #define O_WRONLY 00000001 macro
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 83 MACRO(O_WRONLY); in fcntl_h()
|
/bionic/libc/stdio/ |
D | fmemopen.cpp | 133 (flags & O_WRONLY) ? nullptr : fmemopen_read, in fmemopen()
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 138 open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 0755); in Dump()
|
/bionic/docs/ |
D | fdsan.md | 20 int fd = open("log", O_WRONLY | O_APPEND); 32 open("log", O_WRONLY | APPEND) = 123
|