Searched refs:O_TRUNC (Results 26 - 50 of 89) sorted by relevance

1234

/external/elfutils/src/tests/
H A Dupdate2.c42 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
H A Dupdate3.c49 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
H A Dalldts.c71 int fd = open64 (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
H A Dupdate4.c53 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DNonVolatileStore.cpp136 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/external/libnfc-nci/src/adaptation/
H A Dlibmain.c164 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/external/pdfium/core/src/fxcrt/
H A Dfxcrt_posix.cpp23 nFlags |= O_TRUNC;
/external/selinux/policycoreutils/restorecond/
H A Drestorecond.c100 pidfd = open(pidfile, O_CREAT | O_TRUNC | O_NOFOLLOW | O_WRONLY, 0644);
/external/e2fsprogs/debugfs/
H A Ddump.c183 fd = open(out_fn, O_CREAT | O_WRONLY | O_TRUNC | O_LARGEFILE, 0666);
272 fd = open(fullname, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, S_IRWXU);
/external/zlib/src/examples/
H A Dgzlog.c953 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
963 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
1014 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/external/vboot_reference/utility/
H A Dbmpblk_util.c236 O_WRONLY | O_CREAT | O_TRUNC | (overwrite ? 0 : O_EXCL),
311 O_WRONLY | O_CREAT | O_TRUNC | (overwrite ? 0 : O_EXCL),
/external/bsdiff/
H A Dbspatch.c202 if(((fd=open(argv[2],O_CREAT|O_TRUNC|O_WRONLY,0666))<0) ||
/external/toybox/toys/pending/
H A Dftpget.c230 flags |= (TT.c)? O_APPEND : (O_CREAT | O_TRUNC);
H A Dcrontab.c234 fdout = xcreate(toybuf, O_WRONLY|O_CREAT|O_TRUNC, 0600);
/external/llvm/lib/Support/Unix/
H A DPath.inc530 OpenFlags |= O_TRUNC;
/external/toybox/kconfig/
H A Dconfdata.c653 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
673 fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/external/deqp/framework/delibs/deutil/
H A DdeFile.c89 flag |= O_TRUNC;
/external/liblzf/
H A Dlzf.c323 fd = open (name, O_CREAT | O_WRONLY | O_TRUNC | m, 600);
/external/toybox/toys/posix/
H A Dcp.c249 fdout = openat(cfd, catch, O_RDWR|O_CREAT|O_TRUNC, try->st.st_mode);
H A Dsort.c305 fd = xcreate(TT.outfile, O_CREAT|O_TRUNC|O_WRONLY, 0666);
/external/protobuf/src/google/protobuf/compiler/
H A Dcommand_line_interface.cc340 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666);
400 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666);
1448 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666);
/external/e2fsprogs/e2fsck/
H A Ddirinfo.c74 O_RDWR | O_CREAT | O_TRUNC, 0600);
/external/e2fsprogs/lib/ext2fs/
H A Dtdbtool.c191 O_RDWR | O_CREAT | O_TRUNC, 0600);
/external/linux-tools-perf/src/tools/perf/
H A Dbuiltin-inject.c453 inject.output = open(output_name, O_CREAT | O_WRONLY | O_TRUNC,
/external/lldb/source/Host/common/
H A DFile.cpp207 oflag |= O_TRUNC;

Completed in 754 milliseconds

1234