Searched refs:O_RDWR (Results 1 – 15 of 15) sorted by relevance
/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 | fmemopen.c | 133 if (buf == NULL && ((oflags & O_RDWR) == 0)) { in fmemopen() 149 st->update = oflags & O_RDWR; in fmemopen()
|
D | mktemp.c | 72 flags |= O_CREAT | O_EXCL | O_RDWR; in mktemp_internal()
|
/bionic/tests/ |
D | bug_26110743_test.cpp | 32 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcSelfReadlinkBody() 74 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcTaskFdReadlinkBody()
|
D | TemporaryFile.h | 47 fd = open(filename, O_RDWR); in reopen()
|
D | stdlib_test.cpp | 389 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
|
D | unistd_test.cpp | 384 ASSERT_NE(-1, fd = open(tf.filename, O_RDWR)); in TestFsyncFunction()
|
D | dlext_test.cpp | 427 int relro_fd = open(relro_file, O_RDWR | O_TRUNC); in CreateRelroFile()
|
/bionic/libc/bionic/ |
D | pty.cpp | 45 return posix_openpt(O_RDWR|O_NOCTTY); in getpt() 138 *slave = open(name, O_RDWR|O_NOCTTY); in openpty()
|
D | libc_init_common.cpp | 127 int dev_null = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in __nullify_closed_stdio() 130 dev_null = TEMP_FAILURE_RETRY(open("/sys/fs/selinux/null", O_RDWR)); in __nullify_closed_stdio()
|
D | system_properties.cpp | 229 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/asm-generic/ |
D | fcntl.h | 26 #define O_RDWR 00000002 macro
|
/bionic/tools/relocation_packer/src/ |
D | main.cc | 97 ScopedFd fd(open(file, O_RDWR)); in main()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 236 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) { in fdopen()
|