Home
last modified time | relevance | path

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

/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/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;