/external/strace/xlat/ |
delete_module_flags.h | 14 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC) 15 XLAT(O_TRUNC),
|
/external/syslinux/com32/include/ |
fcntl.h | 20 #define O_TRUNC 01000
|
/external/syslinux/com32/lib/ |
creat.c | 11 return open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode);
|
fopen.c | 21 flags = O_WRONLY | O_CREAT | O_TRUNC;
|
fopendev.c | 21 flags = O_WRONLY | O_CREAT | O_TRUNC;
|
/external/strace/tests/ |
delete_module.c | 53 { (kernel_ulong_t) 0xbadc0dedfacef157ULL & ~(O_NONBLOCK | O_TRUNC), 54 " /* O_??? */", 0xfacef157U & ~(O_NONBLOCK | O_TRUNC), 0}, 55 { (kernel_ulong_t) (0xfacef157deade71cULL & ~O_NONBLOCK) | O_TRUNC, 56 "O_TRUNC", 0, 0xdeade71c & ~(O_NONBLOCK | O_TRUNC)}, 57 { -1LL, "O_NONBLOCK|O_TRUNC", 0, -1U & ~(O_NONBLOCK | O_TRUNC)},
|
/external/strace/tests-m32/ |
delete_module.c | 53 { (kernel_ulong_t) 0xbadc0dedfacef157ULL & ~(O_NONBLOCK | O_TRUNC), 54 " /* O_??? */", 0xfacef157U & ~(O_NONBLOCK | O_TRUNC), 0}, 55 { (kernel_ulong_t) (0xfacef157deade71cULL & ~O_NONBLOCK) | O_TRUNC, 56 "O_TRUNC", 0, 0xdeade71c & ~(O_NONBLOCK | O_TRUNC)}, 57 { -1LL, "O_NONBLOCK|O_TRUNC", 0, -1U & ~(O_NONBLOCK | O_TRUNC)},
|
/external/strace/tests-mx32/ |
delete_module.c | 53 { (kernel_ulong_t) 0xbadc0dedfacef157ULL & ~(O_NONBLOCK | O_TRUNC), 54 " /* O_??? */", 0xfacef157U & ~(O_NONBLOCK | O_TRUNC), 0}, 55 { (kernel_ulong_t) (0xfacef157deade71cULL & ~O_NONBLOCK) | O_TRUNC, 56 "O_TRUNC", 0, 0xdeade71c & ~(O_NONBLOCK | O_TRUNC)}, 57 { -1LL, "O_NONBLOCK|O_TRUNC", 0, -1U & ~(O_NONBLOCK | O_TRUNC)},
|
/external/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
sanitizer_set_report_fd_test.cc | 29 int fd = open(argv[1], O_CREAT | O_WRONLY | O_TRUNC, S_IRWXU);
|
/external/ltp/testcases/kernel/syscalls/splice/ |
splice02.c | 40 fd = SAFE_OPEN("splice02-temp", O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/external/syslinux/com32/lib/sys/ |
err_write.c | 52 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
null_write.c | 51 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
ansiserial_write.c | 55 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
rawcon_write.c | 60 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
serial_write.c | 63 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
zfopen.c | 22 flags = O_WRONLY | O_CREAT | O_TRUNC;
|
/system/update_engine/payload_consumer/ |
file_writer_unittest.cc | 45 O_CREAT | O_LARGEFILE | O_TRUNC | O_WRONLY, 59 O_CREAT | O_LARGEFILE | O_TRUNC, 0644)); 70 O_CREAT | O_LARGEFILE | O_TRUNC | O_RDONLY,
|
/external/ltp/testcases/misc/math/float/bessel/ |
genlgamma.c | 57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 58 fpsi = open(F_namesign, O_RDWR | O_CREAT | O_TRUNC, 0777); 92 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
genj0.c | 54 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 85 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
/external/ltp/testcases/misc/math/float/exp_log/ |
genfrexp.c | 57 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 58 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); 91 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
genmodf.c | 71 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777); 72 fp1 = open(F_name1, O_RDWR | O_CREAT | O_TRUNC, 0777); 105 fp = open(F_name, O_RDWR | O_CREAT | O_TRUNC, 0777);
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
flags.c | 61 o = O_CREAT | O_TRUNC;
|
/external/ltp/testcases/kernel/security/tomoyo/ |
tomoyo_rewrite_test.c | 92 show_prompt("open(O_WRONLY | O_TRUNC)"); 93 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); 97 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); 98 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND); 136 show_prompt("open(O_WRONLY | O_TRUNC)"); 137 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC); 141 show_prompt("open(O_WRONLY | O_TRUNC | O_APPEND)"); 142 fd = open(REWRITE_PATH, O_WRONLY | O_TRUNC | O_APPEND);
|
/external/toybox/toys/other/ |
rmmod.c | 38 if (toys.optflags & FLAG_f) flags |= O_TRUNC;
|
/art/libartbase/base/ |
os_linux.cc | 49 return art::CreateEmptyFile(name, O_RDWR | O_TRUNC); 53 return art::CreateEmptyFile(name, O_WRONLY | O_TRUNC | O_NOFOLLOW | O_CLOEXEC);
|