Home
last modified time | relevance | path

Searched refs:moveMethod (Results 1 – 8 of 8) sorted by relevance

/external/chromium_org/third_party/lzma_sdk/
D7zFile.c172 DWORD moveMethod; in File_Seek() local
177 case SZ_SEEK_SET: moveMethod = FILE_BEGIN; break; in File_Seek()
178 case SZ_SEEK_CUR: moveMethod = FILE_CURRENT; break; in File_Seek()
179 case SZ_SEEK_END: moveMethod = FILE_END; break; in File_Seek()
182 value.LowPart = SetFilePointer(p->handle, value.LowPart, &value.HighPart, moveMethod); in File_Seek()
194 int moveMethod; in File_Seek()
198 case SZ_SEEK_SET: moveMethod = SEEK_SET; break; in File_Seek()
199 case SZ_SEEK_CUR: moveMethod = SEEK_CUR; break; in File_Seek()
200 case SZ_SEEK_END: moveMethod = SEEK_END; break; in File_Seek()
203 res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
/external/lzma/C/
D7zFile.c172 DWORD moveMethod; in File_Seek() local
177 case SZ_SEEK_SET: moveMethod = FILE_BEGIN; break; in File_Seek()
178 case SZ_SEEK_CUR: moveMethod = FILE_CURRENT; break; in File_Seek()
179 case SZ_SEEK_END: moveMethod = FILE_END; break; in File_Seek()
182 value.LowPart = SetFilePointer(p->handle, value.LowPart, &value.HighPart, moveMethod); in File_Seek()
194 int moveMethod; in File_Seek()
198 case SZ_SEEK_SET: moveMethod = SEEK_SET; break; in File_Seek()
199 case SZ_SEEK_CUR: moveMethod = SEEK_CUR; break; in File_Seek()
200 case SZ_SEEK_END: moveMethod = SEEK_END; break; in File_Seek()
203 res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
/external/lzma/CPP/7zip/Common/
DCWrappers.cpp109 UInt32 moveMethod; in InStreamWrap_Seek() local
112 case SZ_SEEK_SET: moveMethod = STREAM_SEEK_SET; break; in InStreamWrap_Seek()
113 case SZ_SEEK_CUR: moveMethod = STREAM_SEEK_CUR; break; in InStreamWrap_Seek()
114 case SZ_SEEK_END: moveMethod = STREAM_SEEK_END; break; in InStreamWrap_Seek()
118 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
/external/chromium_org/chrome/installer/util/
Dlzma_util.cc50 DWORD moveMethod; in SzFileSeekImp() local
53 moveMethod = FILE_BEGIN; in SzFileSeekImp()
56 moveMethod = FILE_CURRENT; in SzFileSeekImp()
59 moveMethod = FILE_END; in SzFileSeekImp()
65 moveMethod); in SzFileSeekImp()
/external/lzma/CPP/Common/
DC_FileIO.cpp41 off_t CFileBase::Seek(off_t distanceToMove, int moveMethod) const in Seek()
43 return ::lseek(_handle, distanceToMove, moveMethod); in Seek()
DC_FileIO.h26 off_t Seek(off_t distanceToMove, int moveMethod) const;
/external/lzma/CPP/Windows/
DFileIO.cpp193 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const in Seek() argument
196 if (IsDeviceFile && LengthDefined && moveMethod == FILE_END) in Seek()
199 moveMethod = FILE_BEGIN; in Seek()
205 value.LowPart = ::SetFilePointer(_handle, value.LowPart, &value.HighPart, moveMethod); in Seek()
DFileIO.h53 bool Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const;