Home
last modified time | relevance | path

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

/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c60 m = O_WRONLY; in __sflags()
66 m = O_WRONLY; in __sflags()
Dfmemopen.c147 st->len = (oflags & O_WRONLY) ? 0 : size; in fmemopen()
/bionic/libc/bionic/
Dpthread_setname_np.cpp94 int fd = __open_task_comm_fd(t, O_WRONLY); in pthread_setname_np()
Dopen.cpp47 return open(pathname, O_CREAT | O_TRUNC | O_WRONLY, mode); in creat()
Dbionic_systrace.cpp80 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h25 #define O_WRONLY 00000001 macro
/bionic/libc/malloc_debug/
DRecordData.cpp144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()
/bionic/tests/
Dstdlib_test.cpp489 int fd = open("/dev/null", O_WRONLY); in TEST()
518 int fd = open("/dev/null", O_WRONLY); in TEST()
Dfortify_test.cpp671 int fd = open("/dev/null", O_WRONLY); in TEST_F()
679 int fd = open("/dev/null", O_WRONLY); in TEST_F()
695 int fd = open("/dev/null", O_WRONLY); in TEST_F()