/external/chromium_org/native_client_sdk/src/libraries/nacl_io/stream/ |
stream_node.cc | 22 Error StreamNode::Init(int open_flags) { 23 Node::Init(open_flags); 24 if (open_flags & O_NONBLOCK)
|
stream_node.h | 41 virtual Error Init(int open_flags);
|
/external/chromium_org/ppapi/proxy/ |
serialized_handle.h | 36 Header() : type(INVALID), size(0), open_flags(0) {} 43 open_flags(open_flags_arg), 49 int32 open_flags; member in struct:ppapi::proxy::SerializedHandle::Header 80 int32 open_flags() const { function in class:ppapi::proxy::SerializedHandle 101 int32 open_flags, 108 open_flags_ = open_flags;
|
serialized_handle.cc | 101 if (!pickle->WriteInt(hdr.open_flags) || !pickle->WriteInt(hdr.file_io)) 124 int open_flags = 0; local 126 if (!iter->ReadInt(&open_flags) || !iter->ReadInt(&file_io)) 128 hdr->open_flags = open_flags;
|
/external/chromium_org/net/base/ |
file_stream.cc | 25 int FileStream::Open(const base::FilePath& path, int open_flags, 32 DCHECK(open_flags & base::File::FLAG_ASYNC); 33 context_->Open(path, open_flags, callback);
|
file_stream_context.cc | 88 int open_flags, 96 &Context::OpenFileImpl, base::Unretained(this), path, open_flags), 151 const base::FilePath& path, int open_flags) { 154 open_flags &= ~base::File::FLAG_ASYNC; 160 DCHECK_EQ(open_flags & ~base::File::FLAG_ASYNC, 171 open_flags |= base::File::FLAG_SHARE_DELETE; 172 file.Initialize(path, open_flags);
|
file_stream.h | 46 // Open() was called, with the result code. open_flags is a bitfield of 53 virtual int Open(const base::FilePath& path, int open_flags,
|
/external/chromium_org/base/files/ |
file_posix.cc | 176 int open_flags = 0; local 178 open_flags = O_CREAT | O_EXCL; 183 DCHECK(!open_flags); 185 open_flags = O_CREAT | O_TRUNC; 189 DCHECK(!open_flags); 191 open_flags = O_TRUNC; 194 if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { 202 open_flags |= O_RDWR; 204 open_flags |= O_WRONLY; 213 open_flags |= O_NOCTTY | O_NDELAY [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/passthroughfs/ |
passthrough_fs.h | 21 virtual Error OpenWithMode(const Path& path, int open_flags, mode_t mode,
|
passthrough_fs.cc | 25 Error PassthroughFs::OpenWithMode(const Path& path, int open_flags, 29 int error = _real_open(path.Join().c_str(), open_flags, mode, &real_fd);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
filesystem.cc | 43 int open_flags, 45 return OpenWithMode(path, open_flags, 0666, out_node);
|
filesystem.h | 69 int open_flags, 77 int open_flags,
|
node.h | 42 virtual Error Init(int open_flags); 47 virtual bool CanOpen(int open_flags);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/html5fs/ |
html5_fs_node.cc | 47 int32_t OpenFlagsToPPAPIOpenFlags(int open_flags) { 50 switch (open_flags & 3) { 63 if (open_flags & O_CREAT) 65 if (open_flags & O_TRUNC) 67 if (open_flags & O_EXCL) 260 Error Html5FsNode::Init(int open_flags) { 261 Error error = Node::Init(open_flags); 299 OpenFlagsToPPAPIOpenFlags(open_flags),
|
html5_fs_node.h | 47 virtual Error Init(int open_flags);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/devfs/ |
dev_fs.h | 17 virtual Error OpenWithMode(const Path& path, int open_flags, mode_t mode,
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/ |
mem_fs.h | 32 virtual Error OpenWithMode(const Path& path, int open_flags, mode_t mode,
|
mem_fs.cc | 78 Error MemFs::OpenWithMode(const Path& path, int open_flags, mode_t mode, 86 if ((open_flags & O_CREAT) == 0) 96 error = node->Init(open_flags); 109 if (node->IsaDir() && (open_flags & 3) != O_RDONLY) 113 if (open_flags & O_EXCL) 116 if (open_flags & O_TRUNC)
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/ |
udp_node.h | 24 virtual Error Init(int open_flags);
|
/external/chromium_org/ppapi/tests/ |
test_file_io.h | 60 size_t open_flags,
|
/external/chromium_org/content/browser/renderer_host/pepper/ |
pepper_file_io_host.cc | 77 bool FileOpenForWrite(int32_t open_flags) { 78 return (open_flags & (PP_FILEOPENFLAG_WRITE | PP_FILEOPENFLAG_APPEND)) != 0; 153 int32_t open_flags) { 160 if (!ppapi::PepperFileOpenFlagsToPlatformFileFlags(open_flags, 175 open_flags_ = open_flags; 203 open_flags, render_process_id_, file_system_url_)) 215 if (!CanOpenWithPepperFlags(open_flags, render_process_id_, path)) 477 int32_t open_flags, 493 file_handle.set_file_handle(transit_file, open_flags, quota_file_io);
|
pepper_file_io_host.h | 58 int32_t open_flags); 108 // Adds file_ to |reply_context| with the specified |open_flags|. 110 int32_t open_flags,
|
/frameworks/native/libs/binder/ |
MemoryHeapBase.cpp | 65 int open_flags = O_RDWR; local 67 open_flags |= O_SYNC; 69 int fd = open(device, open_flags);
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/fusefs/ |
fuse_fs.cc | 60 Error FuseFs::OpenWithMode(const Path& path, int open_flags, mode_t mode, 68 fi.flags = open_flags; 70 if (open_flags & (O_CREAT | O_EXCL)) { 97 Error error = node->Init(open_flags); 109 if (open_flags & O_TRUNC) { 131 Error error = node->Init(open_flags); 219 bool FuseFsNode::CanOpen(int open_flags) { 226 // which will check this mode against open_flags. 227 return Node::CanOpen(open_flags);
|
fuse_fs.h | 24 virtual Error OpenWithMode(const Path& path, int open_flags, mode_t mode, 49 virtual bool CanOpen(int open_flags);
|