Searched defs:platform_file (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/content/renderer/pepper/
H A Dhost_array_buffer_var.cc87 base::PlatformFile platform_file = local
96 *plugin_shm_handle = BrokerGetFileHandleForProcess(platform_file, p, false);
H A Dpepper_video_capture_host.cc237 base::PlatformFile platform_file = local
247 dispatcher->ShareHandleWithRemote(platform_file, false),
/external/chromium_org/chrome/common/media_galleries/
H A Dpicasa_types.cc27 void ClosePlatformFile(base::PlatformFile* platform_file) { argument
28 DCHECK(platform_file);
29 if (base::ClosePlatformFile(*platform_file))
30 *platform_file = base::kInvalidPlatformFileValue;
/external/chromium/net/disk_cache/
H A Dfile_win.cc110 base::PlatformFile File::platform_file() const { function in class:disk_cache::File
238 HANDLE file = platform_file();
248 HANDLE file = platform_file();
H A Dfile_posix.cc193 base::PlatformFile File::platform_file() const { function in class:disk_cache::File
/external/chromium_org/chrome/browser/chromeos/drive/
H A Dfileapi_worker_unittest.cc74 base::PlatformFile platform_file,
78 EXPECT_NE(base::kInvalidPlatformFileValue, platform_file);
83 EXPECT_TRUE(base::GetPlatformFileInfo(platform_file, &info));
89 base::WritePlatformFile(platform_file, 0, write_data.c_str(),
91 EXPECT_TRUE(base::TruncatePlatformFile(platform_file, data_size));
94 base::ClosePlatformFile(platform_file);
98 // the |platform_file| handle is pointing to the file.
108 base::PlatformFile platform_file,
112 EXPECT_NE(base::kInvalidPlatformFileValue, platform_file);
118 EXPECT_TRUE(base::GetPlatformFileInfo(platform_file,
69 VerifyWrite( int64 expected_size, const base::FilePath& expected_written_path, const std::string& write_data, base::PlatformFileError result, base::PlatformFile platform_file, const base::Closure& close_callback) argument
106 VerifyRead(const std::string& expected_data, base::PlatformFileError result, base::PlatformFile platform_file, const base::Closure& close_callback) argument
[all...]
H A Dlocal_file_reader.cc13 #include "base/platform_file.h"
26 // Returns the net::Error code. If succeeded, |platform_file| is set to point
31 base::PlatformFile* platform_file) {
32 DCHECK(platform_file);
33 DCHECK_EQ(base::kInvalidPlatformFileValue, *platform_file);
56 *platform_file = file;
60 // Reads the data from the |platform_file| and copies it to the |buffer| at
64 int ReadOnBlockingPool(base::PlatformFile platform_file, argument
67 DCHECK_NE(base::kInvalidPlatformFileValue, platform_file);
69 platform_file, buffe
29 OpenAndSeekOnBlockingPool(const base::FilePath& file_path, int64 offset, base::PlatformFile* platform_file) argument
75 PostCloseIfNeeded(base::TaskRunner* task_runner, base::PlatformFile platform_file) argument
133 ScopedPlatformFile* platform_file = local
160 OpenAfterBlockingPoolTask( const net::CompletionCallback& callback, ScopedPlatformFile* platform_file, int open_result) argument
[all...]
H A Dasync_file_util.cc10 #include "base/platform_file.h"
133 base::PlatformFile platform_file = base::kInvalidPlatformFileValue; local
135 base::PassPlatformFile(&platform_file),
H A Dfileapi_worker.cc146 // Runs |callback| with |error| and |platform_file|.
150 base::PlatformFile platform_file) {
151 callback.Run(*error, platform_file, close_callback);
147 RunOpenFileCallback(const OpenFileCallback& callback, const base::Closure& close_callback, base::PlatformFileError* error, base::PlatformFile platform_file) argument
/external/chromium_org/chrome/utility/media_galleries/
H A Dpmp_column_reader_unittest.cc10 #include "base/platform_file.h"
38 base::PlatformFile platform_file = local
40 if (platform_file == base::kInvalidPlatformFileValue)
43 bool read_success = reader->ReadFile(platform_file, expected_type);
45 base::ClosePlatformFile(platform_file);
/external/chromium_org/net/disk_cache/
H A Dfile_posix.cc61 base::PlatformFile File::platform_file() const { function in class:disk_cache::File
H A Dfile_ios.cc193 base::PlatformFile File::platform_file() const { function in class:disk_cache::File
H A Dfile_win.cc113 base::PlatformFile File::platform_file() const { function in class:disk_cache::File
241 HANDLE file = platform_file();
251 HANDLE file = platform_file();
/external/chromium_org/ppapi/proxy/
H A Dppb_buffer_proxy.cc143 base::PlatformFile platform_file = local
152 dispatcher->ShareHandleWithRemote(platform_file, false), size);
/external/chromium_org/third_party/zlib/google/
H A Dzip_reader_unittest.cc15 #include "base/platform_file.h"
58 base::PlatformFile platform_file() { return file_; } function in class:__anon14905::PlatformFileWrapper
142 ASSERT_TRUE(reader.OpenFromPlatformFile(zip_fd_wrapper.platform_file()));
180 ASSERT_TRUE(reader.OpenFromPlatformFile(zip_fd_wrapper.platform_file()));
234 ASSERT_TRUE(reader.OpenFromPlatformFile(zip_fd_wrapper.platform_file()));
256 ASSERT_TRUE(reader.OpenFromPlatformFile(zip_fd_wrapper.platform_file()));
261 ASSERT_TRUE(reader.ExtractCurrentEntryToFd(out_fd_w.platform_file()));
/external/chromium_org/chrome/browser/media_galleries/fileapi/
H A Ddevice_media_async_file_util.cc302 scoped_refptr<webkit_blob::ShareableFileReference> platform_file,
304 base::FilePath platform_path(platform_file.get()->path());
306 platform_file = NULL;
307 callback.Run(error, file_info, platform_path, platform_file);
299 OnDidCheckMedia( const AsyncFileUtil::CreateSnapshotFileCallback& callback, const base::PlatformFileInfo& file_info, scoped_refptr<webkit_blob::ShareableFileReference> platform_file, base::PlatformFileError error) argument
/external/chromium_org/webkit/browser/fileapi/
H A Dfile_system_usage_cache.cc247 base::PlatformFile platform_file = local
258 inserted.first->second = platform_file;
259 *file = platform_file;
/external/chromium_org/chrome/browser/ui/webui/net_internals/
H A Dnet_internals_ui.cc21 #include "base/platform_file.h"
327 PlatformFile platform_file = pass_platform_file.ReleaseValue(); local
329 platform_file,
331 callback, PassPlatformFile(&platform_file), file_path));

Completed in 599 milliseconds