Searched refs:platform_file_ (Results 1 – 3 of 3) sorted by relevance
/external/chromium/net/disk_cache/ |
D | file_posix.cc | 253 : init_(true), mixed_(true), platform_file_(file) { in File() 263 platform_file_ = base::CreatePlatformFile(name, flags, NULL); in Init() 264 if (platform_file_ < 0) { in Init() 265 platform_file_ = 0; in Init() 274 if (platform_file_) in ~File() 275 close(platform_file_); in ~File() 279 return platform_file_; in platform_file() 285 return (base::kInvalidPlatformFileValue != platform_file_); in IsValid() 293 int ret = pread(platform_file_, buffer, buffer_len, offset); in Read() 302 int ret = pwrite(platform_file_, buffer, buffer_len, offset); in Write() [all …]
|
D | file_win.cc | 77 : init_(true), mixed_(true), platform_file_(INVALID_HANDLE_VALUE), in File() 86 platform_file_ = CreateFile(name.value().c_str(), in Init() 91 if (INVALID_HANDLE_VALUE == platform_file_) in Init() 95 platform_file_, Singleton<CompletionHandler>::get()); in Init() 113 if (INVALID_HANDLE_VALUE != platform_file_) in ~File() 114 CloseHandle(platform_file_); in ~File() 121 return (INVALID_HANDLE_VALUE == platform_file_) ? sync_platform_file_ : in platform_file() 122 platform_file_; in platform_file() 128 return (INVALID_HANDLE_VALUE != platform_file_ || in IsValid() 185 if (!ReadFile(platform_file_, buffer, size, &actual, data->overlapped())) { in Read() [all …]
|
D | file.h | 86 base::PlatformFile platform_file_; // Regular, asynchronous IO handle. variable
|