/external/compiler-rt/SDKs/linux/usr/include/sys/ |
fcntl.h | 22 #define O_RDWR 0x0002
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
filesystem_test.cc | 61 EXPECT_EQ(ENOENT, fs.Open(Path("/foo"), O_RDWR, &result_node)); 66 EXPECT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_CREAT, &file)); 81 EXPECT_EQ(EISDIR, fs.Open(Path("/"), O_RDWR, &root)); 96 fs.Open(Path("/foo"), O_RDWR | O_CREAT | O_EXCL, &result_node)); 101 EXPECT_EQ(EEXIST, fs.Mkdir(Path("/foo"), O_RDWR)); 120 EXPECT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_CREAT, &result_node)); 141 EXPECT_EQ(0, fs.Mkdir(Path("/foo"), O_RDWR)); 145 EXPECT_EQ(0, fs.Open(Path("/foo/bar"), O_RDWR | O_CREAT | O_EXCL, &file)); 185 ASSERT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_CREAT, &file)); 191 ASSERT_EQ(0, fs.Open(Path("/foo"), O_RDWR | O_TRUNC, &file)) [all...] |
/art/runtime/ |
os_linux.cc | 35 return OpenFileWithFlags(name, O_RDWR); 39 return OpenFileWithFlags(name, O_RDWR | O_CREAT | O_TRUNC);
|
/bionic/libc/bionic/ |
daemon.c | 41 int fd = open("/dev/null", O_RDWR);
|
pty.cpp | 38 return posix_openpt(O_RDWR|O_NOCTTY);
|
/device/moto/shamu/camera/QCamera/stack/mm-camera-interface/src/ |
mm_camera_helper.c | 45 int file_fd = open(filename, O_RDWR | O_CREAT, 0777);
|
/external/compiler-rt/SDKs/darwin/usr/include/sys/ |
fcntl.h | 45 #define O_RDWR 0x0002 /* open for reading and writing */
|
/external/libselinux/src/ |
check_context.c | 23 fd = open(path, O_RDWR);
|
setenforce.c | 24 fd = open(path, O_RDWR);
|
load_policy.c | 30 fd = open(path, O_RDWR);
|
/art/runtime/base/unix_file/ |
mapped_file.h | 37 kReadWriteMode = O_CREAT | O_RDWR | O_LARGEFILE, 40 kReadWriteMode = O_CREAT | O_RDWR,
|
/external/chromium_org/third_party/ashmem/ |
ashmem-dev.c | 46 fd = open(ASHMEM_DEVICE, O_RDWR); 94 const int fd = open(ASHMEM_DEVICE, O_RDWR);
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
flags.c | 89 m = O_RDWR;
|
/bionic/tests/ |
TemporaryFile.h | 45 fd = open(filename, O_RDWR);
|
/external/e2fsprogs/include/nonunix/ |
unistd.h | 13 #define O_RDWR _O_RDWR
|
/external/lldb/tools/debugserver/source/ |
PseudoTerminal.cpp | 73 // Suggested value for oflag is O_RDWR|O_NOCTTY 182 error = OpenFirstAvailableMaster (O_RDWR|O_NOCTTY); 199 error = OpenSlave (O_RDWR);
|
/device/lge/hammerhead/libsensors/ |
LightSensor.cpp | 60 fd = open(sysfs, O_RDWR); 88 int fd = open(sysfs, O_RDWR);
|
/external/lldb/source/Utility/ |
PseudoTerminal.cpp | 220 if (OpenFirstAvailableMaster (O_RDWR, error_str, error_len)) 236 if (OpenSlave (O_RDWR, error_str, error_len))
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
fdopen.c | 61 if (tmp != O_RDWR && (tmp != (oflags & O_ACCMODE))) {
|
/development/ndk/platforms/android-3/header-patches/include/asm-generic/ |
fcntl.h | 9 #define O_RDWR 00000002
|
/development/ndk/platforms/android-3/include/asm-generic/ |
fcntl.h | 20 #define O_RDWR 00000002
|
/development/ndk/platforms/android-L/include/asm-generic/ |
fcntl.h | 26 #define O_RDWR 00000002
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
temporary_file.cc | 60 plugin_->wrapper_factory()->MakeFileDesc(fd, O_RDWR));
|
/external/chromium_org/rlz/lib/ |
recursive_cross_process_lock_posix.cc | 44 file_lock_ = open(lock_filename.value().c_str(), O_RDWR | O_CREAT, 0666);
|
/external/chromium_org/third_party/android_crazy_linker/src/src/ |
crazy_linker_ashmem.cpp | 22 int fd = TEMP_FAILURE_RETRY(open("/dev/ashmem", O_RDWR));
|