/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_unlink/ |
2-1.c | 28 fd = shm_open(SHM_NAME, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
|
/external/perfetto/src/base/ |
metatrace.cc | 38 static int fd = open(tracing_path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/external/strace/tests/ |
chmod.c | 44 if (open(fname, O_CREAT|O_RDONLY, 0400) < 0)
|
fchmod.c | 46 int fd = open(fname, O_CREAT|O_RDONLY, 0400);
|
fchmodat.c | 45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0)
|
fchownat.c | 46 if (open(sample, O_RDONLY | O_CREAT, 0400) == -1)
|
fsync-y.c | 56 long fd = open(checks[i].path, O_RDONLY|O_CREAT, 0600);
|
mq.c | 51 if (mq_open(name, O_CREAT, 0700, NULL)) 53 printf("mq_open(\"%s\", O_RDONLY|O_CREAT, 0700, NULL) = 0\n", name + 1);
|
/external/strace/tests-m32/ |
chmod.c | 44 if (open(fname, O_CREAT|O_RDONLY, 0400) < 0)
|
fchmod.c | 46 int fd = open(fname, O_CREAT|O_RDONLY, 0400);
|
fchmodat.c | 45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0)
|
fchownat.c | 46 if (open(sample, O_RDONLY | O_CREAT, 0400) == -1)
|
fsync-y.c | 56 long fd = open(checks[i].path, O_RDONLY|O_CREAT, 0600);
|
mq.c | 51 if (mq_open(name, O_CREAT, 0700, NULL)) 53 printf("mq_open(\"%s\", O_RDONLY|O_CREAT, 0700, NULL) = 0\n", name + 1);
|
/external/strace/tests-mx32/ |
chmod.c | 44 if (open(fname, O_CREAT|O_RDONLY, 0400) < 0)
|
fchmod.c | 46 int fd = open(fname, O_CREAT|O_RDONLY, 0400);
|
fchmodat.c | 45 if (open(sample, O_RDONLY | O_CREAT, 0400) < 0)
|
fchownat.c | 46 if (open(sample, O_RDONLY | O_CREAT, 0400) == -1)
|
fsync-y.c | 56 long fd = open(checks[i].path, O_RDONLY|O_CREAT, 0600);
|
mq.c | 51 if (mq_open(name, O_CREAT, 0700, NULL)) 53 printf("mq_open(\"%s\", O_RDONLY|O_CREAT, 0700, NULL) = 0\n", name + 1);
|
/external/libcups/cups/ |
tempfile.c | 122 fd = open(filename, O_RDWR | O_CREAT | O_EXCL | O_NOFOLLOW, 0600); 124 fd = open(filename, O_RDWR | O_CREAT | O_EXCL, 0600);
|
/external/libgsm/inc/ |
toast.h | 50 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL|O_BINARY 52 # define O_WRITE_EXCL O_WRONLY|O_CREAT|O_EXCL
|
/external/ltp/testcases/kernel/syscalls/fchmod/ |
fchmod06.c | 75 fd1 = SAFE_OPEN("tfile_1", O_RDWR | O_CREAT, 0666); 76 fd2 = SAFE_OPEN("tfile_2", O_RDWR | O_CREAT, 0666);
|
/external/ltp/testcases/kernel/syscalls/open/ |
open08.c | 31 * 1. Open a file with O_CREAT and O_EXCL, when the file already 76 {&existing_fname, O_CREAT | O_EXCL, EEXIST}, 81 {&unmapped_fname, O_CREAT, EFAULT}
|
/external/ltp/testcases/kernel/syscalls/pwrite/ |
pwrite02.c | 113 fd = SAFE_OPEN(TEMPFILE, O_RDWR | O_CREAT, 0666); 114 fd_ro = SAFE_OPEN(TEMPFILE, O_RDONLY | O_CREAT, 0666);
|