Home
last modified time | relevance | path

Searched refs:O_TRUNC (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/third_party/node/test/parallel/
Dtest-fs-open-flags.js40 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);
Dtest-fs-fmap.js10 O_TRUNC = 0,
24 const mw = UV_FS_O_FILEMAP | O_TRUNC | O_CREAT | O_WRONLY;
/third_party/musl/libc-test/src/functionalext/relro/
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_CLOEXEC); in dlopen_ext_relro_1700()
[all …]
/third_party/ltp/testcases/kernel/security/tomoyo/
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_CREAT | O_RDWR, 0600); in test_file_open_19()
[all …]
Dtomoyo_rewrite_test.c93 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/
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()
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()
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()
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()
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()
/third_party/ltp/testcases/misc/math/float/bessel/
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()
Dgenj1.c54 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()
Dgeny0.c54 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()
Dgenj0.c54 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/
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()
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()
Dgenfloor.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()
Dgensqrt.c53 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/
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/iperb/
Dgensinh.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()
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/
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()
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()
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()
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()

12345678910>>...12