Searched refs:_pos (Results 1 - 25 of 39) sorted by relevance

12

/external/lzma/CS/7zip/Compress/LZ/
H A DLzOutWindow.cs8 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
[all...]
H A DLzInWindow.cs19 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
[all...]
H A DLzBinTree.cs68 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
[all...]
/external/lzma/Java/SevenZip/Compression/LZ/
H A DOutWindow.java10 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 >
[all...]
H A DInWindow.java19 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
[all...]
H A DBinTree.java68 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
[all...]
/external/lzma/CPP/7zip/Archive/Common/
H A DMultiStream.cpp13 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
[all...]
H A DMultiStream.h15 UInt64 _pos; member in class:CMultiStream
39 _pos = 0;
/external/lzma/CPP/7zip/Common/
H A DOutBuffer.cpp37 _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)
H A DStreamObjects.cpp15 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, dat
[all...]
H A DLockedStream.cpp18 HRESULT result = _lockedInStream->Read(_pos, data, size, &realProcessedSize);
19 _pos += realProcessedSize;
H A DLockedStream.h25 UInt64 _pos; member in class:CLockedSequentialInStreamImp
30 _pos = startPos;
H A DOutBuffer.h21 UInt32 _pos; member in class:COutBuffer
36 COutBuffer(): _buffer(0), _pos(0), _stream(0), _buffer2(0) {}
51 _buffer[_pos++] = b;
52 if(_pos == _limitPos)
H A DStreamObjects.h23 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
H A DLimitedStreams.h16 UInt64 _pos; member in class:CLimitedSequentialInStream
24 _pos = 0;
31 UInt64 GetSize() const { return _pos; }
H A DLimitedStreams.cpp11 UInt32 sizeToRead = (UInt32)MyMin((_size - _pos), (UInt64)size);
16 _pos += realProcessedSize;
/external/lzma/CPP/7zip/Archive/7z/
H A D7zOut.h20 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; }
H A D7zIn.cpp185 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
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dnfsubs.cpp74 MultiplierSubstitution(int32_t _pos, argument
80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor)
186 IntegralPartSubstitution(int32_t _pos, argument
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, argument
251 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {}
279 NumeratorSubstitution(int32_t _pos, argument
285 : NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator)
297 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) cons
321 NullSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
442 NFSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
806 SameValueSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
843 ModulusSubstitution(int32_t _pos, double _divisor, const NFRule* predecessor, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
1021 FractionalPartSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
[all...]
H A Dfphdlimp.cpp39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) argument
40 : pos(_pos) {
/external/icu/icu4c/source/i18n/
H A Dnfsubs.cpp74 MultiplierSubstitution(int32_t _pos, argument
80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor)
186 IntegralPartSubstitution(int32_t _pos, argument
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, argument
251 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {}
279 NumeratorSubstitution(int32_t _pos, argument
285 : NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominator)
297 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/) cons
321 NullSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
442 NFSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
806 SameValueSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
843 ModulusSubstitution(int32_t _pos, double _divisor, const NFRule* predecessor, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
1021 FractionalPartSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const RuleBasedNumberFormat* formatter, const UnicodeString& description, UErrorCode& status) argument
[all...]
H A Dfphdlimp.cpp39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) argument
40 : pos(_pos) {
/external/chromium_org/third_party/icu/source/common/
H A Dservls.cpp159 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/icu/icu4c/source/common/
H A Dservls.cpp159 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/
H A DLzmaBench.java144 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;

Completed in 3022 milliseconds

12