/external/lzma/CS/7zip/Compress/LZ/ |
LzOutWindow.cs | 8 uint _pos;
field in class:SevenZip.Compression.LZ.OutWindow 23 _pos = 0;
34 _pos = 0;
45 _streamPos = _pos = 0;
48 uint curSize = _windowSize - _pos;
51 int numReadBytes = stream.Read(_buffer, (int)_pos, (int)curSize);
55 _pos += (uint)numReadBytes;
57 if (_pos == _windowSize)
58 _streamPos = _pos = 0;
71 uint size = _pos - _streamPos; [all...] |
LzInWindow.cs | 19 public UInt32 _pos; // offset (from _buffer) of curent byte
field in class:SevenZip.Compression.LZ.InWindow 20 UInt32 _keepSizeBefore; // how many BYTEs must be kept in buffer before _pos
21 UInt32 _keepSizeAfter; // how many BYTEs must be kept buffer after _pos
26 UInt32 offset = (UInt32)(_bufferOffset) + _pos - _keepSizeBefore;
60 if (_streamPos >= _pos + _keepSizeAfter)
87 _pos = 0;
95 _pos++;
96 if (_pos > _posLimit)
98 UInt32 pointerToPostion = _bufferOffset + _pos;
105 public Byte GetIndexByte(Int32 index) { return _bufferBase[_bufferOffset + _pos + index]; } [all...] |
LzBinTree.cs | 68 if (_pos == kMaxValForNormalize)
121 if (_pos + _matchMaxLen <= _streamPos)
125 lenLimit = _streamPos - _pos;
134 UInt32 matchMinPos = (_pos > _cyclicBufferSize) ? (_pos - _cyclicBufferSize) : 0;
135 UInt32 cur = _bufferOffset + _pos;
155 _hash[hash2Value] = _pos;
156 _hash[kHash3Offset + hash3Value] = _pos;
161 distances[offset++] = _pos - curMatch2 - 1;
169 distances[offset++] = _pos - curMatch3 - 1; [all...] |
/external/lzma/Java/SevenZip/Compression/LZ/ |
OutWindow.java | 10 int _pos;
field in class:OutWindow 20 _pos = 0;
41 _pos = 0;
47 int size = _pos - _streamPos;
51 if (_pos >= _windowSize)
52 _pos = 0;
53 _streamPos = _pos;
58 int pos = _pos - distance - 1;
65 _buffer[_pos++] = _buffer[pos++];
66 if (_pos >= _windowSize) [all...] |
InWindow.java | 19 public int _pos; // offset (from _buffer) of curent byte
field in class:InWindow 20 int _keepSizeBefore; // how many BYTEs must be kept in buffer before _pos
21 int _keepSizeAfter; // how many BYTEs must be kept buffer after _pos
26 int offset = _bufferOffset + _pos - _keepSizeBefore;
60 if (_streamPos >= _pos + _keepSizeAfter)
87 _pos = 0;
95 _pos++;
96 if (_pos > _posLimit)
98 int pointerToPostion = _bufferOffset + _pos;
105 public byte GetIndexByte(int index) { return _bufferBase[_bufferOffset + _pos + index]; } [all...] |
BinTree.java | 68 if (_pos == kMaxValForNormalize)
121 if (_pos + _matchMaxLen <= _streamPos)
125 lenLimit = _streamPos - _pos;
134 int matchMinPos = (_pos > _cyclicBufferSize) ? (_pos - _cyclicBufferSize) : 0;
135 int cur = _bufferOffset + _pos;
155 _hash[hash2Value] = _pos;
156 _hash[kHash3Offset + hash3Value] = _pos;
161 distances[offset++] = _pos - curMatch2 - 1;
169 distances[offset++] = _pos - curMatch3 - 1; [all...] |
/external/lzma/CPP/7zip/Common/ |
OutBuffer.cpp | 37 _pos = 0;
47 UInt64 res = _processedSize + _pos - _streamPos;
48 if (_streamPos > _pos)
57 UInt32 size = (_streamPos >= _pos) ? (_bufferSize - _streamPos) : (_pos - _streamPos);
81 if (_pos == _bufferSize)
84 _pos = 0;
86 _limitPos = (_streamPos > _pos) ? _streamPos : _bufferSize;
98 while(_streamPos != _pos)
|
OutBuffer.h | 21 UInt32 _pos;
member in class:COutBuffer 36 COutBuffer(): _buffer(0), _pos(0), _stream(0), _buffer2(0) {}
51 _buffer[_pos++] = b;
52 if(_pos == _limitPos)
|
StreamObjects.cpp | 15 if (_pos > _size)
17 size_t rem = _size - (size_t)_pos;
20 memcpy(data, _data + (size_t)_pos, rem);
21 _pos += rem;
31 case STREAM_SEEK_SET: _pos = offset; break;
32 case STREAM_SEEK_CUR: _pos += offset; break;
33 case STREAM_SEEK_END: _pos = _size + offset; break;
37 *newPosition = _pos;
102 size_t rem = _size - _pos;
105 memcpy(_buffer + _pos, data, rem); [all...] |
LockedStream.cpp | 18 HRESULT result = _lockedInStream->Read(_pos, data, size, &realProcessedSize);
19 _pos += realProcessedSize;
|
LockedStream.h | 25 UInt64 _pos;
member in class:CLockedSequentialInStreamImp 30 _pos = startPos;
|
StreamObjects.h | 23 UInt64 _pos;
member in class:CBufInStream 31 _pos = 0;
81 size_t _pos;
member in class:CBufPtrSeqOutStream 86 _pos = 0;
89 size_t GetPos() const { return _pos; }
120 UInt64 _pos;
member in class:CCachedInStream
|
LimitedStreams.h | 16 UInt64 _pos;
member in class:CLimitedSequentialInStream 24 _pos = 0;
31 UInt64 GetSize() const { return _pos; }
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zOut.h | 20 size_t _pos;
member in class:NArchive::N7z::CWriteBufferLoc 22 CWriteBufferLoc(): _size(0), _pos(0) {}
27 _pos = 0;
31 if (size > _size - _pos)
33 memcpy(_data + _pos, data, size);
34 _pos += size;
38 if (_size == _pos)
40 _data[_pos++] = b;
42 size_t GetPos() const { return _pos; }
|
7zIn.cpp | 185 if (_pos >= _size)
187 return _buffer[_pos++];
192 if (size > _size - _pos)
195 data[i] = _buffer[_pos++];
200 if (size > _size - _pos)
202 _pos += (size_t)size;
212 if (_pos >= _size)
214 Byte firstByte = _buffer[_pos++];
225 if (_pos >= _size)
227 value |= ((UInt64)_buffer[_pos++] << (8 * i)); [all...] |
/frameworks/compile/libbcc/bcinfo/Wrap/ |
in_memory_wrapper_input.cpp | 23 _buffer(buffer), _pos(0), _size(size) { 37 if (_pos >= _size) { 40 buffer[found++] = _buffer[_pos++]; 46 return (_pos >= _size); 55 _pos = pos;
|
/external/lzma/CPP/7zip/Archive/Common/ |
MultiStream.cpp | 13 if (_pos >= _totalLength)
14 return (_pos == _totalLength) ? S_OK : E_FAIL;
21 if (_pos < m.GlobalOffset)
23 else if (_pos >= m.GlobalOffset + m.Size)
36 UInt64 localPos = _pos - s.GlobalOffset;
45 _pos += size;
56 case STREAM_SEEK_SET: _pos = offset; break;
57 case STREAM_SEEK_CUR: _pos = _pos + offset; break;
58 case STREAM_SEEK_END: _pos = _totalLength + offset; break; [all...] |
MultiStream.h | 15 UInt64 _pos;
member in class:CMultiStream 39 _pos = 0;
|
/external/chromium_org/third_party/icu/source/common/ |
servls.cpp | 164 int32_t _pos; member in class:ServiceEnumeration 171 , _pos(0) 180 , _pos(0) 191 _pos = other._pos; 234 if (upToDate(status) && (_pos < _ids.size())) { 235 return (const UnicodeString*)_ids[_pos++]; 246 _pos = 0;
|
/external/icu4c/common/ |
servls.cpp | 159 int32_t _pos; member in class:ServiceEnumeration 166 , _pos(0) 175 , _pos(0) 186 _pos = other._pos; 229 if (upToDate(status) && (_pos < _ids.size())) { 230 return (const UnicodeString*)_ids[_pos++]; 241 _pos = 0;
|
/external/lzma/Java/SevenZip/ |
LzmaBench.java | 144 int _pos;
field in class:LzmaBench.MyOutputStream 154 _pos = 0;
159 if (_pos >= _size)
161 _buffer[_pos++] = (byte)b;
166 return _pos;
174 int _pos;
field in class:LzmaBench.MyInputStream 184 _pos = 0;
189 if (_pos >= _size)
191 return _buffer[_pos++] & 0xFF;
|
/external/chromium_org/third_party/icu/source/i18n/ |
fphdlimp.cpp | 39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) 40 : pos(_pos) {
|
nfsubs.cpp | 71 MultiplierSubstitution(int32_t _pos, 77 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) 175 IntegralPartSubstitution(int32_t _pos, 180 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} 207 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) const {} 229 AbsoluteValueSubstitution(int32_t _pos, 234 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} 259 NumeratorSubstitution(int32_t _pos, 265 : NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator) 276 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) const { [all...] |
/external/icu4c/i18n/ |
fphdlimp.cpp | 39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) 40 : pos(_pos) {
|
nfsubs.cpp | 74 MultiplierSubstitution(int32_t _pos, 80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) 186 IntegralPartSubstitution(int32_t _pos, 191 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} 222 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) const {} 246 AbsoluteValueSubstitution(int32_t _pos, 251 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} 279 NumeratorSubstitution(int32_t _pos, 285 : NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator) 297 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) const { [all...] |