Home
last modified time | relevance | path

Searched refs:file_handle_ (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/ppapi/proxy/
Dfile_io_resource.cc52 : file_handle_(file_handle) { in QueryOp()
53 DCHECK(file_handle_); in QueryOp()
60 return base::GetPlatformFileInfo(file_handle_->raw_handle(), &file_info_) ? in DoWork()
67 : file_handle_(file_handle), in ReadOp()
70 DCHECK(file_handle_); in ReadOp()
80 file_handle_->raw_handle(), offset_, buffer_.get(), bytes_to_read_); in DoWork()
151 if (!FileHandleHolder::IsValid(file_handle_)) in Query()
166 if (base::GetPlatformFileInfo(file_handle_->raw_handle(), &file_info)) in Query()
181 scoped_refptr<QueryOp> query_op(new QueryOp(file_handle_)); in Query()
296 if (file_handle_) in Close()
[all …]
Dfile_io_resource.h88 explicit FileHandleHolder(PP_FileHandle file_handle_);
115 scoped_refptr<FileHandleHolder> file_handle_; variable
136 scoped_refptr<FileHandleHolder> file_handle_; variable
165 scoped_refptr<FileHandleHolder> file_handle_; variable
/external/chromium_org/base/files/
Dfile_util_proxy.cc32 file_handle_(kInvalidPlatformFileValue), in CreateOrOpenHelper()
37 if (file_handle_ != kInvalidPlatformFileValue) { in ~CreateOrOpenHelper()
40 base::Bind(base::IgnoreResult(close_task_), file_handle_)); in ~CreateOrOpenHelper()
45 error_ = task.Run(&file_handle_, &created_); in RunWork()
50 callback.Run(error_, PassPlatformFile(&file_handle_), created_); in Reply()
56 PlatformFile file_handle_; member in base::__anonf6df32f30111::CreateOrOpenHelper
66 file_handle_(kInvalidPlatformFileValue), in CreateTemporaryHelper()
70 if (file_handle_ != kInvalidPlatformFileValue) { in ~CreateTemporaryHelper()
72 task_runner_.get(), file_handle_, FileUtilProxy::StatusCallback()); in ~CreateTemporaryHelper()
88 file_handle_ = CreatePlatformFile(file_path_, file_flags, NULL, &error_); in RunWork()
[all …]
/external/chromium/base/
Dfile_util_proxy.cc128 file_handle_(base::kInvalidPlatformFileValue), in RelayCreateOrOpen()
135 if (file_handle_ != base::kInvalidPlatformFileValue) in ~RelayCreateOrOpen()
136 base::FileUtilProxy::Close(message_loop_proxy_, file_handle_, NULL); in ~RelayCreateOrOpen()
146 file_handle_ = base::CreatePlatformFile(file_path_, file_flags_, in RunWork()
152 callback_->Run(error_code(), base::PassPlatformFile(&file_handle_), in RunCallback()
162 base::PlatformFile file_handle_; member in __anon12a22cca0111::RelayCreateOrOpen
173 file_handle_(base::kInvalidPlatformFileValue) { in RelayCreateTemporary()
179 if (file_handle_ != base::kInvalidPlatformFileValue) in ~RelayCreateTemporary()
180 base::FileUtilProxy::Close(message_loop_proxy_, file_handle_, NULL); in ~RelayCreateTemporary()
196 file_handle_ = base::CreatePlatformFile(file_path_, file_flags, in RunWork()
[all …]
/external/chromium_org/ppapi/native_client/src/trusted/plugin/
Dfile_downloader.h54 file_handle_(PP_kInvalidFileHandle), in FileDownloader()
188 PP_FileHandle file_handle_; variable
Dfile_downloader.cc190 file_handle_ = file_handle; in OpenFast()
199 } else if (not_streaming() && file_handle_ != PP_kInvalidFileHandle) { in GetFileInfo()
200 cached_file_info_.desc = ConvertFileDescriptor(file_handle_); in GetFileInfo()
/external/chromium_org/chrome/installer/util/
Dinstall_util.cc581 file_handle_(base::kInvalidPlatformFileValue), in ProgramCompare()
584 if (!OpenForInfo(path_to_match_, &file_handle_)) { in ProgramCompare()
587 } else if (!GetInfo(file_handle_, &file_info_)) { in ProgramCompare()
591 file_handle_.Close(); in ProgramCompare()
621 if (!file_handle_.IsValid()) in EvaluatePath()
Dinstall_util.h199 base::win::ScopedHandle file_handle_; variable
/external/chromium_org/chrome/browser/ui/webui/net_internals/
Dnet_internals_ui.cc229 : file_handle_(base::kInvalidPlatformFileValue), in DebugLogFileHelper()
248 file_handle_ = base::CreatePlatformFile(file_path_, flags, in DoWork()
254 callback.Run(PassPlatformFile(&file_handle_), created_, error_, file_path_); in Reply()
258 PlatformFile file_handle_; member in __anon42f4ebd90111::DebugLogFileHelper