Home
last modified time | relevance | path

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

/external/lzma/C/
D7zFile.c174 DWORD moveMethod; in File_Seek() local
179 case SZ_SEEK_SET: moveMethod = FILE_BEGIN; break; in File_Seek()
180 case SZ_SEEK_CUR: moveMethod = FILE_CURRENT; break; in File_Seek()
181 case SZ_SEEK_END: moveMethod = FILE_END; break; in File_Seek()
184 value.LowPart = SetFilePointer(p->handle, value.LowPart, &value.HighPart, moveMethod); in File_Seek()
196 int moveMethod; in File_Seek()
200 case SZ_SEEK_SET: moveMethod = SEEK_SET; break; in File_Seek()
201 case SZ_SEEK_CUR: moveMethod = SEEK_CUR; break; in File_Seek()
202 case SZ_SEEK_END: moveMethod = SEEK_END; break; in File_Seek()
205 res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
/external/lzma/CPP/7zip/Common/
DCWrappers.cpp113 UInt32 moveMethod; in InStreamWrap_Seek() local
116 case SZ_SEEK_SET: moveMethod = STREAM_SEEK_SET; break; in InStreamWrap_Seek()
117 case SZ_SEEK_CUR: moveMethod = STREAM_SEEK_CUR; break; in InStreamWrap_Seek()
118 case SZ_SEEK_END: moveMethod = STREAM_SEEK_END; break; in InStreamWrap_Seek()
122 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
/external/lzma/CPP/Common/
DC_FileIO.cpp45 off_t CFileBase::Seek(off_t distanceToMove, int moveMethod) const in Seek()
47 return ::lseek(_handle, distanceToMove, moveMethod); in Seek()
DC_FileIO.h32 off_t Seek(off_t distanceToMove, int moveMethod) const;
/external/lzma/CPP/Windows/
DFileIO.cpp118 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek() argument
121 if (IsDeviceFile && SizeDefined && moveMethod == FILE_END) in Seek()
124 moveMethod = FILE_BEGIN; in Seek()
129 DWORD low = ::SetFilePointer(_handle, (LONG)(distanceToMove & 0xFFFFFFFF), &high, moveMethod); in Seek()
DFileIO.h105 bool Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw();