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

1 2 3 4 5 6 7 8 91011>>

  /external/toybox/toys/posix/
nohup.c 27 if (-1 == open("nohup.out", O_CREAT|O_APPEND|O_WRONLY,
33 xcreate(temp, O_CREAT|O_APPEND|O_WRONLY, 0600);
  /bionic/libc/upstream-openbsd/lib/libc/stdio/
flags.c 61 o = O_CREAT | O_TRUNC;
67 o = O_CREAT | O_APPEND;
87 if (o & O_CREAT)
  /external/syslinux/com32/include/
fcntl.h 18 #define O_CREAT 0100
  /external/syslinux/com32/lib/
creat.c 11 return open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
fopen.c 21 flags = O_WRONLY | O_CREAT | O_TRUNC;
24 flags = O_WRONLY | O_CREAT | O_APPEND;
fopendev.c 21 flags = O_WRONLY | O_CREAT | O_TRUNC;
24 flags = O_WRONLY | O_CREAT | O_APPEND;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
4-1.c 11 should fail when both O_CREAT and O_EXCL name exist during the opening
35 mysemp = sem_open(semname, O_CREAT, 0444, 1);
39 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0444, 1);
10-1.c 36 mysemp = sem_open(semname, O_CREAT, 0777, 5);
47 mysemp = sem_open(semname, O_CREAT, 0777, 1);
2-1.c 12 should fail when both O_CREAT and O_EXCL name exist during the opening
36 mysemp = sem_open(semname, O_CREAT, 0777, 0);
47 mysemp = sem_open(semname, O_CREAT | O_EXCL, 0777, 1);
1-2.c 33 mysemp = sem_open(semname, O_CREAT, 0777, 1);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
22-1.c 11 * O_CREAT are set.
29 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR);
35 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR);
11-1.c 28 fd = shm_open(SHM_NAME, O_RDONLY | O_CREAT, S_IRUSR | S_IWUSR);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/
5-1.c 11 * create a new shared memory object if O_CREAT is set even if the object
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);
  /external/syslinux/com32/lib/sys/
zfopen.c 22 flags = O_WRONLY | O_CREAT | O_TRUNC;
25 flags = O_WRONLY | O_CREAT | O_APPEND;
  /external/toybox/toys/other/
fallocate.c 29 int fd = xcreate(*toys.optargs, O_RDWR | O_CREAT, 0644);
  /frameworks/compile/libbcc/lib/
FileMutex.h 31 : FileBase(pFileToLock + ".lock", O_RDONLY | O_CREAT, kDeleteOnClose) { }
  /device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
flags.c 80 o = O_CREAT | O_TRUNC;
86 o = O_CREAT | O_APPEND;
  /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 10 * Test that if O_EXCL and O_CREAT are set and message queue name already
32 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
40 * Open queue qname again with O_CREAT and O_EXCL set
42 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
45 printf("mq_open() should have failed with O_CREAT and\n");
23-1.c 10 * Test that mq_open() fails with EEXIST if O_CREAT and O_EXCL are set
33 queue = mq_open(qname, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, NULL);
41 * Open queue qname again with O_CREAT and O_EXCL set
43 queue2 = mq_open(qname, O_CREAT | O_EXCL | O_RDWR,
46 printf("mq_open() should have failed with O_CREAT and\n");
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/
2-1.c 33 mysemp = sem_open(semname, O_CREAT, 0777, 1);
46 mysemp = sem_open(semname, O_CREAT, 0777, 1);
  /external/compiler-rt/test/sanitizer_common/TestCases/Posix/
sanitizer_set_report_fd_test.cc 29 int fd = open(argv[1], O_CREAT | O_WRONLY | O_TRUNC, S_IRWXU);
  /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/splice/
splice02.c 40 fd = SAFE_OPEN("splice02-temp", O_WRONLY | O_CREAT | O_TRUNC, 0644);

Completed in 589 milliseconds

1 2 3 4 5 6 7 8 91011>>