HomeSort by relevance Sort by last modified time
    Searched refs:O_RDWR (Results 1 - 25 of 1627) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/strace/xlat/
open_access_modes.h 12 #if defined(O_RDWR) || (defined(HAVE_DECL_O_RDWR) && HAVE_DECL_O_RDWR)
13 XLAT(O_RDWR),
  /external/syslinux/com32/include/
fcntl.h 16 #define O_RDWR 3
  /external/toybox/toys/other/
freeramdisk.c 24 fd = xopen(toys.optargs[0], O_RDWR);
chvt.c 29 if (-1 != (fd = open(*cc, O_RDWR))) break;
fallocate.c 29 int fd = xcreate(*toys.optargs, O_RDWR | O_CREAT, 0644);
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl04.c 59 if ((TEST_RETURN & O_ACCMODE) != O_RDWR) {
62 TEST_RETURN & O_ACCMODE, O_RDWR);
73 fd = SAFE_OPEN(fname, O_RDWR | O_CREAT, 0700);
fcntl32.c 45 {O_RDONLY, O_RDWR},
48 {O_WRONLY, O_RDWR},
49 {O_RDWR, O_RDONLY},
50 {O_RDWR, O_WRONLY},
51 {O_RDWR, O_RDWR},
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
5-1.c 28 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
39 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
6-1.c 25 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
  /bootable/recovery/otafault/
test.cpp 26 int fd = open("testdata/test.file", O_RDWR);
  /external/ltp/lib/newlib_tests/
test14.c 28 SAFE_OPEN("foo", O_RDWR);
  /external/mesa3d/src/gallium/winsys/imx/drm/
imx_drm_winsys.c 39 .gpu_fd = open("/dev/dri/renderD128", O_RDWR | O_CLOEXEC)
  /external/ltp/testcases/kernel/syscalls/flistxattr/
flistxattr03.c 72 fd[0] = SAFE_OPEN("testfile1", O_RDWR | O_CREAT, 0644);
74 fd[1] = SAFE_OPEN("testfile2", O_RDWR | O_CREAT, 0644);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/
15-1.c 32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
42 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
23-1.c 33 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
43 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_unlink/
1-1.c 38 mqdes = mq_open(mqname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
44 if (mq_open(mqname, O_RDWR, S_IRUSR | S_IWUSR, 0) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
14-2.c 11 * the value of O_RDWR.
17 * 3. Reopen the file with shm_open() and O_RDWR set.
44 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
63 fd = shm_open(SHM_NAME, O_RDWR, S_IRUSR | S_IWUSR);
25-1.c 11 * shared memory object exists and it is successfully opened O_RDWR.
15 * 2. Call shm_open with O_TRUNC and O_RDWR set.
40 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
51 fd = shm_open(SHM_NAME, O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR);
26-1.c 11 * object exists and it is successfully opened O_RDWR.
15 * 2. Call shm_open with O_TRUNC and O_RDWR set and with differents permission
36 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, CREATION_MODE);
49 fd = shm_open(SHM_NAME, O_RDWR | O_TRUNC, OPEN_MODE);
32-1.c 73 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, 0);
79 fd = shm_open(SHM_NAME, O_RDWR, 0);
38-1.c 28 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
  /bionic/libc/upstream-openbsd/lib/libc/gen/
daemon.c 56 if (!noclose && (fd = open(_PATH_DEVNULL, O_RDWR, 0)) != -1) {
  /device/google/cuttlefish_common/guest/commands/usbforward/
main.cpp 29 cvd::SharedFD fd = cvd::SharedFD::Open(argv[1], O_RDWR | O_NOCTTY);
  /external/ltp/testcases/kernel/syscalls/futex/
futex_common.h 31 fd = shm_open("/LTP_futex_wait", O_RDWR | O_CREAT | O_EXCL, 0);
35 "shm_open(/LTP_futex_wait,O_RDWR|O_CREAT|O_EXCL,775)");
  /external/ltp/testcases/kernel/syscalls/flock/
flock05.c 111 fd1 = open(filename, O_RDWR);
132 fd1 = open(filename, O_RDWR);
185 fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, 0666);

Completed in 407 milliseconds

1 2 3 4 5 6 7 8 91011>>