Searched refs:O_RDWR (Results 1 – 19 of 19) 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 | 85 tf.fd = open(tf.path, O_RDWR); in TEST() 156 tf.fd = open(tf.path, O_RDWR); in TEST() 164 tf.fd = open(tf.path, O_RDWR); in TEST()
|
D | fcntl_test.cpp | 321 int fd = open(dir.path, O_TMPFILE | O_RDWR, perms); in TEST() 347 fd = open(dir.path, O_TMPFILE | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in TEST()
|
D | stdlib_test.cpp | 647 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
|
D | dlext_test.cpp | 453 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 | 404 ASSERT_NE(-1, fd = open(tf.path, O_RDWR)); in TestSyncFunction()
|
D | stdio_test.cpp | 2484 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 *slave = open(name, O_RDWR|O_NOCTTY); in openpty()
|
D | libc_init_common.cpp | 139 int dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in __nullify_closed_stdio() 142 dev_null = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR)); in __nullify_closed_stdio()
|
D | tmpfile.cpp | 82 int fd = open(tmp_dir, O_TMPFILE | O_RDWR, S_IRUSR | S_IWUSR); in __tmpfile_dir()
|
/bionic/libc/upstream-openbsd/lib/libc/gen/ |
D | daemon.c | 56 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -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/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 27 #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 | 56 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 | 381 #define DRM_RDWR O_RDWR
|
/bionic/libc/malloc_debug/ |
D | malloc_debug.cpp | 1006 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 | 283 if (tmp != O_RDWR && (tmp != (mode_flags & O_ACCMODE))) { in fdopen()
|