Searched refs:_streamPos (Results 1 – 8 of 8) sorted by relevance
/external/lzma/CPP/7zip/Common/ |
D | OutBuffer.cpp | 30 _streamPos = 0; in Init() 42 UInt64 res = _processedSize + _pos - _streamPos; in GetProcessedSize() 43 if (_streamPos > _pos) in GetProcessedSize() 52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos); in FlushPart() 59 memcpy(_buf2, _buf + _streamPos, size); in FlushPart() 70 result = _stream->Write(_buf + _streamPos, size, &processedSize); in FlushPart() 73 _streamPos += size; in FlushPart() 74 if (_streamPos == _bufSize) in FlushPart() 75 _streamPos = 0; in FlushPart() 81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart() [all …]
|
D | OutBuffer.h | 23 UInt32 _streamPos; variable
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
D | InWindow.java | 22 public int _streamPos; // offset (from _buffer) of first not read byte from Stream field in InWindow 31 int numBytes = _bufferOffset + _streamPos - offset; in MoveBlock() 45 int size = (0 - _bufferOffset) + _blockSize - _streamPos; in ReadBlock() 48 int numReadBytes = _stream.read(_bufferBase, _bufferOffset + _streamPos, size); in ReadBlock() 51 _posLimit = _streamPos; in ReadBlock() 59 _streamPos += numReadBytes; in ReadBlock() 60 if (_streamPos >= _pos + _keepSizeAfter) in ReadBlock() 61 _posLimit = _streamPos - _keepSizeAfter; in ReadBlock() 88 _streamPos = 0; in Init() 111 if ((_pos + index) + limit > _streamPos) in GetMatchLen() [all …]
|
D | OutWindow.java | 12 int _streamPos; field in OutWindow 21 _streamPos = 0; in Create() 40 _streamPos = 0; in Init() 47 int size = _pos - _streamPos; in Flush() 50 _stream.write(_buffer, _streamPos, size); in Flush() 53 _streamPos = _pos; in Flush()
|
D | BinTree.java | 121 if (_pos + _matchMaxLen <= _streamPos) in GetMatches() 125 lenLimit = _streamPos - _pos; in GetMatches() 257 if (_pos + _matchMaxLen <= _streamPos) in Skip() 261 lenLimit = _streamPos - _pos; in Skip()
|
/external/lzma/CS/7zip/Compress/LZ/ |
D | LzInWindow.cs | 22 public UInt32 _streamPos; // offset (from _buffer) of first not read byte from Stream field in SevenZip.Compression.LZ.InWindow 31 UInt32 numBytes = (UInt32)(_bufferOffset) + _streamPos - offset; in MoveBlock() 45 int size = (int)((0 - _bufferOffset) + _blockSize - _streamPos); in ReadBlock() 48 int numReadBytes = _stream.Read(_bufferBase, (int)(_bufferOffset + _streamPos), size); in ReadBlock() 51 _posLimit = _streamPos; in ReadBlock() 59 _streamPos += (UInt32)numReadBytes; in ReadBlock() 60 if (_streamPos >= _pos + _keepSizeAfter) in ReadBlock() 61 _posLimit = _streamPos - _keepSizeAfter; in ReadBlock() 88 _streamPos = 0; in Init() 111 if ((_pos + index) + limit > _streamPos) in GetMatchLen() [all …]
|
D | LzOutWindow.cs | 10 uint _streamPos; field in SevenZip.Compression.LZ.OutWindow 24 _streamPos = 0; in Create() 33 _streamPos = 0; in Init() 45 _streamPos = _pos = 0; in Train() 56 _streamPos += (uint)numReadBytes; in Train() 58 _streamPos = _pos = 0; in Train() 71 uint size = _pos - _streamPos; in Flush() 74 _stream.Write(_buffer, (int)_streamPos, (int)size); in Flush() 77 _streamPos = _pos; in Flush()
|
D | LzBinTree.cs | 121 if (_pos + _matchMaxLen <= _streamPos) in GetMatches() 125 lenLimit = _streamPos - _pos; in GetMatches() 257 if (_pos + _matchMaxLen <= _streamPos) in Skip() 261 lenLimit = _streamPos - _pos; in Skip()
|