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

1234

/external/kernel-headers/original/asm-mips/
H A Dfcntl.h16 #define O_TRUNC 0x0200 /* not fcntl */ macro
/external/kernel-headers/original/asm-generic/
H A Dfcntl.h31 #ifndef O_TRUNC
32 #define O_TRUNC 00001000 /* not fcntl */ macro
/external/yaffs2/yaffs2/direct/
H A Ddtest.c23 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE);
45 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE);
68 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE);
173 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE);
221 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE);
302 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IWRITE | S_IREAD);
378 h = yaffs_open(str, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE);
423 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE);
463 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE);
831 h = yaffs_open("/boot/zlf",O_CREAT | O_TRUNC | O_RDW
[all...]
H A Dyaffsfs.h43 #ifndef O_TRUNC
44 #define O_TRUNC 01000 macro
/external/chromium/chrome/browser/importer/
H A Dfirefox_profile_lock_posix.cc96 lock_fd_ = open(lock_file_.value().c_str(), O_WRONLY | O_CREAT | O_TRUNC,
/external/e2fsprogs/contrib/
H A Dmake-sparse.c58 fd = open(argv[1], O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
/external/qemu/hw/
H A Dgoldfish_memlog.c79 fd = open("mem.log", /* O_CREAT | */ O_TRUNC | O_WRONLY, 0644);
/external/webkit/Tools/Scripts/webkitpy/common/system/
H A Dfile_lock.py62 self._lock_file_descriptor = os.open(self._lock_file_path, os.O_TRUNC | os.O_CREAT)
/external/bison/djgpp/
H A Dsubpipe.c143 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR);
174 int to_in_fd = open(tmp_file_name[1], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); /* pipe from m4 to bison. */
/external/chromium/base/
H A Dplatform_file_posix.cc41 open_flags = O_CREAT | O_TRUNC;
64 open_flags |= O_TRUNC;
/external/valgrind/main/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/tests/
H A Darextract.c106 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666);
H A Dupdate1.c48 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
H A Dupdate2.c49 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
H A Dupdate3.c56 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666);
/external/libnfc-nci/halimpl/bcm2079x/adaptation/
H A DNonVolatileStore.cpp129 fileStream = open (filename, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR);
/external/qemu/
H A Darm-semi.c92 O_WRONLY | O_CREAT | O_TRUNC,
93 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
94 O_RDWR | O_CREAT | O_TRUNC,
95 O_RDWR | O_CREAT | O_TRUNC | O_BINARY,
/external/valgrind/main/none/tests/amd64/
H A Dfaultstatus.c103 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
/external/valgrind/main/none/tests/x86/
H A Dfaultstatus.c121 fd = open("faultstatus.tmp", O_CREAT|O_TRUNC|O_EXCL, 0600);
/external/e2fsprogs/misc/
H A Dlogsave.c254 int openflags = O_CREAT|O_WRONLY|O_TRUNC;
262 openflags &= ~O_TRUNC;
/external/qemu/android/utils/
H A Dmapfile.c66 } if ((oflag & O_TRUNC) == O_TRUNC) {
/external/stlport/src/details/
H A Dfstream_unistd.cpp169 flags = O_WRONLY | O_CREAT | O_TRUNC;
183 flags = O_RDWR | O_CREAT | O_TRUNC;
/external/e2fsprogs/util/
H A Dcopy_sparse.c135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_ufd.c151 ufd_fd = open(temp, O_WRONLY | O_CREAT | O_TRUNC,

Completed in 343 milliseconds

1234