Home
last modified time | relevance | path

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

123

/external/yaffs2/yaffs2/direct/
Ddtest.c23 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in copy_in_a_file()
45 outh = yaffs_open(yaffsName, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in make_a_file()
68 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in make_pattern_file()
173 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in create_file_of_size()
221 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in create_resized_file_of_size()
302 h = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IWRITE | S_IREAD); in yaffs_device_flush_test()
378 h = yaffs_open(str, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in fill_disk()
423 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE); in fill_files()
463 h = yaffs_open(str, O_CREAT | O_TRUNC | O_RDWR,S_IREAD | S_IWRITE); in leave_unlinked_file()
831 h = yaffs_open("/boot/zlf",O_CREAT | O_TRUNC | O_RDWR,0); in long_test()
[all …]
Dyaffsfs.h43 #ifndef O_TRUNC
44 #define O_TRUNC 01000 macro
/external/kernel-headers/original/asm-generic/
Dfcntl.h21 #ifndef O_TRUNC
22 #define O_TRUNC 00001000 /* not fcntl */ macro
/external/qemu/
Darm-semi.c93 O_WRONLY | O_CREAT | O_TRUNC,
94 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY,
95 O_RDWR | O_CREAT | O_TRUNC,
96 O_RDWR | O_CREAT | O_TRUNC | O_BINARY,
/external/bison/djgpp/
Dsubpipe.c143 from_in_fd = open(tmp_file_name[0], O_WRONLY | O_CREAT | O_TRUNC, S_IWUSR); in create_subpipe()
174 …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/e2fsprogs/misc/
Dlogsave.c185 int openflags = O_CREAT|O_WRONLY|O_TRUNC; in main()
193 openflags &= ~O_TRUNC; in main()
De2image.c677 fd = open64(image_fn, O_CREAT|O_TRUNC|O_WRONLY, 0600); in main()
679 fd = open(image_fn, O_CREAT|O_TRUNC|O_WRONLY, 0600); in main()
/external/qemu/android/utils/
Dmapfile.c66 } if ((oflag & O_TRUNC) == O_TRUNC) { in mapfile_open()
Dfilelock.c190 pidfile_fd = open( lock->temp, O_WRONLY | O_CREAT | O_TRUNC ); in filelock_lock()
197 pidfile_fd = open( lock->temp, O_WRONLY | O_CREAT | O_TRUNC ); in filelock_lock()
/external/stlport/src/details/
Dfstream_unistd.cpp169 flags = O_WRONLY | O_CREAT | O_TRUNC; in _M_open()
183 flags = O_RDWR | O_CREAT | O_TRUNC; in _M_open()
/external/qemu/hw/
Dgoldfish_memlog.c72 fd = open("mem.log", /* O_CREAT | */ O_TRUNC | O_WRONLY, 0644); in goldfish_memlog_init()
/external/chromium/base/
Dplatform_file_posix.cc26 open_flags = O_CREAT | O_TRUNC; in CreatePlatformFile()
/external/e2fsprogs/debugfs/
Ddump.c177 fd = open(out_fn, O_CREAT | O_WRONLY | O_TRUNC | O_LARGEFILE, 0666); in do_dump()
261 fd = open(fullname, O_WRONLY | O_CREAT | O_TRUNC | O_LARGEFILE, S_IRWXU); in rdump_inode()
/external/elfutils/tests/
Darextract.c94 outfd = open (argv[3], O_CREAT | O_TRUNC | O_RDWR, 0666); in main()
Dupdate1.c36 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); in main()
Dupdate2.c37 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); in main()
Dupdate3.c44 fd = open (fname, O_RDWR | O_CREAT | O_TRUNC, 0666); in main()
/external/zlib/examples/
Dgzlog.c952 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_compress()
962 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_compress()
1013 fd = open(log->path, O_WRONLY | O_CREAT | O_TRUNC, 0644); in gzlog_write()
/external/bluetooth/glib/glib/
Dgiounix.c498 flags = O_WRONLY | O_TRUNC | O_CREAT; in g_io_channel_new_file()
507 flags = O_RDWR | O_TRUNC | O_CREAT; in g_io_channel_new_file()
/external/e2fsprogs/util/
Dcopy_sparse.c135 ofd = open(dest, O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0777); in copy_sparse_file()
/external/bsdiff/
Dbspatch.c197 if(((fd=open(argv[2],O_CREAT|O_TRUNC|O_WRONLY,0666))<0) || in main()
/external/bluetooth/bluez/sbc/
Dsbcdec.c91 ad = open(output, O_WRONLY | O_CREAT | O_TRUNC, 0644); in decode()
/external/protobuf/src/google/protobuf/compiler/
Dcommand_line_interface.cc315 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in WriteAllToDisk()
375 open(filename.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in WriteAllToZip()
1296 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0666); in WriteDescriptorSet()
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc461 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
492 open(filename.c_str(), O_RDWR | O_CREAT | O_TRUNC | O_BINARY, 0777); in TEST_F()
/external/clearsilver/util/
Dneo_files.c121 fd = open (path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP ); in ne_save_file()

123