Home
last modified time | relevance | path

Searched refs:_streamPos (Results 1 – 8 of 8) sorted by relevance

/external/lzma/CPP/7zip/Common/
DOutBuffer.cpp35 _streamPos = 0; in Init()
47 UInt64 res = _processedSize + _pos - _streamPos; in GetProcessedSize()
48 if (_streamPos > _pos) in GetProcessedSize()
57 UInt32 size = (_streamPos >= _pos) ? (_bufferSize - _streamPos) : (_pos - _streamPos); in FlushPart()
64 memmove(_buffer2, _buffer + _streamPos, size); in FlushPart()
75 result = _stream->Write(_buffer + _streamPos, size, &processedSize); in FlushPart()
78 _streamPos += size; in FlushPart()
79 if (_streamPos == _bufferSize) in FlushPart()
80 _streamPos = 0; in FlushPart()
86 _limitPos = (_streamPos > _pos) ? _streamPos : _bufferSize; in FlushPart()
[all …]
DOutBuffer.h23 UInt32 _streamPos; variable
/external/lzma/Java/SevenZip/Compression/LZ/
DInWindow.java22 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 …]
DOutWindow.java12 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()
DBinTree.java121 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/
DLzInWindow.cs22 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 …]
DLzOutWindow.cs10 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()
DLzBinTree.cs121 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()