Searched refs:sync_platform_file_ (Results 1 – 3 of 3) sorted by relevance
/external/chromium/net/disk_cache/ |
D | file_win.cc | 71 sync_platform_file_(file) { in File() 91 sync_platform_file_ = CreateFile(name.value().c_str(), access, sharing, NULL, in Init() 94 if (INVALID_HANDLE_VALUE == sync_platform_file_) in Init() 106 if (INVALID_HANDLE_VALUE != sync_platform_file_) in ~File() 107 CloseHandle(sync_platform_file_); in ~File() 112 return (INVALID_HANDLE_VALUE == platform_file_) ? sync_platform_file_ : in platform_file() 120 INVALID_HANDLE_VALUE != sync_platform_file_); in IsValid() 128 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset), in Read() 135 if (!ReadFile(sync_platform_file_, buffer, size, &actual, NULL)) in Read() 145 DWORD ret = SetFilePointer(sync_platform_file_, static_cast<LONG>(offset), in Write() [all …]
|
D | file.h | 82 base::PlatformFile sync_platform_file_; // Synchronous IO handle. variable
|
D | file_posix.cc | 173 sync_platform_file_(base::kInvalidPlatformFileValue) { in File()
|