Searched refs:O_TRUNC (Results 1 - 25 of 89) sorted by relevance

1234

/external/strace/xlat/
H A Ddelete_module_flags.h7 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC)
8 XLAT(O_TRUNC),
H A Dopen_mode_flags.h13 #if defined(O_TRUNC) || (defined(HAVE_DECL_O_TRUNC) && HAVE_DECL_O_TRUNC)
14 XLAT(O_TRUNC),
/external/toybox/toys/other/
H A Drmmod.c38 if (toys.optflags & FLAG_f) flags |= O_TRUNC;
/external/kernel-headers/original/uapi/asm-mips/asm/
H A Dfcntl.h17 #define O_TRUNC 0x0200 /* not fcntl */ macro
/external/libxml2/win32/wince/
H A Dwincecompat.h25 #define O_TRUNC 0x0200 /* open and truncate */ macro
/external/toybox/toys/posix/
H A Dtee.c52 O_RDWR|O_CREAT|((toys.optflags & FLAG_a)?O_APPEND:O_TRUNC),
H A Dsplit.c71 outfd = xcreate(TT.outfile, O_RDWR|O_CREAT|O_TRUNC, st.st_mode & 0777);
H A Duudecode.c44 ofd = xcreate(TT.o ? TT.o : line+idx, O_WRONLY|O_CREAT|O_TRUNC,
H A Dcpio.c95 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 Dfcntl.h31 #ifndef O_TRUNC
32 #define O_TRUNC 00001000 /* not fcntl */ macro
/external/e2fsprogs/contrib/
H A Dmake-sparse.c58 fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
/external/valgrind/none/tests/
H A Dfdleak_cmsg.c41 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 Dfaultstatus.c142 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL|O_RDWR, 0600);
/external/elfutils/src/tests/
H A Darextract.c98 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666);
H A Dupdate1.c41 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
/external/google-breakpad/src/common/tests/
H A Dfile_utils.cc123 int fd = HANDLE_EINTR(open(path, O_CREAT | O_TRUNC | O_WRONLY, S_IRWXU));
/external/e2fsprogs/e2fsck/
H A Dlogfile.c251 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 Dbootchartd.c161 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 Dtftpd.c106 (O_WRONLY|O_TRUNC|O_CREAT) : (O_WRONLY|O_TRUNC)) , 0666);
/external/valgrind/none/tests/amd64/
H A Dfaultstatus.c103 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
/external/valgrind/none/tests/x86/
H A Dfaultstatus.c121 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
/external/bison/djgpp/
H A Dsubpipe.c151 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 Dlogsave.c255 int openflags = O_CREAT|O_WRONLY|O_TRUNC;
263 openflags &= ~O_TRUNC;
/external/f2fs-tools/fsck/
H A Ddump.c35 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 Dcopy_sparse.c135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);

Completed in 5518 milliseconds

1234