Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 12 of 12) sorted by relevance

/bionic/tests/
Dfdtrack_test.cpp84 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));
Dstdlib_test.cpp392 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()
Dfortify_test.cpp621 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/
Dflags.c60 m = O_WRONLY; in __sflags()
66 m = O_WRONLY; in __sflags()
/bionic/libc/bionic/
Dbionic_systrace.cpp49 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()
Dopen.cpp52 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
Dpthread_setname_np.cpp98 int fd = __open_task_comm_fd(t, O_WRONLY, "pthread_setname_np"); in pthread_setname_np()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h26 #define O_WRONLY 00000001 macro
/bionic/tests/headers/posix/
Dfcntl_h.c83 MACRO(O_WRONLY); in fcntl_h()
/bionic/libc/stdio/
Dfmemopen.cpp133 (flags & O_WRONLY) ? nullptr : fmemopen_read, in fmemopen()
/bionic/libc/malloc_debug/
DRecordData.cpp138 open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, 0755); in Dump()
/bionic/docs/
Dfdsan.md20 int fd = open("log", O_WRONLY | O_APPEND);
32 open("log", O_WRONLY | APPEND) = 123