/external/ltp/testcases/kernel/syscalls/lseek/ |
lseek07.c | 88 fd1 = SAFE_OPEN(TFILE1, O_RDWR | O_CREAT, 0644); 89 fd2 = SAFE_OPEN(TFILE2, O_RDWR | O_CREAT, 0644);
|
/external/ltp/testcases/kernel/syscalls/open/ |
open08.c | 30 * 1. Open a file with O_CREAT and O_EXCL, when the file already 81 {filename, O_CREAT | O_EXCL, EEXIST}, 87 {(char *)-1, O_CREAT, EFAULT}
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
preadv02.c | 107 fd1 = SAFE_OPEN("file1", O_RDWR | O_CREAT, 0644); 109 fd2 = SAFE_OPEN("file2", O_WRONLY | O_CREAT, 0644);
|
/external/ltp/testcases/kernel/syscalls/splice/ |
splice01.c | 72 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); 104 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777);
|
splice03.c | 81 wrfd = SAFE_OPEN(TEST_FILE2, O_WRONLY | O_CREAT, 0644); 83 appendfd = SAFE_OPEN(TEST_FILE3, O_RDWR | O_CREAT | O_APPEND, 0644);
|
/external/ltp/testcases/kernel/syscalls/tee/ |
tee01.c | 76 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); 116 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777);
|
/external/ltp/testcases/misc/math/float/exp_log/ |
genhypot.c | 56 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 87 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
/external/ltp/testcases/misc/math/float/power/ |
genfabs.c | 61 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 92 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
/external/ltp/testcases/misc/math/float/trigo/ |
gentan.c | 60 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 94 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
/external/ltp/testcases/network/nfsv4/locks/ |
locktests.h | 59 #define OPENFLAGS (O_CREAT | O_RDWR | O_SYNC ) 61 #define OPENFLAGS (O_CREAT | O_RDWR )
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
14-1.c | 63 sem_linked = sem_open("/fork_14_1a", O_CREAT, O_RDWR, 0); 69 sem_unlinked = sem_open("/fork_14_1b", O_CREAT, O_RDWR, 0);
|
16-1.c | 71 fd_s = shm_open("/fork_16_1s", O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); 77 fd_ns = shm_open("/fork_16_1ns", O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
25-2.c | 10 * Test that mq_open() fails with EINVAL if O_CREAT was set in oflag, 44 queue = mq_open(qname, O_CREAT | O_RDWR, 74 queue = mq_open(qname, O_CREAT | O_RDWR,
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
3-1.c | 140 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1); 144 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0744, 1);
|
/external/puffin/src/ |
file_stream.cc | 24 flags |= O_RDWR | O_CREAT; 28 flags |= O_WRONLY | O_CREAT;
|
/external/valgrind/none/tests/linux/ |
pthread-stack.c | 75 fd = open(file_name, O_CREAT|O_WRONLY, 86 fd = open(file_name, O_CREAT|O_RDWR,
|
/external/valgrind/none/tests/solaris/ |
pthread-stack.c | 70 int fd = open(file_name, O_CREAT|O_WRONLY, 80 fd = open(file_name, O_CREAT|O_RDWR,
|
/external/ltp/testcases/kernel/io/direct_io/ |
diotest2.c | 182 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) 201 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) 204 if ((fd_r = open(filename, O_RDONLY | O_CREAT, 0666)) == -1) 220 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) 222 "open(%s, O_DIRECT|O_WRONLY|O_CREAT, ..) failed", 224 if ((fd_r = open(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) == -1) 226 "open(%s, O_DIRECT|O_RDONLY|O_CREAT, ..) failed", 254 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) == -1) 256 "open(%s, O_CREAT|O_EXCL, ..) failed", filename);
|
/external/ltp/testcases/kernel/syscalls/mount/ |
mount03.c | 142 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); 181 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); 201 fildes = open(file, O_RDWR | O_CREAT, FILE_MODE); 204 "open(%s, O_RDWR|O_CREAT, %#o) failed", 251 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); 293 fd = open(file, O_CREAT | O_RDWR, S_IRWXU);
|
/device/google/cuttlefish_common/host/libs/ivserver/ |
hald_client_test.cc | 126 cvd::SharedFD::Open(temp.c_str(), O_CREAT | O_RDWR, 0666)); 131 cvd::SharedFD::Open(temp.c_str(), O_CREAT | O_RDWR, 0666)); 136 cvd::SharedFD::Open(temp.c_str(), O_CREAT | O_RDWR, 0666));
|
/external/clang/test/Analysis/ |
unix-fns.c | 42 #ifndef O_CREAT 43 #define O_CREAT 0x0200 55 fd = open(path, O_CREAT); // expected-warning{{Call to 'open' requires a third argument when the 'O_CREAT' flag is set}} 401 // CHECK-NEXT: <string>Call to 'open' requires a third argument when the 'O_CREAT' flag is set</string> 403 // CHECK-NEXT: <string>Call to 'open' requires a third argument when the 'O_CREAT' flag is set</string> 406 // CHECK-NEXT: <key>description</key><string>Call to 'open' requires a third argument when the 'O_CREAT' flag is set</string> [all...] |
/external/ltp/testcases/kernel/syscalls/symlink/ |
symlink03.c | 287 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) { 289 "open(%s, O_RDWR|O_CREAT, 0666) failed, errno=%d : %s", 307 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) { 309 "open(%s, O_RDWR|O_CREAT, 0666) failed, errno=%d : %s", 348 if ((fd = open("t_file", O_RDWR | O_CREAT, MODE_RWX)) == -1) {
|
/external/compiler-rt/lib/profile/ |
InstrProfilingUtil.c | 90 fd = open(ProfileName, O_RDWR | O_CREAT, 0666); 127 fd = open(ProfileName, O_RDWR | O_CREAT, 0666);
|
/external/f2fs-tools/tools/ |
check_f2fs.c | 57 db = open(path, O_RDWR|O_CREAT, 0666); 93 fd = open(path, O_RDWR|O_CREAT|O_TRUNC, 0666);
|
/external/ltp/testcases/kernel/syscalls/chown/ |
chown02.c | 238 if ((fd = open(TESTFILE1, O_RDWR | O_CREAT, FILE_MODE)) == -1) 240 "open(%s, O_RDWR|O_CREAT, %o) failed", 260 if ((fd = open(TESTFILE2, O_RDWR | O_CREAT, FILE_MODE)) == -1) { 262 "open(%s, O_RDWR|O_CREAT, %o) failed",
|