/external/chromium/base/ |
platform_file_posix.cc | 35 int open_flags = 0; local 37 open_flags = O_CREAT | O_EXCL; 40 DCHECK(!open_flags); 41 open_flags = O_CREAT | O_TRUNC; 44 if (!open_flags && !(flags & PLATFORM_FILE_OPEN) && 53 open_flags |= O_RDWR; 55 open_flags |= O_WRONLY; 64 open_flags |= O_TRUNC; 70 HANDLE_EINTR(open(name.value().c_str(), open_flags, S_IRUSR | S_IWUSR)); 77 open_flags |= O_CREAT [all...] |
/external/chromium/net/base/ |
file_stream.h | 52 // open_flags is a bitfield of base::PlatformFileFlags 53 int Open(const FilePath& path, int open_flags);
|
file_stream_posix.cc | 305 int FileStream::Open(const FilePath& path, int open_flags) { 311 open_flags_ = open_flags;
|
file_stream_win.cc | 156 int FileStream::Open(const FilePath& path, int open_flags) { 162 open_flags_ = open_flags;
|
/frameworks/base/libs/binder/ |
MemoryHeapBase.cpp | 70 int open_flags = O_RDWR; local 72 open_flags |= O_SYNC; 74 int fd = open(device, open_flags);
|
/frameworks/compile/libbcc/lib/ExecutionEngine/ |
FileHandle.cpp | 33 static int const open_flags[2] = { local 50 mFD = ::open(filename, open_flags[mode], 0644);
|
/external/qemu/block/ |
raw-posix.c | 108 int open_flags; member in struct:BDRVRawState 131 int bdrv_flags, int open_flags) 136 s->open_flags = open_flags | O_BINARY; 137 s->open_flags &= ~O_ACCMODE; 139 s->open_flags |= O_RDWR; 141 s->open_flags |= O_RDONLY; 147 s->open_flags |= O_DIRECT; 149 s->open_flags |= O_DSYNC; 152 fd = qemu_open(filename, s->open_flags, 0644) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
inode_io.c | 120 int open_flags; local 154 open_flags = (flags & IO_FLAG_RW) ? EXT2_FILE_WRITE : 0; 157 &data->inode : 0, open_flags,
|
tdb.h | 146 int open_flags, mode_t mode); 148 int open_flags, mode_t mode,
|
unix_io.c | 417 int open_flags; local 453 open_flags = (flags & IO_FLAG_RW) ? O_RDWR : O_RDONLY; 455 open_flags |= O_EXCL; 457 data->dev = open64(io->name, open_flags); 459 data->dev = open(io->name, open_flags);
|
/external/e2fsprogs/debugfs/ |
debugfs.c | 48 static void open_filesystem(char *device, int open_flags, blk_t superblock, 62 if ((open_flags & EXT2_FLAG_IMAGE_FILE) == 0) { 76 if (catastrophic && (open_flags & EXT2_FLAG_RW)) { 79 open_flags &= ~EXT2_FLAG_RW; 82 retval = ext2fs_open(device, open_flags, superblock, blocksize, 130 int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES; local 137 open_flags |= EXT2_FLAG_IMAGE_FILE; 140 open_flags |= EXT2_FLAG_RW; 143 open_flags |= EXT2_FLAG_FORCE; 146 open_flags |= EXT2_FLAG_EXCLUSIVE 2147 int open_flags = EXT2_FLAG_SOFTSUPP_FEATURES; local [all...] |
/external/qemu/ |
block.c | 412 int ret, open_flags; local 420 bs->open_flags = flags; 446 open_flags = flags & ~(BDRV_O_SNAPSHOT | BDRV_O_NO_BACKING); 452 open_flags |= BDRV_O_RDWR; 457 ret = drv->bdrv_file_open(bs, filename, open_flags); 459 ret = bdrv_file_open(&bs->file, filename, open_flags); 461 ret = drv->bdrv_open(bs, open_flags); 469 bs->keep_read_only = bs->read_only = !(open_flags & BDRV_O_RDWR); 749 int n, ro, open_flags; local 768 open_flags = bs->backing_hd->open_flags [all...] |
/external/bluetooth/glib/gio/ |
glocalfileoutputstream.c | 670 int open_flags; local 682 open_flags = O_RDWR | O_CREAT | O_BINARY; 684 open_flags = O_WRONLY | O_CREAT | O_BINARY; 690 fd = g_open (filename, open_flags | O_NOFOLLOW, mode); 696 fd = g_open (filename, open_flags, mode); 699 fd = g_open (filename, open_flags, mode);
|
/bionic/libc/kernel/common/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/development/ndk/platforms/android-3/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/linux/ |
nfs_xdr.h | 81 int open_flags; member in struct:nfs_openargs 124 int open_flags; member in struct:nfs_closeargs
|
/external/bluetooth/hcidump/src/ |
hcidump.c | 457 int fd, len, open_flags; local 460 open_flags = O_WRONLY | O_CREAT | O_TRUNC; 462 open_flags = O_RDONLY; 464 fd = open(file, open_flags, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
|