Searched refs:O_RDWR (Results 1 – 20 of 20) sorted by relevance
/bionic/tests/ |
D | bug_26110743_test.cpp | 34 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcSelfReadlinkBody() 77 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcTaskFdReadlinkBody()
|
D | sys_mman_test.cpp | 89 tf.fd = open(tf.path, O_RDWR); in TEST() 160 tf.fd = open(tf.path, O_RDWR); in TEST() 168 tf.fd = open(tf.path, O_RDWR); in TEST()
|
D | fcntl_test.cpp | 327 int fd = open(dir.path, O_TMPFILE | O_RDWR, perms); in TEST() 353 fd = open(dir.path, O_TMPFILE | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in TEST()
|
D | stdlib_test.cpp | 667 return posix_openpt(O_RDWR|O_NOCTTY); in getpt() 689 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
|
D | dlext_test.cpp | 454 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in CreateRelroFile() 923 open(GetTestLibRoot().c_str(), O_TMPFILE | O_CLOEXEC | O_RDWR | O_EXCL, 0)); in TEST()
|
D | unistd_test.cpp | 409 ASSERT_NE(-1, fd = open(tf.path, O_RDWR)); in TestSyncFunction()
|
D | stdio_test.cpp | 2603 int fd = open(tf.path, O_RDWR); in TEST()
|
/bionic/libc/bionic/ |
D | pty.cpp | 43 return posix_openpt(O_RDWR|O_NOCTTY); in getpt() 135 *tty = open(name, O_RDWR | O_NOCTTY); in openpty()
|
D | libc_init_common.cpp | 213 if (((fd = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR))) == -1 && in __nullify_closed_stdio() 214 (fd = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR))) == -1) || in __nullify_closed_stdio()
|
D | tmpfile.cpp | 94 int fd = open(tmpdir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); in tmpfile()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 56 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR)) != -1) { in daemon()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 81 m = O_RDWR; in __sflags()
|
D | mktemp.c | 72 flags |= O_CREAT | O_EXCL | O_RDWR; in mktemp_internal()
|
/bionic/linker/ |
D | linker_crt_pad_segment_test.cpp | 58 unique_fd fd{TEMP_FAILURE_RETRY(open(path.c_str(), O_CLOEXEC | O_RDWR))}; in GetPadSegment()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 15 #define O_RDWR 00000002 macro
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 79 MACRO(O_RDWR); in fcntl_h()
|
/bionic/libc/system_properties/ |
D | prop_area.cpp | 60 const int fd = open(filename, O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
|
/bionic/libc/kernel/uapi/drm/ |
D | drm.h | 371 #define DRM_RDWR O_RDWR
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 1164 int fd = open(file_name, O_RDWR | O_CREAT | O_NOFOLLOW | O_TRUNC | O_CLOEXEC, 0644); in debug_dump_heap()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 280 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()
|