/third_party/musl/libc-test/src/functionalext/relro/ |
H A 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_CLOEXE in dlopen_ext_relro_1700() [all...] |
/third_party/ltp/testcases/kernel/security/tomoyo/ |
H A 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_CREA in test_file_open_19() [all...] |
H A D | tomoyo_rewrite_test.c | 92 show_prompt("open(O_WRONLY | O_TRUNC)"); in stage_rewrite_test() 93 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); in stage_rewrite_test() 97 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); in stage_rewrite_test() 98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); in stage_rewrite_test() 136 show_prompt("open(O_WRONLY | O_TRUNC)"); in stage_rewrite_test() 137 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); in stage_rewrite_test() 141 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); 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/ |
H A 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()
|
H A 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()
|
H A 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()
|
H A D | genhypot.c | 56 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 87 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
H A 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()
|
H A D | genexp.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()
|
H A 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()
|
/third_party/ltp/testcases/misc/math/float/bessel/ |
H A 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()
|
/third_party/libdrm/tests/etnaviv/ |
H A 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/power/ |
H A 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()
|
H A 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()
|
/third_party/ltp/testcases/kernel/io/aio/ |
H A D | aio02.c | 32 DESC_FLAGS_OPR(IO_CMD_PWRITE, O_WRONLY | O_TRUNC | O_DIRECT | O_LARGEFILE | O_CREAT), 38 DESC_FLAGS_OPR(IO_CMD_PWRITE, O_RDWR | O_TRUNC), 44 DESC_FLAGS_OPR(IO_CMD_PWRITE, O_WRONLY | O_TRUNC),
|
/third_party/ltp/lib/ |
H A D | tst_fill_file.c | 79 fd = open(path, O_CREAT|O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR); in tst_fill_file() 102 fd = open(path, O_CREAT|O_WRONLY|O_TRUNC, S_IRUSR|S_IWUSR); in tst_prealloc_file()
|
/third_party/ltp/testcases/kernel/syscalls/kcmp/ |
H A D | kcmp02.c | 57 fd1 = SAFE_OPEN(TEST_FILE, O_CREAT | O_RDWR | O_TRUNC, 0644); in setup() 58 fd2 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR | O_TRUNC, 0644); in setup()
|
/third_party/ltp/testcases/misc/math/float/iperb/ |
H A 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/ |
H A D | gentan.c | 60 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 94 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
H A D | genatan2.c | 57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Result_file() 88 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); in create_Data_file()
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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()
|
/third_party/ltp/testcases/kernel/syscalls/splice/ |
H A D | splice01.c | 59 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); in splice_test() 85 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()
|