/bionic/libc/bionic/ |
getpt.c | 33 return open("/dev/ptmx", O_RDWR|O_NOCTTY);
|
cpuacct.c | 44 fd = open(buf, O_RDWR | O_CREAT, 0666); 53 fd = open(buf, O_RDWR | O_CREAT, 0666);
|
daemon.c | 41 int fd = open("/dev/null", O_RDWR);
|
/dalvik/vm/alloc/TEST/HeapBitmapTest/include/cutils/ |
ashmem.h | 11 return open("/dev/zero", O_RDWR);
|
/external/compiler-rt/SDKs/linux/usr/include/sys/ |
fcntl.h | 22 #define O_RDWR 0x0002
|
/external/openssh/openbsd-compat/ |
bsd-openpty.c | 83 if ((slave = _getpty(amaster, O_RDWR, 0622, 0)) == NULL) 87 if ((*aslave = open(slave, O_RDWR | O_NOCTTY)) == -1) { 102 if ((ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY)) == -1) 119 if ((*aslave = open(pts, O_RDWR | O_NOCTTY)) == -1) { 142 if ((*amaster = open("/dev/ptc", O_RDWR | O_NOCTTY)) == -1) 146 if ((*aslave = open(ttname, O_RDWR | O_NOCTTY)) == -1) { 166 if ((*amaster = open(ptbuf, O_RDWR|O_NOCTTY)) == -1) 169 if ((*aslave = open(ttbuf, O_RDWR|O_NOCTTY)) == -1) { 194 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1) { 198 if ((*amaster = open(ptbuf, O_RDWR | O_NOCTTY)) == -1 [all...] |
daemon.c | 71 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
mount_test.cc | 52 EXPECT_EQ(ENOENT, mnt.Open(Path("/foo"), O_RDWR, &result_node)); 57 EXPECT_EQ(0, mnt.Open(Path("/foo"), O_RDWR | O_CREAT, &file)); 70 EXPECT_EQ(EISDIR, mnt.Open(Path("/"), O_RDWR, &root)); 85 mnt.Open(Path("/foo"), O_RDWR | O_CREAT | O_EXCL, &result_node)); 90 EXPECT_EQ(EEXIST, mnt.Mkdir(Path("/foo"), O_RDWR)); 109 EXPECT_EQ(0, mnt.Open(Path("/foo"), O_RDWR | O_CREAT, &result_node)); 130 EXPECT_EQ(0, mnt.Mkdir(Path("/foo"), O_RDWR)); 134 EXPECT_EQ(0, mnt.Open(Path("/foo/bar"), O_RDWR | O_CREAT | O_EXCL, &file)); 161 EXPECT_EQ(ENOENT, mnt.Open(Path("/foo"), O_RDWR, &file)); 175 ASSERT_EQ(0, mnt.Open(Path("/foo"), O_RDWR|O_CREAT, &file)) [all...] |
/art/runtime/ |
os_linux.cc | 35 return OpenFileWithFlags(name, O_RDWR); 39 return OpenFileWithFlags(name, O_RDWR | O_CREAT | O_TRUNC);
|
/hardware/libhardware_legacy/vibrator/ |
vibrator.c | 36 fd = open(THE_DEVICE, O_RDWR); 54 fd = open(THE_DEVICE, O_RDWR);
|
/external/compiler-rt/SDKs/darwin/usr/include/sys/ |
fcntl.h | 45 #define O_RDWR 0x0002 /* open for reading and writing */
|
/external/dropbear/ |
sshpty.c | 77 slave = _getpty(ptyfd, O_RDWR, 0622, 0); 85 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); 104 ptm = open("/dev/ptmx", O_RDWR | O_NOCTTY); 129 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); 162 *ptyfd = open("/dev/ptc", O_RDWR | O_NOCTTY); 173 *ttyfd = open(name, O_RDWR | O_NOCTTY); 199 *ptyfd = open(buf, O_RDWR | O_NOCTTY); 204 *ptyfd = open(buf, O_RDWR | O_NOCTTY); 211 *ttyfd = open(namebuf, O_RDWR | O_NOCTTY); 278 fd = open(_PATH_TTY, O_RDWR | O_NOCTTY) [all...] |
/external/elfutils/tests/ |
rdwrmmap.c | 11 int fd = open (argv[1], O_RDWR);
|
/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);
|
/frameworks/native/services/surfaceflinger/tests/waitforvsync/ |
waitforvsync.cpp | 32 int fd = open("/dev/graphics/fb0", O_RDWR);
|
/hardware/samsung_slsi/exynos5/mobicore/daemon/Kernel/ |
CKMod.cpp | 77 int openRet = ::open(deviceName, O_RDWR);
|
/external/yaffs2/yaffs2/direct/ |
dtest.c | 23 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); 45 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); 68 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); 90 h = yaffs_open(fn, O_RDWR,0); 121 h = yaffs_open(fn, O_RDWR,0); 173 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); 221 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); 302 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IWRITE | S_IREAD); 378 h = yaffs_open(str, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); 423 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE) [all...] |
/bootable/recovery/minadbd/ |
usb_linux_client.c | 60 fd = unix_open("/dev/android_adb", O_RDWR); 63 fd = unix_open("/dev/android", O_RDWR); 128 fd = unix_open("/dev/android_adb_enable", O_RDWR);
|
/art/runtime/base/unix_file/ |
mapped_file.h | 36 kReadWriteMode = O_CREAT | O_RDWR | O_LARGEFILE,
|
/bionic/libc/upstream-freebsd/lib/libc/stdio/ |
flags.c | 89 m = O_RDWR;
|
/external/e2fsprogs/include/nonunix/ |
unistd.h | 13 #define O_RDWR _O_RDWR
|
/frameworks/base/services/jni/ |
com_android_server_UsbDeviceManager.cpp | 68 int fd = open(DRIVER_NAME, O_RDWR); 90 int fd = open(DRIVER_NAME, O_RDWR); 105 int fd = open(DRIVER_NAME, O_RDWR); 117 int fd = open(DRIVER_NAME, O_RDWR);
|
/frameworks/compile/libbcc/include/bcc/Support/ |
File.h | 43 enum { kOpenFlags = O_RDWR | O_CREAT };
|