/external/strace/xlat/ |
H A D | delete_module_flags.h | 7 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC) 8 XLAT(O_TRUNC),
|
H A D | open_mode_flags.h | 13 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC) 14 XLAT(O_TRUNC),
|
/external/toybox/toys/other/ |
H A D | rmmod.c | 38 if (toys.optflags & FLAG_f) flags |= O_TRUNC;
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
H A D | fcntl.h | 17 #define O_TRUNC 0x0200 /* not fcntl */ macro
|
/external/libxml2/win32/wince/ |
H A D | wincecompat.h | 25 #define O_TRUNC 0x0200 /* open and truncate */ macro
|
/external/toybox/toys/posix/ |
H A D | tee.c | 52 O_RDWR|O_CREAT|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC),
|
H A D | split.c | 71 outfd = xcreate(TT.outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode & 0777);
|
H A D | uudecode.c | 44 ofd = xcreate(TT.o ? TT.o : line+idx, O_WRONLY|O_CREAT|O_TRUNC,
|
H A D | cpio.c | 95 int perm = (toys.optflags & FLAG_o) ? O_CREAT|O_WRONLY|O_TRUNC : O_RDONLY; 144 int fd = test ? 0 : open(name, O_CREAT|O_WRONLY|O_TRUNC|O_NOFOLLOW, mode);
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | fcntl.h | 31 #ifndef O_TRUNC 32 #define O_TRUNC 00001000 /* not fcntl */ macro
|
/external/e2fsprogs/contrib/ |
H A D | make-sparse.c | 58 fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
|
/external/valgrind/none/tests/ |
H A D | fdleak_cmsg.c | 41 fd1 = DO( open(filea, O_RDWR | O_CREAT | O_TRUNC, 0750) ); 42 fd2 = DO( open(fileb, O_RDWR | O_CREAT | O_TRUNC, 0750) );
|
H A D | faultstatus.c | 142 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL|O_RDWR, 0600);
|
/external/elfutils/src/tests/ |
H A D | arextract.c | 98 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666);
|
H A D | update1.c | 41 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
|
/external/google-breakpad/src/common/tests/ |
H A D | file_utils.cc | 123 int fd = HANDLE_EINTR(open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRWXU));
|
/external/e2fsprogs/e2fsck/ |
H A D | logfile.c | 251 fd = open(s0, O_WRONLY|O_CREAT|O_TRUNC, 0644); 253 fd = open(s1, O_WRONLY|O_CREAT|O_TRUNC, 0644); 255 fd = open(s2, O_WRONLY|O_CREAT|O_TRUNC, 0644);
|
/external/toybox/toys/pending/ |
H A D | bootchartd.c | 161 O_WRONLY | O_CREAT | O_TRUNC, 0644); 163 O_WRONLY | O_CREAT | O_TRUNC, 0644); 169 int kp_fd = xcreate("kernel_procs_acct", O_WRONLY | O_CREAT | O_TRUNC,0666);
|
H A D | tftpd.c | 106 (O_WRONLY|O_TRUNC|O_CREAT) : (O_WRONLY|O_TRUNC)) , 0666);
|
/external/valgrind/none/tests/amd64/ |
H A D | faultstatus.c | 103 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
|
/external/valgrind/none/tests/x86/ |
H A D | faultstatus.c | 121 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
|
/external/bison/djgpp/ |
H A D | subpipe.c | 151 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); 182 int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to bison. */
|
/external/e2fsprogs/misc/ |
H A D | logsave.c | 255 int openflags = O_CREAT|O_WRONLY|O_TRUNC; 263 openflags &= ~O_TRUNC;
|
/external/f2fs-tools/fsck/ |
H A D | dump.c | 35 fd = open("dump_sit", O_CREAT|O_WRONLY|O_TRUNC, 0666); 73 fd = open("dump_ssa", O_CREAT|O_WRONLY|O_TRUNC, 0666); 256 config.dump_fd = open(path, O_TRUNC|O_CREAT|O_RDWR, 0666);
|
/external/e2fsprogs/util/ |
H A D | copy_sparse.c | 135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
|