Lines Matching refs:PlatformFile
128 typedef HANDLE PlatformFile; typedef
129 const PlatformFile kInvalidPlatformFileValue = INVALID_HANDLE_VALUE;
132 typedef int PlatformFile; typedef
133 const PlatformFile kInvalidPlatformFileValue = -1;
144 BASE_EXPORT PlatformFile CreatePlatformFile(const FilePath& name,
151 BASE_EXPORT PlatformFile CreatePlatformFileUnsafe(const FilePath& name,
156 BASE_EXPORT FILE* FdopenPlatformFile(PlatformFile file, const char* mode);
159 BASE_EXPORT bool ClosePlatformFile(PlatformFile file);
164 BASE_EXPORT int64 SeekPlatformFile(PlatformFile file,
173 BASE_EXPORT int ReadPlatformFile(PlatformFile file, int64 offset,
177 BASE_EXPORT int ReadPlatformFileAtCurrentPos(PlatformFile file,
183 BASE_EXPORT int ReadPlatformFileNoBestEffort(PlatformFile file, int64 offset,
187 BASE_EXPORT int ReadPlatformFileCurPosNoBestEffort(PlatformFile file,
196 BASE_EXPORT int WritePlatformFile(PlatformFile file, int64 offset,
200 BASE_EXPORT int WritePlatformFileAtCurrentPos(PlatformFile file,
205 BASE_EXPORT int WritePlatformFileCurPosNoBestEffort(PlatformFile file,
211 BASE_EXPORT bool TruncatePlatformFile(PlatformFile file, int64 length);
214 BASE_EXPORT bool FlushPlatformFile(PlatformFile file);
217 BASE_EXPORT bool TouchPlatformFile(PlatformFile file,
222 BASE_EXPORT bool GetPlatformFileInfo(PlatformFile file, PlatformFileInfo* info);
244 BASE_EXPORT PlatformFileError LockPlatformFile(PlatformFile file);
247 BASE_EXPORT PlatformFileError UnlockPlatformFile(PlatformFile file);
271 explicit PassPlatformFile(PlatformFile* value) : value_(value) { in PassPlatformFile()
277 PlatformFile ReleaseValue() { in ReleaseValue()
278 PlatformFile temp = *value_; in ReleaseValue()
284 PlatformFile* value_;