HomeSort by relevance Sort by last modified time
    Searched refs:platform_file_ (Results 1 - 8 of 8) sorted by null

  /external/chromium_org/chrome/browser/chromeos/drive/
local_file_reader.cc 92 platform_file_(base::kInvalidPlatformFileValue) {
97 PostCloseIfNeeded(task_runner_.get(), platform_file_);
100 base::PlatformFile* ptr() { return &platform_file_; }
103 base::PlatformFile result = platform_file_;
104 platform_file_ = base::kInvalidPlatformFileValue;
110 base::PlatformFile platform_file_; member in class:drive::util::LocalFileReader::ScopedPlatformFile
118 platform_file_(base::kInvalidPlatformFileValue),
124 PostCloseIfNeeded(sequenced_task_runner_.get(), platform_file_);
131 DCHECK_EQ(base::kInvalidPlatformFileValue, platform_file_);
150 DCHECK_NE(base::kInvalidPlatformFileValue, platform_file_);
    [all...]
local_file_reader.h 63 base::PlatformFile platform_file_; member in class:drive::util::LocalFileReader
  /external/chromium/net/disk_cache/
file_posix.cc 172 platform_file_(file),
183 platform_file_ = base::CreatePlatformFile(name, flags, NULL, NULL);
184 if (platform_file_ < 0) {
185 platform_file_ = 0;
194 return platform_file_;
200 return (base::kInvalidPlatformFileValue != platform_file_);
208 int ret = pread(platform_file_, buffer, buffer_len, offset);
217 int ret = pwrite(platform_file_, buffer, buffer_len, offset);
259 return 0 == ftruncate(platform_file_, length);
264 size_t ret = lseek(platform_file_, 0, SEEK_END)
    [all...]
file_win.cc 70 : init_(true), mixed_(true), platform_file_(INVALID_HANDLE_VALUE),
81 platform_file_ = CreateFile(name.value().c_str(), access, sharing, NULL,
84 if (INVALID_HANDLE_VALUE == platform_file_)
88 platform_file_, g_completion_handler.Pointer());
104 if (INVALID_HANDLE_VALUE != platform_file_)
105 CloseHandle(platform_file_);
112 return (INVALID_HANDLE_VALUE == platform_file_) ? sync_platform_file_ :
113 platform_file_;
119 return (INVALID_HANDLE_VALUE != platform_file_ ||
176 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped()))
    [all...]
file.h 81 base::PlatformFile platform_file_; // Regular, asynchronous IO handle. member in class:disk_cache::File
  /external/chromium_org/net/disk_cache/
file_posix.cc 174 platform_file_(file),
185 platform_file_ = base::CreatePlatformFile(name, flags, NULL, NULL);
186 if (platform_file_ < 0) {
187 platform_file_ = 0;
196 return platform_file_;
202 return (base::kInvalidPlatformFileValue != platform_file_);
211 int ret = base::ReadPlatformFile(platform_file_, offset,
222 int ret = base::WritePlatformFile(platform_file_, offset,
266 return base::TruncatePlatformFile(platform_file_, length);
271 off_t ret = lseek(platform_file_, 0, SEEK_END)
    [all...]
file_win.cc 73 : init_(true), mixed_(true), platform_file_(INVALID_HANDLE_VALUE),
84 platform_file_ = CreateFile(name.value().c_str(), access, sharing, NULL,
87 if (INVALID_HANDLE_VALUE == platform_file_)
91 platform_file_, g_completion_handler.Pointer());
107 if (INVALID_HANDLE_VALUE != platform_file_)
108 CloseHandle(platform_file_);
115 return (INVALID_HANDLE_VALUE == platform_file_) ? sync_platform_file_ :
116 platform_file_;
122 return (INVALID_HANDLE_VALUE != platform_file_ ||
179 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped()))
    [all...]
file.h 87 base::PlatformFile platform_file_; // Regular, asynchronous IO handle. member in class:disk_cache::File

Completed in 118 milliseconds