Home
last modified time | relevance | path

Searched refs:moveMethod (Results 1 - 4 of 4) sorted by relevance

/third_party/lzma/C/
H A D7zFile.c287 DWORD moveMethod; in File_Seek() local
293 case SZ_SEEK_SET: moveMethod = FILE_BEGIN; break; in File_Seek()
294 case SZ_SEEK_CUR: moveMethod = FILE_CURRENT; break; in File_Seek()
295 case SZ_SEEK_END: moveMethod = FILE_END; break; in File_Seek()
298 low = SetFilePointer(p->handle, (LONG)low, &high, moveMethod); in File_Seek()
310 int moveMethod; // = origin; in File_Seek()
314 case SZ_SEEK_SET: moveMethod = SEEK_SET; break; in File_Seek()
315 case SZ_SEEK_CUR: moveMethod = SEEK_CUR; break; in File_Seek()
316 case SZ_SEEK_END: moveMethod = SEEK_END; break; in File_Seek()
322 int res = fseek(p->file, (long)*pos, moveMethod); in File_Seek()
[all...]
/third_party/lzma/CPP/7zip/Common/
H A DCWrappers.cpp133 UInt32 moveMethod; in InStreamWrap_Seek() local
139 case SZ_SEEK_SET: moveMethod = STREAM_SEEK_SET; break; in InStreamWrap_Seek()
140 case SZ_SEEK_CUR: moveMethod = STREAM_SEEK_CUR; break; in InStreamWrap_Seek()
141 case SZ_SEEK_END: moveMethod = STREAM_SEEK_END; break; in InStreamWrap_Seek()
145 p->Res = p->Stream->Seek(*offset, moveMethod, &newPosition); in InStreamWrap_Seek()
/third_party/lzma/CPP/Windows/
H A DFileIO.cpp220 bool CFileBase::Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw() in Seek() argument
223 if (IsDeviceFile && SizeDefined && moveMethod == FILE_END) in Seek()
226 moveMethod = FILE_BEGIN; in Seek()
231 const DWORD low = ::SetFilePointer(_handle, (LONG)(distanceToMove & 0xFFFFFFFF), &high, moveMethod); in Seek()
693 off_t CFileBase::seek(off_t distanceToMove, int moveMethod) const
696 if (IsDeviceFile && SizeDefined && moveMethod == SEEK_END)
698 printf("\n seek : IsDeviceFile moveMethod = %d distanceToMove = %ld\n", moveMethod, distanceToMove);
700 moveMethod = SEEK_SET;
704 // printf("\nCFileBase::seek() moveMethod
[all...]
H A DFileIO.h162 bool Seek(Int64 distanceToMove, DWORD moveMethod, UInt64 &newPosition) const throw();
317 off_t seek(off_t distanceToMove, int moveMethod) const;

Completed in 4 milliseconds