Searched refs:O_RDWR (Results 1 – 14 of 14) sorted by relevance
/bionic/libc/bionic/ |
D | daemon.c | 41 int fd = open("/dev/null", O_RDWR); in daemon()
|
D | pty.cpp | 38 return posix_openpt(O_RDWR|O_NOCTTY); in getpt()
|
D | system_properties.cpp | 179 O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
|
D | malloc_debug_qemu.cpp | 609 int fd = open("/dev/qemu_trace", O_RDWR); in malloc_debug_initialize()
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
D | flags.c | 89 m = O_RDWR; in __sflags()
|
/bionic/tests/ |
D | TemporaryFile.h | 45 fd = open(filename, O_RDWR); in reopen()
|
D | dlext_test.cpp | 198 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in CreateRelroFile() 254 int relro_fd = open(relro_file_, O_CREAT | O_RDWR | O_TRUNC, 0644); in TEST_F()
|
D | stdlib_test.cpp | 284 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
|
D | unistd_test.cpp | 368 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR)); in TestFsyncFunction()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | fdopen.c | 61 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
|
D | mktemp.c | 88 fd = open(path, O_CREAT|O_EXCL|O_RDWR, S_IRUSR|S_IWUSR); in mktemp_internal()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 26 #define O_RDWR 00000002 macro
|
/bionic/linker/ |
D | linker.cpp | 1618 dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in nullify_closed_stdio()
|
/bionic/libc/upstream-dlmalloc/ |
D | malloc.c | 1657 (dev_zero_fd = open("/dev/zero", O_RDWR), \
|