/external/ltp/testcases/kernel/fs/doio/ |
open_flags.c | 60 * a list of comma separated open(2) flag symbols (i.e. O_TRUNC) 69 * bits into human readable symbols (i.e. O_TRUNC). If there 122 {"O_TRUNC", O_TRUNC},
|
/external/ltp/testcases/kernel/io/ltp-aiodio/ |
ltp-diorh.c | 138 fd = open(filename, O_CREAT | O_TRUNC | O_RDWR, 0666);
|
/external/ltp/testcases/kernel/security/tomoyo/ |
tomoyo_accept_test.c | 60 static const int truncate_flags[2] = { 0, O_TRUNC };
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl34.c | 105 int fd = SAFE_OPEN(fname, O_CREAT | O_TRUNC | O_RDWR, 0600);
|
/external/ltp/testcases/kernel/syscalls/flock/ |
flock03.c | 184 fd = open(FILE_NAME, O_CREAT | O_TRUNC | O_RDWR, 0666);
|
/external/ltp/testcases/kernel/syscalls/fsync/ |
fsync02.c | 168 if ((fd = open(tempfile, O_RDWR | O_CREAT | O_TRUNC, 0777)) == -1)
|
/external/ltp/testcases/network/tcp_cmds/sendfile/ |
testsf_c.c | 60 if ((fd = open(clnt_fname, O_CREAT | O_TRUNC | O_WRONLY, 0777)) < 0) {
|
/external/pdfium/core/fxcrt/ |
cfx_fileaccess_posix.cpp | 35 nFlags |= O_TRUNC;
|
/external/perfetto/src/perfetto_cmd/ |
rate_limiter.cc | 175 open(GetStateFilePath().c_str(), O_WRONLY | O_CREAT | O_TRUNC, 0600));
|
/external/selinux/restorecond/ |
restorecond.c | 100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644);
|
/external/strace/tests/ |
preadv.c | 98 int fd = open(tmp, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
sendfile.c | 74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
/external/strace/tests-m32/ |
preadv.c | 98 int fd = open(tmp, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
sendfile.c | 74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
/external/strace/tests-mx32/ |
preadv.c | 98 int fd = open(tmp, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
sendfile.c | 74 int reg_in = open(fname, O_RDWR | O_CREAT | O_TRUNC, 0600);
|
/external/syslinux/com32/lib/sys/ |
vesacon_write.c | 190 .fileflags = O_WRONLY | O_CREAT | O_TRUNC | O_APPEND,
|
/external/valgrind/none/tests/amd64/ |
faultstatus.c | 103 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
|
/external/valgrind/none/tests/x86/ |
faultstatus.c | 121 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
|
/frameworks/compile/libbcc/lib/ |
FileBase.cpp | 57 mOpenFlags |= O_TRUNC;
|
/system/core/adb/ |
adb_trace.cpp | 71 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0640);
|
/toolchain/binutils/binutils-2.27/binutils/ |
rename.c | 53 tofd = open (to, O_CREAT | O_WRONLY | O_TRUNC | O_BINARY, 0777);
|
/external/e2fsprogs/misc/ |
logsave.c | 256 int openflags = O_CREAT|O_WRONLY|O_TRUNC; 264 openflags &= ~O_TRUNC;
|
/external/toybox/toys/pending/ |
tftpd.c | 106 (O_WRONLY|O_TRUNC|O_CREAT) : (O_WRONLY|O_TRUNC)) , 0666);
|
/external/toybox/toys/posix/ |
cpio.c | 104 int perm = (toys.optflags & FLAG_o) ? O_CREAT|O_WRONLY|O_TRUNC : O_RDONLY; 155 int fd = test ? 0 : open(name, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode);
|