Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 – 14 of 14) sorted by relevance

/bionic/libc/bionic/
Ddaemon.c41 int fd = open("/dev/null", O_RDWR); in daemon()
Dpty.cpp38 return posix_openpt(O_RDWR|O_NOCTTY); in getpt()
Dsystem_properties.cpp179 O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
Dmalloc_debug_qemu.cpp609 int fd = open("/dev/qemu_trace", O_RDWR); in malloc_debug_initialize()
/bionic/libc/upstream-freebsd/lib/libc/stdio/
Dflags.c89 m = O_RDWR; in __sflags()
/bionic/tests/
DTemporaryFile.h45 fd = open(filename, O_RDWR); in reopen()
Ddlext_test.cpp262 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in CreateRelroFile()
318 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in TEST_F()
Dstdlib_test.cpp284 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
Dunistd_test.cpp368 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR)); in TestFsyncFunction()
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dfdopen.c61 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
Dmktemp.c88 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR); in mktemp_internal()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h26 #define O_RDWR 00000002 macro
/bionic/linker/
Dlinker.cpp1803 dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in nullify_closed_stdio()
/bionic/libc/upstream-dlmalloc/
Dmalloc.c1657 (dev_zero_fd = open("/dev/zero", O_RDWR), \