/external/libchrome/base/files/ |
file_posix.cc | 434 int open_flags = 0; local 436 open_flags = O_CREAT | O_EXCL; 441 DCHECK(!open_flags); 443 open_flags = O_CREAT | O_TRUNC; 447 DCHECK(!open_flags); 449 open_flags = O_TRUNC; 452 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { 460 open_flags |= O_RDWR; 462 open_flags |= O_WRONLY; 471 open_flags |= O_NOCTTY | O_NDELAY [all...] |
/system/core/trusty/storage/proxy/ |
storage.c | 52 static uint32_t insert_fd(int open_flags, int fd) 56 if (open_flags & O_CREAT) { 62 if (open_flags & O_TRUNC) { 67 if (open_flags & (O_TRUNC | O_CREAT)) { 244 int open_flags = O_RDWR; local 247 open_flags |= O_TRUNC; 253 open_flags |= O_CREAT | O_EXCL; 254 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); 257 rc = TEMP_FAILURE_RETRY(open(path, open_flags, S_IRUSR | S_IWUSR)); 260 open_flags |= O_CREAT [all...] |
/external/ltp/testcases/kernel/fs/doio/ |
Makefile | 35 $(MAKE_TARGETS): dataascii.o databin.o file_lock.o forker.o open_flags.o \
|
/frameworks/base/core/jni/ |
fd_utils.cpp | 143 const int open_flags; member in class:FileDescriptorInfo 152 FileDescriptorInfo(struct stat stat, const std::string& file_path, int fd, int open_flags, 266 int open_flags = fs_flags & (kOpenFlags); local 269 return new FileDescriptorInfo(f_stat, file_path, fd, open_flags, fd_flags, fs_flags, offset); 290 const int new_fd = TEMP_FAILURE_RETRY(open(file_path.c_str(), open_flags)); 295 open_flags, 347 open_flags(0), 355 int fd, int open_flags, int fd_flags, int fs_flags, 360 open_flags(open_flags), [all...] |
/frameworks/native/libs/binder/ |
MemoryHeapBase.cpp | 64 int open_flags = O_RDWR; local 66 open_flags |= O_SYNC; 68 int fd = open(device, open_flags);
|
/external/strace/tests/ |
file_handle.c | 190 static const struct strval open_flags[] = { local 338 for (k = 0; k < ARRAY_SIZE(open_flags); k++) { 343 open_flags[k].val, 344 open_flags[k].str);
|
qual_fault.c | 106 static const int open_flags = O_WRONLY | O_TRUNC | O_CREAT; local 111 int fd = open(path, open_flags, 0600);
|
/external/strace/tests-m32/ |
file_handle.c | 190 static const struct strval open_flags[] = { local 338 for (k = 0; k < ARRAY_SIZE(open_flags); k++) { 343 open_flags[k].val, 344 open_flags[k].str);
|
qual_fault.c | 106 static const int open_flags = O_WRONLY | O_TRUNC | O_CREAT; local 111 int fd = open(path, open_flags, 0600);
|
/external/strace/tests-mx32/ |
file_handle.c | 190 static const struct strval open_flags[] = { local 338 for (k = 0; k < ARRAY_SIZE(open_flags); k++) { 343 open_flags[k].val, 344 open_flags[k].str);
|
qual_fault.c | 106 static const int open_flags = O_WRONLY | O_TRUNC | O_CREAT; local 111 int fd = open(path, open_flags, 0600);
|
/system/extras/ioshark/ |
ioshark.h | 110 #define open_flags u.open_a.flags macro
|
convert_format.c | 254 new_disk_file_op.open_flags = 258 new_disk_file_op.open_flags = 259 htobe32(new_disk_file_op.open_flags);
|
ioshark_bench.c | 307 if (file_op->open_flags & O_CREAT) { 309 file_op->open_flags, 325 file_op->open_flags, 332 file_op->open_flags); 334 if (file_op->open_flags & O_DIRECTORY) { 342 file_op->open_flags,
|
compile_ioshark_subr.c | 265 file_op->open_flags = htobe32(file_op->open_flags);
|
/external/libbrillo/brillo/streams/ |
file_stream.cc | 213 int open_flags = O_CLOEXEC; local 216 open_flags |= O_RDONLY; 219 open_flags |= O_WRONLY; 222 open_flags |= O_RDWR; 231 open_flags |= O_CREAT | O_TRUNC; 234 open_flags |= O_CREAT | O_EXCL; 237 open_flags |= O_TRUNC; 242 int fd = HANDLE_EINTR(open(path.value().c_str(), open_flags, creation_mode)); 263 // The "proper" solution would be here to add O_TMPFILE flag to |open_flags| 272 int open_flags = O_CLOEXEC | O_RDWR | O_CREAT | O_TRUNC local [all...] |
/external/e2fsprogs/lib/ext2fs/ |
inode_io.c | 119 int open_flags; local 153 open_flags = (flags & IO_FLAG_RW) ? EXT2_FILE_WRITE : 0; 156 &data->inode : 0, open_flags,
|
tdb.h | 147 int open_flags, mode_t mode); 149 int open_flags, mode_t mode,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_gdbm.py | 47 all = set(gdbm.open_flags)
|
/external/fio/engines/ |
libhdfs.c | 129 int open_flags; local 148 open_flags = O_RDONLY; 150 open_flags = O_WRONLY; 157 hd->fp = hdfsOpenFile(hd->fs, fname, open_flags, 0, 0,
|
/external/python/cpython2/Lib/test/ |
test_gdbm.py | 47 all = set(gdbm.open_flags)
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_gdbm.py | 47 all = set(gdbm.open_flags)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_gdbm.py | 47 all = set(gdbm.open_flags)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_gdbm.py | 47 all = set(gdbm.open_flags)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_gdbm.py | 47 all = set(gdbm.open_flags)
|