/third_party/node/test/parallel/ |
D | test-fs-open-flags.js | 40 O_TRUNC = 0, 49 assert.strictEqual(stringToFlags('w'), O_TRUNC | O_CREAT | O_WRONLY); 50 assert.strictEqual(stringToFlags('w+'), O_TRUNC | O_CREAT | O_RDWR); 54 assert.strictEqual(stringToFlags('wx'), O_TRUNC | O_CREAT | O_WRONLY | O_EXCL); 55 assert.strictEqual(stringToFlags('xw'), O_TRUNC | O_CREAT | O_WRONLY | O_EXCL); 56 assert.strictEqual(stringToFlags('wx+'), O_TRUNC | O_CREAT | O_RDWR | O_EXCL); 57 assert.strictEqual(stringToFlags('xw+'), O_TRUNC | O_CREAT | O_RDWR | O_EXCL);
|
D | test-fs-fmap.js | 10 O_TRUNC = 0, 24 const mw = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY;
|
/third_party/musl/libc-test/src/functionalext/relro/ |
D | dlopen_ext_relro_test.c | 161 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_0400() 203 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_0600() 230 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_0700() 258 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_0800() 301 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_1000() 329 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_1100() 357 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_1200() 384 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_1500() 412 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_1600() 449 int relro_fd = open(relro_file, O_RDWR | O_TRUNC | O_CLOEXEC); in dlopen_ext_relro_1700() [all …]
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_test.c | 210 result = open("/tmp/testfile2", O_TRUNC | O_RDONLY, 0600); in test_file_open_2() 215 result = open("/tmp/testfile3", O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_3() 230 result = open("/tmp/testfile6", O_APPEND | O_TRUNC | O_RDONLY, 0600); in test_file_open_6() 236 O_APPEND | O_TRUNC | O_CREAT | O_RDONLY, 0600); in test_file_open_7() 251 result = open("/tmp/testfile10", O_TRUNC | O_WRONLY, 0600); in test_file_open_10() 256 result = open("/tmp/testfile11", O_TRUNC | O_CREAT | O_WRONLY, 0600); in test_file_open_11() 271 result = open("/tmp/testfile14", O_APPEND | O_TRUNC | O_WRONLY, 0600); in test_file_open_14() 277 O_APPEND | O_TRUNC | O_CREAT | O_WRONLY, 0600); in test_file_open_15() 292 result = open("/tmp/testfile18", O_TRUNC | O_RDWR, 0600); in test_file_open_18() 297 result = open("/tmp/testfile19", O_TRUNC | O_CREAT | O_RDWR, 0600); in test_file_open_19() [all …]
|
D | tomoyo_rewrite_test.c | 93 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); in stage_rewrite_test() 98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test() 137 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); in stage_rewrite_test() 142 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test()
|
/third_party/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()
|
D | genlog.c | 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 83 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | genlog10.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/third_party/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()
|
D | genj1.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | geny0.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | genj0.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/third_party/ltp/testcases/misc/math/float/power/ |
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()
|
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 | genfloor.c | 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 83 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | gensqrt.c | 53 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 90 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/third_party/libdrm/tests/etnaviv/ |
D | write_bmp.c | 108 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666); in bmp_dump32() 124 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666); in bmp_dump32_noflip() 140 fd = open(filename, O_WRONLY| O_TRUNC | O_CREAT, 0666); in bmp_dump32_ex()
|
/third_party/ltp/testcases/misc/math/float/iperb/ |
D | gensinh.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | gencosh.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 84 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
/third_party/ltp/testcases/misc/math/float/trigo/ |
D | genatan.c | 56 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 86 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | genasin.c | 56 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 86 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | gencos.c | 56 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 86 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
D | gensin.c | 56 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 86 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|