/external/ltp/testcases/kernel/syscalls/mq_open/ |
D | mq_open01.c | 67 .oflag = O_CREAT, 75 .oflag = O_CREAT, 88 .oflag = O_CREAT, 101 .oflag = O_CREAT, 109 .oflag = O_CREAT, 124 .oflag = O_CREAT | O_EXCL, 133 .oflag = O_CREAT, 149 .oflag = O_CREAT, 159 fd2 = SAFE_MQ_OPEN(QUEUE_NAME, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in create_queue() 211 fd3 = SAFE_MQ_OPEN(QUEUE_INIT, O_CREAT | O_EXCL | O_RDWR, S_IRWXU, NULL); in setup()
|
/external/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_test.c | 205 result = open("/tmp/testfile1", O_CREAT | O_RDONLY, 0600); in test_file_open_1() 215 result = open("/tmp/testfile3", O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_3() 225 result = open("/tmp/testfile5", O_APPEND | O_CREAT | O_RDONLY, 0600); in test_file_open_5() 236 O_APPEND | O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_7() 246 result = open("/tmp/testfile9", O_CREAT | O_WRONLY, 0600); in test_file_open_9() 256 result = open("/tmp/testfile11", O_TRUNC | O_CREAT | O_WRONLY, 0600); in test_file_open_11() 266 result = open("/tmp/testfile13", O_APPEND | O_CREAT | O_WRONLY, 0600); in test_file_open_13() 277 O_APPEND | O_TRUNC | O_CREAT | O_WRONLY, 0600); in test_file_open_15() 287 result = open("/tmp/testfile17", O_CREAT | O_RDWR, 0600); in test_file_open_17() 297 result = open("/tmp/testfile19", O_TRUNC | O_CREAT | O_RDWR, 0600); in test_file_open_19() [all …]
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open11.c | 265 .flags = O_RDWR | O_CREAT, 275 .flags = O_RDONLY | O_CREAT, 282 .flags = O_RDONLY | O_CREAT, 289 .flags = O_RDONLY | O_CREAT, 296 .flags = O_RDONLY | O_CREAT, 303 .flags = O_RDONLY | O_CREAT, 376 fd = SAFE_OPEN(cleanup, T_REG, O_WRONLY | O_CREAT, 0644); in setup()
|
D | open04.c | 60 TEST(open(fname, O_RDWR | O_CREAT, 0777)); in main() 92 first = fd = open(fname, O_RDWR | O_CREAT, 0777); in setup() 107 fd = open(fname, O_RDWR | O_CREAT, 0777); in setup()
|
/external/ltp/testcases/kernel/io/direct_io/ |
D | diotest5.c | 217 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) { in main() 221 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { in main() 239 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in main() 243 if ((fd_r = open64(filename, O_RDONLY | O_CREAT, 0666)) < 0) { in main() 260 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) < 0) { in main() 264 if ((fd_r = open64(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) < 0) { in main() 295 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) < 0) { in setup()
|
D | diotest2.c | 182 if ((fd_w = open(filename, O_WRONLY | O_CREAT, 0666)) < 0) in main() 201 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) in main() 204 if ((fd_r = open(filename, O_RDONLY | O_CREAT, 0666)) == -1) in main() 220 if ((fd_w = open(filename, O_DIRECT | O_WRONLY | O_CREAT, 0666)) == -1) in main() 224 if ((fd_r = open(filename, O_DIRECT | O_RDONLY | O_CREAT, 0666)) == -1) in main() 254 if ((fd1 = open(filename, O_CREAT | O_EXCL, 0600)) == -1) in setup()
|
D | diotest1.c | 122 int fd = open(infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 129 fd1 = SAFE_OPEN(cleanup, infile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main() 130 fd2 = SAFE_OPEN(cleanup, outfile, O_DIRECT | O_RDWR | O_CREAT, 0666); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_close/ |
D | 3-2.c | 100 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main() 104 sem = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 2); in main() 128 sem = sem_open(SEM_NAME, O_CREAT, 0777, 3); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_unlink/ |
D | 6-1.c | 96 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main() 100 sem1 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 1); in main() 128 sem2 = sem_open(SEM_NAME, O_CREAT | O_EXCL, 0777, 3); in main()
|
/external/ltp/testcases/misc/math/float/bessel/ |
D | genlgamma.c | 57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 58 fpsi = open(F_namesign, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 92 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/external/ltp/testcases/misc/math/float/exp_log/ |
D | genfrexp.c | 57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 58 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 91 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | genmodf.c | 71 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 72 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 105 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | genldexp.c | 80 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 121 fp = open(F_named, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file() 122 fpi = open(F_namei, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/external/clang/test/Sema/ |
D | enable_if.c | 4 #define O_CREAT 0x100 macro 10 int open(const char *pathname, int flags) __attribute__((enable_if(!(flags & O_CREAT), "must specif… 15 open("path", O_CREAT); // expected-error{{no matching function for call to 'open'}} in test1() 17 open("path", O_CREAT, 0660); in test1()
|
/external/strace/tests/ |
D | openat.c | 55 flag_val & (O_CREAT | STRACE_O_TMPFILE) ? ", 000" : "", in test_mode_flag() 62 long fd = syscall(__NR_openat, -100, sample, O_RDONLY|O_CREAT, 0400); in main() 96 { ARG_STR(O_CREAT) }, in main()
|
/external/strace/tests-mx32/ |
D | openat.c | 55 flag_val & (O_CREAT | STRACE_O_TMPFILE) ? ", 000" : "", in test_mode_flag() 62 long fd = syscall(__NR_openat, -100, sample, O_RDONLY|O_CREAT, 0400); in main() 96 { ARG_STR(O_CREAT) }, in main()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | fcntl.h | 23 #ifndef O_CREAT 24 #define O_CREAT 00000100 /* not fcntl */ macro 94 #define O_TMPFILE_MASK (__O_TMPFILE | O_DIRECTORY | O_CREAT)
|
/external/strace/tests-m32/ |
D | openat.c | 55 flag_val & (O_CREAT | STRACE_O_TMPFILE) ? ", 000" : "", in test_mode_flag() 62 long fd = syscall(__NR_openat, -100, sample, O_RDONLY|O_CREAT, 0400); in main() 96 { ARG_STR(O_CREAT) }, in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 23-1.c | 66 fd = shm_open(name, O_RDONLY | O_CREAT | O_EXCL, in child_func() 88 sem = sem_open(semname, O_CREAT, 0777, 1); in main() 96 O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); in main()
|
/external/ltp/testcases/kernel/fs/doio/ |
D | growfiles.c | 164 int open_flags = O_RDWR | O_CREAT | O_LARGEFILE; /* open flags */ 167 int open_flags = O_RDWR | O_CREAT; /* open flags */ 279 O_RDWR | O_CREAT, 280 O_RDWR | O_CREAT | O_RAW, 281 O_RDWR | O_CREAT | O_BIG, 282 O_RDWR | O_CREAT | O_APPEND, 283 O_RDWR | O_CREAT | O_NDELAY, 284 O_RDWR | O_CREAT | O_PLACE, 285 O_RDWR | O_CREAT | O_SYNC, 286 O_RDWR | O_CREAT | O_RAW | O_SYNC, [all …]
|
/external/ltp/testcases/kernel/syscalls/mount/ |
D | mount03.c | 142 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag() 181 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag() 201 fildes = open(file, O_RDWR | O_CREAT, FILE_MODE); in test_rwflag() 251 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag() 293 fd = open(file, O_CREAT | O_RDWR, S_IRWXU); in test_rwflag()
|
/external/ltp/testcases/misc/math/float/power/ |
D | genfmod.c | 75 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 109 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file() 110 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | genpow.c | 66 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 101 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file() 102 fp2 = open(F_name_pow, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/external/compiler-rt/test/tsan/Darwin/ |
D | gcd-io-cleanup.mm | 17 dispatch_fd_t fd = open(path, O_CREAT | O_WRONLY, 0666); 29 …channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_WRONLY, 0666, queue, … 39 …dispatch_io_t other_channel = dispatch_io_create_with_path(DISPATCH_IO_STREAM, path, O_CREAT | O_W…
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_open/ |
D | 16-1.c | 58 fd = open(fname, O_CREAT | O_RDWR | O_EXCL, S_IRUSR | S_IWUSR); in main() 88 childqueue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main() 105 queue = mq_open(qname, O_CREAT | O_EXCL | O_RDWR, in main()
|