Home
last modified time | relevance | path

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

1234

/external/strace/xlat/
Ddelete_module_flags.h7 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC)
8 XLAT(O_TRUNC),
Dopen_mode_flags.h13 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC)
14 XLAT(O_TRUNC),
Ddelete_module_flags.in2 O_TRUNC
Dopenmodessol.in7 { 0x200, "O_TRUNC" },
Dopen_mode_flags.in4 O_TRUNC
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h31 #ifndef O_TRUNC
32 #define O_TRUNC 00001000 /* not fcntl */ macro
/external/valgrind/none/tests/
Dfdleak_cmsg.c41 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/
Dbootchartd.c161 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()
Dtftpd.c106 (O_WRONLY|O_TRUNC|O_CREAT) : (O_WRONLY|O_TRUNC)) , 0666); in do_action()
/external/e2fsprogs/e2fsck/
Dlogfile.c251 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/
Dfcntl.h17 #define O_TRUNC 0x0200 /* not fcntl */ macro
/external/bison/djgpp/
Dsubpipe.c151 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/
Drmmod.c38 if (toys.optflags & FLAG_f) flags |= O_TRUNC; in rmmod_main()
/external/libxml2/win32/wince/
Dwincecompat.h25 #define O_TRUNC 0x0200 /* open and truncate */ macro
/external/toybox/toys/posix/
Dtee.c52 O_RDWR|O_CREAT|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC), in tee_main()
Dcpio.c95 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()
Duudecode.c44 ofd = xcreate(TT.o ? TT.o : line+idx, O_WRONLY|O_CREAT|O_TRUNC,
Dsplit.c71 outfd = xcreate(TT.outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode & 0777);
/external/e2fsprogs/misc/
Dlogsave.c255 int openflags = O_CREAT|O_WRONLY|O_TRUNC; in main()
263 openflags &= ~O_TRUNC; in main()
/external/e2fsprogs/contrib/
Dmake-sparse.c58 fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777); in main()
/external/f2fs-tools/fsck/
Ddump.c35 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/
Darextract.c98 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666); in main()
Dupdate1.c41 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); in main()
/external/e2fsprogs/debugfs/
Ddump.c183 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/
Dfile_utils.cc123 int fd = HANDLE_EINTR(open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRWXU)); in WriteFile()

1234