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