open_flags 178 base/files/file_posix.cc int open_flags = 0; open_flags 180 base/files/file_posix.cc open_flags = O_CREAT | O_EXCL; open_flags 185 base/files/file_posix.cc DCHECK(!open_flags); open_flags 186 base/files/file_posix.cc open_flags = O_CREAT | O_TRUNC; open_flags 190 base/files/file_posix.cc DCHECK(!open_flags); open_flags 192 base/files/file_posix.cc open_flags = O_TRUNC; open_flags 195 base/files/file_posix.cc if (!open_flags && !(flags & FLAG_OPEN) && !(flags & FLAG_OPEN_ALWAYS)) { open_flags 203 base/files/file_posix.cc open_flags |= O_RDWR; open_flags 205 base/files/file_posix.cc open_flags |= O_WRONLY; open_flags 214 base/files/file_posix.cc open_flags |= O_NOCTTY | O_NDELAY; open_flags 217 base/files/file_posix.cc open_flags |= O_APPEND | O_RDWR; open_flags 219 base/files/file_posix.cc open_flags |= O_APPEND | O_WRONLY; open_flags 228 base/files/file_posix.cc int descriptor = HANDLE_EINTR(open(name.value().c_str(), open_flags, mode)); open_flags 232 base/files/file_posix.cc open_flags |= O_CREAT; open_flags 234 base/files/file_posix.cc open_flags |= O_EXCL; // together with O_CREAT implies O_NOFOLLOW open_flags 236 base/files/file_posix.cc descriptor = HANDLE_EINTR(open(name.value().c_str(), open_flags, mode)); open_flags 129 base/platform_file_posix.cc int open_flags = 0; open_flags 131 base/platform_file_posix.cc open_flags = O_CREAT | O_EXCL; open_flags 137 base/platform_file_posix.cc DCHECK(!open_flags); open_flags 138 base/platform_file_posix.cc open_flags = O_CREAT | O_TRUNC; open_flags 142 base/platform_file_posix.cc DCHECK(!open_flags); open_flags 144 base/platform_file_posix.cc open_flags = O_TRUNC; open_flags 147 base/platform_file_posix.cc if (!open_flags && !(flags & PLATFORM_FILE_OPEN) && open_flags 157 base/platform_file_posix.cc open_flags |= O_RDWR; open_flags 159 base/platform_file_posix.cc open_flags |= O_WRONLY; open_flags 168 base/platform_file_posix.cc open_flags |= O_NOCTTY | O_NDELAY; open_flags 171 base/platform_file_posix.cc open_flags |= O_APPEND | O_RDWR; open_flags 173 base/platform_file_posix.cc open_flags |= O_APPEND | O_WRONLY; open_flags 183 base/platform_file_posix.cc HANDLE_EINTR(open(name.value().c_str(), open_flags, mode)); open_flags 187 base/platform_file_posix.cc open_flags |= O_CREAT; open_flags 190 base/platform_file_posix.cc open_flags |= O_EXCL; // together with O_CREAT implies O_NOFOLLOW open_flags 193 base/platform_file_posix.cc open(name.value().c_str(), open_flags, mode)); open_flags 517 components/nacl/loader/nacl_ipc_adapter.cc TranslatePepperFileReadWriteOpenFlags(iter->open_flags())); open_flags 77 content/browser/renderer_host/pepper/pepper_file_io_host.cc bool FileOpenForWrite(int32_t open_flags) { open_flags 78 content/browser/renderer_host/pepper/pepper_file_io_host.cc return (open_flags & (PP_FILEOPENFLAG_WRITE | PP_FILEOPENFLAG_APPEND)) != 0; open_flags 138 content/browser/renderer_host/pepper/pepper_file_io_host.cc int32_t open_flags) { open_flags 145 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (!ppapi::PepperFileOpenFlagsToPlatformFileFlags(open_flags, open_flags 160 content/browser/renderer_host/pepper/pepper_file_io_host.cc open_flags_ = open_flags; open_flags 167 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (!CanOpenFileSystemURLWithPepperFlags(open_flags, open_flags 182 content/browser/renderer_host/pepper/pepper_file_io_host.cc if (!CanOpenWithPepperFlags(open_flags, render_process_id_, path)) open_flags 453 content/browser/renderer_host/pepper/pepper_file_io_host.cc int32_t open_flags, open_flags 468 content/browser/renderer_host/pepper/pepper_file_io_host.cc file_handle.set_file_handle(transit_file, open_flags, quota_file_io); open_flags 58 content/browser/renderer_host/pepper/pepper_file_io_host.h int32_t open_flags); open_flags 114 content/browser/renderer_host/pepper/pepper_file_io_host.h int32_t open_flags, open_flags 279 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc Error DevFs::Open(const Path& path, int open_flags, ScopedNode* out_node) { open_flags 283 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.cc if ((error == ENOENT) && (open_flags & O_CREAT)) open_flags 18 native_client_sdk/src/libraries/nacl_io/devfs/dev_fs.h virtual Error Open(const Path& path, int open_flags, ScopedNode* out_node); open_flags 72 native_client_sdk/src/libraries/nacl_io/filesystem.h int open_flags, open_flags 67 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc Error FuseFs::Open(const Path& path, int open_flags, ScopedNode* out_node) { open_flags 74 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc fi.flags = open_flags; open_flags 76 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc if (open_flags & (O_CREAT | O_EXCL)) { open_flags 103 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc Error error = node->Init(open_flags); open_flags 113 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc if (open_flags & O_TRUNC) { open_flags 131 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc Error error = node->Init(open_flags); open_flags 209 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc bool FuseFsNode::CanOpen(int open_flags) { open_flags 217 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.cc return Node::CanOpen(open_flags); open_flags 49 native_client_sdk/src/libraries/nacl_io/fusefs/fuse_fs.h virtual bool CanOpen(int open_flags); open_flags 38 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc Error Html5Fs::Open(const Path& path, int open_flags, ScopedNode* out_node) { open_flags 50 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs.cc error = node->Init(open_flags); open_flags 46 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc int32_t OpenFlagsToPPAPIOpenFlags(int open_flags) { open_flags 49 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc switch (open_flags & 3) { open_flags 62 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc if (open_flags & O_CREAT) open_flags 64 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc if (open_flags & O_TRUNC) open_flags 66 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc if (open_flags & O_EXCL) open_flags 259 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc Error Html5FsNode::Init(int open_flags) { open_flags 260 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc Error error = Node::Init(open_flags); open_flags 279 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.cc OpenFlagsToPPAPIOpenFlags(open_flags), open_flags 45 native_client_sdk/src/libraries/nacl_io/html5fs/html5_fs_node.h virtual Error Init(int open_flags); open_flags 68 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc Error HttpFs::Open(const Path& path, int open_flags, ScopedNode* out_node) { open_flags 81 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc Error error = node->Init(open_flags); open_flags 38 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc Error KernelHandle::Init(int open_flags) { open_flags 39 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc handle_attr_.flags = open_flags; open_flags 41 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc if (!node_->CanOpen(open_flags)) { open_flags 45 native_client_sdk/src/libraries/nacl_io/kernel_handle.cc if (open_flags & O_APPEND) { open_flags 48 native_client_sdk/src/libraries/nacl_io/kernel_handle.h Error Init(int open_flags); open_flags 188 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int KernelProxy::open(const char* path, int open_flags) { open_flags 192 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc Error error = AcquireFsAndNode(path, open_flags, &fs, &node); open_flags 199 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc error = handle->Init(open_flags); open_flags 1557 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc int open_flags = O_RDWR; open_flags 1564 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc open_flags |= O_CLOEXEC; open_flags 1570 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc open_flags |= O_NONBLOCK; open_flags 1603 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc rtn = handle->Init(open_flags); open_flags 68 native_client_sdk/src/libraries/nacl_io/kernel_proxy.h virtual int open(const char* path, int open_flags); open_flags 94 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc Error MemFs::Open(const Path& path, int open_flags, ScopedNode* out_node) { open_flags 101 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc if ((open_flags & O_CREAT) == 0) open_flags 111 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc error = node->Init(open_flags); open_flags 123 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc if (node->IsaDir() && (open_flags & 3) != O_RDONLY) open_flags 127 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc if (open_flags & O_EXCL) open_flags 130 native_client_sdk/src/libraries/nacl_io/memfs/mem_fs.cc if (open_flags & O_TRUNC) open_flags 44 native_client_sdk/src/libraries/nacl_io/node.cc Error Node::Init(int open_flags) { return 0; } open_flags 61 native_client_sdk/src/libraries/nacl_io/node.cc bool Node::CanOpen(int open_flags) { open_flags 62 native_client_sdk/src/libraries/nacl_io/node.cc switch (open_flags & 3) { open_flags 41 native_client_sdk/src/libraries/nacl_io/node.h virtual Error Init(int open_flags); open_flags 46 native_client_sdk/src/libraries/nacl_io/node.h virtual bool CanOpen(int open_flags); open_flags 285 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc Error TcpNode::Init(int open_flags) { open_flags 286 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc Error err = SocketNode::Init(open_flags); open_flags 26 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.h virtual Error Init(int open_flags); open_flags 165 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc Error UdpNode::Init(int open_flags) { open_flags 166 native_client_sdk/src/libraries/nacl_io/socket/udp_node.cc Error err = SocketNode::Init(open_flags); open_flags 24 native_client_sdk/src/libraries/nacl_io/socket/udp_node.h virtual Error Init(int open_flags); open_flags 21 native_client_sdk/src/libraries/nacl_io/stream/stream_node.cc Error StreamNode::Init(int open_flags) { open_flags 22 native_client_sdk/src/libraries/nacl_io/stream/stream_node.cc Node::Init(open_flags); open_flags 23 native_client_sdk/src/libraries/nacl_io/stream/stream_node.cc if (open_flags & O_NONBLOCK) open_flags 41 native_client_sdk/src/libraries/nacl_io/stream/stream_node.h virtual Error Init(int open_flags); open_flags 51 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t open_flags; open_flags 299 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc int32_t open_flags, open_flags 306 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc bool flag_write = !!(open_flags & PP_FILEOPENFLAG_WRITE); open_flags 307 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc bool flag_create = !!(open_flags & PP_FILEOPENFLAG_CREATE); open_flags 308 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc bool flag_truncate = !!(open_flags & PP_FILEOPENFLAG_TRUNCATE); open_flags 309 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc bool flag_exclusive = !!(open_flags & PP_FILEOPENFLAG_EXCLUSIVE); open_flags 310 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc bool flag_append = !!(open_flags & PP_FILEOPENFLAG_APPEND); open_flags 337 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc file_io_resource->open_flags = open_flags; open_flags 373 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if ((file_io_resource->open_flags & PP_FILEOPENFLAG_READ) != open_flags 395 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if ((file_io_resource->open_flags & PP_FILEOPENFLAG_WRITE) != open_flags 404 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if ((file_io_resource->open_flags & PP_FILEOPENFLAG_APPEND) == open_flags 422 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc if ((file_io_resource->open_flags & PP_FILEOPENFLAG_WRITE) != open_flags 454 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.cc file_io_resource->open_flags = 0; open_flags 107 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_pepper_interface_html5_fs.h int32_t open_flags, open_flags 79 net/base/file_stream.cc int FileStream::Open(const base::FilePath& path, int open_flags, open_flags 86 net/base/file_stream.cc DCHECK(open_flags & base::File::FLAG_ASYNC); open_flags 87 net/base/file_stream.cc context_->OpenAsync(path, open_flags, callback); open_flags 91 net/base/file_stream.cc int FileStream::OpenSync(const base::FilePath& path, int open_flags) { open_flags 100 net/base/file_stream.cc return context_->OpenSync(path, open_flags); open_flags 82 net/base/file_stream.h virtual int Open(const base::FilePath& path, int open_flags, open_flags 92 net/base/file_stream.h virtual int OpenSync(const base::FilePath& path, int open_flags); open_flags 86 net/base/file_stream_context.cc int open_flags, open_flags 95 net/base/file_stream_context.cc &Context::OpenFileImpl, base::Unretained(this), path, open_flags), open_flags 109 net/base/file_stream_context.cc int FileStream::Context::OpenSync(const base::FilePath& path, int open_flags) { open_flags 113 net/base/file_stream_context.cc OpenResult result = OpenFileImpl(path, open_flags); open_flags 118 net/base/file_stream_context.cc if (open_flags & base::File::FLAG_ASYNC) open_flags 221 net/base/file_stream_context.cc const base::FilePath& path, int open_flags) { open_flags 224 net/base/file_stream_context.cc open_flags &= ~base::File::FLAG_ASYNC; open_flags 230 net/base/file_stream_context.cc DCHECK_EQ(open_flags & ~base::File::FLAG_ASYNC, open_flags 241 net/base/file_stream_context.cc open_flags |= base::File::FLAG_SHARE_DELETE; open_flags 242 net/base/file_stream_context.cc file.Initialize(path, open_flags); open_flags 114 net/base/file_stream_context.h int open_flags, open_flags 116 net/base/file_stream_context.h int OpenSync(const base::FilePath& path, int open_flags); open_flags 162 net/base/file_stream_context.h OpenResult OpenFileImpl(const base::FilePath& path, int open_flags); open_flags 44 net/base/mock_file_stream.cc int MockFileStream::OpenSync(const base::FilePath& path, int open_flags) { open_flags 46 net/base/mock_file_stream.cc return ReturnError(FileStream::OpenSync(path, open_flags)); open_flags 32 net/base/mock_file_stream.h virtual int OpenSync(const base::FilePath& path, int open_flags) OVERRIDE; open_flags 126 ppapi/c/ppb_file_io.h int32_t open_flags, open_flags 307 ppapi/c/ppb_file_io.h int32_t open_flags, open_flags 49 ppapi/cpp/file_io.cc int32_t open_flags, open_flags 53 ppapi/cpp/file_io.cc pp_resource(), file_ref.pp_resource(), open_flags, open_flags 57 ppapi/cpp/file_io.cc pp_resource(), file_ref.pp_resource(), open_flags, open_flags 65 ppapi/cpp/file_io.h int32_t open_flags, open_flags 273 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M14_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { open_flags 275 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Open(file_io, file_ref, open_flags, *callback); open_flags 327 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c static int32_t Pnacl_M25_PPB_FileIO_Open(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback* callback) { open_flags 329 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c return iface->Open(file_io, file_ref, open_flags, *callback); open_flags 4304 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback))&Pnacl_M14_PPB_FileIO_Open, open_flags 4317 ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_shim.c .Open = (int32_t (*)(PP_Resource file_io, PP_Resource file_ref, int32_t open_flags, struct PP_CompletionCallback callback))&Pnacl_M25_PPB_FileIO_Open, open_flags 133 ppapi/proxy/file_io_resource.cc int32_t open_flags, open_flags 150 ppapi/proxy/file_io_resource.cc open_flags_ = open_flags; open_flags 170 ppapi/proxy/file_io_resource.cc open_flags), open_flags 40 ppapi/proxy/file_io_resource.h int32_t open_flags, open_flags 274 ppapi/proxy/ppapi_param_traits.cc r->set_file_handle(desc, header.open_flags, header.file_io); open_flags 107 ppapi/proxy/serialized_handle.cc if (!pickle->WriteInt(hdr.open_flags) || !pickle->WriteInt(hdr.file_io)) open_flags 130 ppapi/proxy/serialized_handle.cc int open_flags = 0; open_flags 132 ppapi/proxy/serialized_handle.cc if (!iter->ReadInt(&open_flags) || !iter->ReadInt(&file_io)) open_flags 134 ppapi/proxy/serialized_handle.cc hdr->open_flags = open_flags; open_flags 36 ppapi/proxy/serialized_handle.h Header() : type(INVALID), size(0), open_flags(0) {} open_flags 43 ppapi/proxy/serialized_handle.h open_flags(open_flags_arg), open_flags 49 ppapi/proxy/serialized_handle.h int32 open_flags; open_flags 80 ppapi/proxy/serialized_handle.h int32 open_flags() const { open_flags 101 ppapi/proxy/serialized_handle.h int32 open_flags, open_flags 108 ppapi/proxy/serialized_handle.h open_flags_ = open_flags; open_flags 54 ppapi/tests/test_file_io.cc std::string ReportOpenError(int32_t open_flags) { open_flags 67 ppapi/tests/test_file_io.cc if (mask & open_flags) { open_flags 1268 ppapi/tests/test_file_io.cc size_t open_flags, open_flags 1319 ppapi/tests/test_file_io.cc callback.WaitForResult(existent_file_io.Open(existent_file_ref, open_flags, open_flags 1325 ppapi/tests/test_file_io.cc return ReportOpenError(open_flags); open_flags 1335 ppapi/tests/test_file_io.cc return ReportOpenError(open_flags); open_flags 1340 ppapi/tests/test_file_io.cc open_flags, open_flags 1346 ppapi/tests/test_file_io.cc return ReportOpenError(open_flags); open_flags 60 ppapi/tests/test_file_io.h size_t open_flags, open_flags 24 ppapi/thunk/ppb_file_io_api.h int32_t open_flags, open_flags 36 ppapi/thunk/ppb_file_io_thunk.cc int32_t open_flags, open_flags 43 ppapi/thunk/ppb_file_io_thunk.cc open_flags, open_flags 106 webkit/browser/fileapi/local_file_stream_writer.cc int open_flags = 0; open_flags 109 webkit/browser/fileapi/local_file_stream_writer.cc open_flags = kOpenFlagsForWrite; open_flags 112 webkit/browser/fileapi/local_file_stream_writer.cc open_flags = kCreateFlagsForWrite; open_flags 117 webkit/browser/fileapi/local_file_stream_writer.cc open_flags,