Home
last modified time | relevance | path

Searched refs:_virtPos (Results 1 – 3 of 3) sorted by relevance

/external/lzma/CPP/7zip/Common/
DLimitedStreams.cpp34 if (_virtPos >= _size) in Read()
41 const UInt64 rem = _size - _virtPos; in Read()
45 UInt64 newPos = _startOffset + _virtPos; in Read()
55 _virtPos += size; in Read()
64 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
70 _virtPos = offset; in Seek()
72 *newPosition = _virtPos; in Seek()
92 if (_virtPos >= Size) in Read()
95 UInt64 rem = Size - _virtPos; in Read()
105 const UInt32 virtBlock = (UInt32)(_virtPos >> BlockSizeLog); in Read()
[all …]
DLimitedStreams.h42 UInt64 _virtPos; variable
54 _virtPos = 0; in InitAndSeek()
73 UInt64 _virtPos; variable
88 _virtPos = 0; in InitAndSeek()
115 UInt64 _virtPos; variable
131 _virtPos = 0; in Init()
165 UInt64 _virtPos; variable
172 _virtPos = 0; in Init()
188 UInt64 _virtPos; variable
214 _virtPos = 0; in InitAndSeek()
[all …]
/external/lzma/CPP/7zip/Archive/
DXzHandler.cpp698 UInt64 _virtPos; member in NArchive::NXz::CInStream
708 _virtPos = 0; in InitAndSeek()
847 if (_virtPos >= Size) in Read()
850 UInt64 rem = Size - _virtPos; in Read()
859 if (_virtPos < _cacheStartPos || _virtPos >= _cacheStartPos + _cacheSize) in Read()
861 size_t bi = FindBlock(_handlerSpec->_blocks, _handlerSpec->_blocksArraySize, _virtPos); in Read()
877 size_t offset = (size_t)(_virtPos - _cacheStartPos); in Read()
882 _virtPos += size; in Read()
897 case STREAM_SEEK_CUR: offset += _virtPos; break; in Seek()
903 _virtPos = offset; in Seek()