Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 - 25 of 304) sorted by relevance

12345678910>>...13

/third_party/musl/libc-test/src/functionalext/relro/
H A Ddlopen_ext_relro_test.c161 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 Dtomoyo_new_test.c210 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 Dtomoyo_rewrite_test.c92 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 Dgenmodf.c71 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 Dgenfrexp.c57 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 Dgenldexp.c80 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 Dgenhypot.c56 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 Dgenlog10.c54 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 Dgenexp.c54 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 Dgenlog.c53 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 Dgenlgamma.c57 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 Dwrite_bmp.c108 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 Dgenfmod.c75 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 Dgenpow.c66 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 Daio02.c32 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 Dtst_fill_file.c79 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 Dkcmp02.c57 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 Dgencosh.c54 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 Dgentan.c60 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 Dgenatan2.c57 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 Dgencos.c56 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 Dgensin.c56 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 Dgenatan.c56 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 Dgenasin.c56 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 Dsplice01.c59 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()

Completed in 8 milliseconds

12345678910>>...13