/external/lzma/CS/7zip/Compress/LZ/ |
D | LzOutWindow.cs | 8 uint _pos; field in SevenZip.Compression.LZ.OutWindow 23 _pos = 0; in Create() 34 _pos = 0; in Init() 45 _streamPos = _pos = 0; in Train() 48 uint curSize = _windowSize - _pos; in Train() 51 int numReadBytes = stream.Read(_buffer, (int)_pos, (int)curSize); in Train() 55 _pos += (uint)numReadBytes; in Train() 57 if (_pos == _windowSize) in Train() 58 _streamPos = _pos = 0; in Train() 71 uint size = _pos - _streamPos; in Flush() [all …]
|
D | LzInWindow.cs | 19 public UInt32 _pos; // offset (from _buffer) of curent byte field in SevenZip.Compression.LZ.InWindow 26 UInt32 offset = (UInt32)(_bufferOffset) + _pos - _keepSizeBefore; in MoveBlock() 60 if (_streamPos >= _pos + _keepSizeAfter) in ReadBlock() 87 _pos = 0; in Init() 95 _pos++; in MovePos() 96 if (_pos > _posLimit) in MovePos() 98 UInt32 pointerToPostion = _bufferOffset + _pos; in MovePos() 105 public Byte GetIndexByte(Int32 index) { return _bufferBase[_bufferOffset + _pos + index]; } in GetIndexByte() 111 if ((_pos + index) + limit > _streamPos) in GetMatchLen() 112 limit = _streamPos - (UInt32)(_pos + index); in GetMatchLen() [all …]
|
D | LzBinTree.cs | 68 if (_pos == kMaxValForNormalize) in MovePos() 121 if (_pos + _matchMaxLen <= _streamPos) in GetMatches() 125 lenLimit = _streamPos - _pos; in GetMatches() 134 UInt32 matchMinPos = (_pos > _cyclicBufferSize) ? (_pos - _cyclicBufferSize) : 0; in GetMatches() 135 UInt32 cur = _bufferOffset + _pos; in GetMatches() 155 _hash[hash2Value] = _pos; in GetMatches() 156 _hash[kHash3Offset + hash3Value] = _pos; in GetMatches() 161 distances[offset++] = _pos - curMatch2 - 1; in GetMatches() 169 distances[offset++] = _pos - curMatch3 - 1; in GetMatches() 179 _hash[kFixHashSize + hashValue] = _pos; in GetMatches() [all …]
|
/external/lzma/Java/SevenZip/Compression/LZ/ |
D | OutWindow.java | 10 int _pos; field in OutWindow 20 _pos = 0; in Create() 41 _pos = 0; in Init() 47 int size = _pos - _streamPos; in Flush() 51 if (_pos >= _windowSize) in Flush() 52 _pos = 0; in Flush() 53 _streamPos = _pos; in Flush() 58 int pos = _pos - distance - 1; in CopyBlock() 65 _buffer[_pos++] = _buffer[pos++]; in CopyBlock() 66 if (_pos >= _windowSize) in CopyBlock() [all …]
|
D | InWindow.java | 19 public int _pos; // offset (from _buffer) of curent byte field in InWindow 26 int offset = _bufferOffset + _pos - _keepSizeBefore; in MoveBlock() 60 if (_streamPos >= _pos + _keepSizeAfter) in ReadBlock() 87 _pos = 0; in Init() 95 _pos++; in MovePos() 96 if (_pos > _posLimit) in MovePos() 98 int pointerToPostion = _bufferOffset + _pos; in MovePos() 105 public byte GetIndexByte(int index) { return _bufferBase[_bufferOffset + _pos + index]; } in GetIndexByte() 111 if ((_pos + index) + limit > _streamPos) in GetMatchLen() 112 limit = _streamPos - (_pos + index); in GetMatchLen() [all …]
|
D | BinTree.java | 68 if (_pos == kMaxValForNormalize) in MovePos() 121 if (_pos + _matchMaxLen <= _streamPos) in GetMatches() 125 lenLimit = _streamPos - _pos; in GetMatches() 134 int matchMinPos = (_pos > _cyclicBufferSize) ? (_pos - _cyclicBufferSize) : 0; in GetMatches() 135 int cur = _bufferOffset + _pos; in GetMatches() 155 _hash[hash2Value] = _pos; in GetMatches() 156 _hash[kHash3Offset + hash3Value] = _pos; in GetMatches() 161 distances[offset++] = _pos - curMatch2 - 1; in GetMatches() 169 distances[offset++] = _pos - curMatch3 - 1; in GetMatches() 179 _hash[kFixHashSize + hashValue] = _pos; in GetMatches() [all …]
|
/external/lzma/CPP/7zip/Common/ |
D | StreamObjects.cpp | 15 if (_pos > _size) in Read() 17 size_t rem = _size - (size_t)_pos; in Read() 20 memcpy(data, _data + (size_t)_pos, rem); in Read() 21 _pos += rem; in Read() 31 case STREAM_SEEK_SET: _pos = offset; break; in Seek() 32 case STREAM_SEEK_CUR: _pos += offset; break; in Seek() 33 case STREAM_SEEK_END: _pos = _size + offset; break; in Seek() 37 *newPosition = _pos; in Seek() 102 size_t rem = _size - _pos; in Write() 105 memcpy(_buffer + _pos, data, rem); in Write() [all …]
|
D | OutBuffer.cpp | 37 _pos = 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() 81 if (_pos == _bufferSize) in FlushPart() 84 _pos = 0; in FlushPart() 86 _limitPos = (_streamPos > _pos) ? _streamPos : _bufferSize; in FlushPart() 98 while(_streamPos != _pos) in Flush()
|
D | OutBuffer.h | 21 UInt32 _pos; variable 36 COutBuffer(): _buffer(0), _pos(0), _stream(0), _buffer2(0) {} in COutBuffer() 51 _buffer[_pos++] = b; in WriteByte() 52 if(_pos == _limitPos) in WriteByte()
|
D | StreamObjects.h | 23 UInt64 _pos; variable 31 _pos = 0; 81 size_t _pos; variable 86 _pos = 0; in Init() 89 size_t GetPos() const { return _pos; } in GetPos() 120 UInt64 _pos; variable
|
D | LockedStream.cpp | 18 HRESULT result = _lockedInStream->Read(_pos, data, size, &realProcessedSize); in Read() 19 _pos += realProcessedSize; in Read()
|
D | LockedStream.h | 25 UInt64 _pos; variable 30 _pos = startPos; in Init()
|
D | LimitedStreams.h | 16 UInt64 _pos; variable 24 _pos = 0; in Init() 31 UInt64 GetSize() const { return _pos; } in GetSize()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | MultiStream.cpp | 13 if (_pos >= _totalLength) in Read() 14 return (_pos == _totalLength) ? S_OK : E_FAIL; in Read() 21 if (_pos < m.GlobalOffset) in Read() 23 else if (_pos >= m.GlobalOffset + m.Size) in Read() 36 UInt64 localPos = _pos - s.GlobalOffset; in Read() 45 _pos += size; in Read() 56 case STREAM_SEEK_SET: _pos = offset; break; in Seek() 57 case STREAM_SEEK_CUR: _pos = _pos + offset; break; in Seek() 58 case STREAM_SEEK_END: _pos = _totalLength + offset; break; in Seek() 62 *newPosition = _pos; in Seek()
|
D | MultiStream.h | 15 UInt64 _pos; variable 39 _pos = 0; in Init()
|
/external/icu/icu4c/source/i18n/ |
D | nfsubs.cpp | 74 MultiplierSubstitution(int32_t _pos, in MultiplierSubstitution() argument 80 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) in MultiplierSubstitution() 186 IntegralPartSubstitution(int32_t _pos, in IntegralPartSubstitution() argument 191 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in IntegralPartSubstitution() 246 AbsoluteValueSubstitution(int32_t _pos, in AbsoluteValueSubstitution() argument 251 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in AbsoluteValueSubstitution() 279 NumeratorSubstitution(int32_t _pos, in NumeratorSubstitution() argument 285 …: NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominato… in NumeratorSubstitution() 321 NullSubstitution(int32_t _pos, in NullSubstitution() argument 326 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in NullSubstitution() [all …]
|
D | fphdlimp.cpp | 39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) in FieldPositionOnlyHandler() argument 40 : pos(_pos) { in FieldPositionOnlyHandler()
|
/external/chromium_org/third_party/icu/source/i18n/ |
D | nfsubs.cpp | 71 MultiplierSubstitution(int32_t _pos, in MultiplierSubstitution() argument 77 : NFSubstitution(_pos, _ruleSet, formatter, description, status), divisor(_divisor) in MultiplierSubstitution() 175 IntegralPartSubstitution(int32_t _pos, in IntegralPartSubstitution() argument 180 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in IntegralPartSubstitution() 229 AbsoluteValueSubstitution(int32_t _pos, in AbsoluteValueSubstitution() argument 234 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in AbsoluteValueSubstitution() 259 NumeratorSubstitution(int32_t _pos, in NumeratorSubstitution() argument 265 …: NFSubstitution(_pos, _ruleSet, formatter, fixdesc(description), status), denominator(_denominato… in NumeratorSubstitution() 298 NullSubstitution(int32_t _pos, in NullSubstitution() argument 303 : NFSubstitution(_pos, _ruleSet, formatter, description, status) {} in NullSubstitution() [all …]
|
D | fphdlimp.cpp | 39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) in FieldPositionOnlyHandler() argument 40 : pos(_pos) { in FieldPositionOnlyHandler()
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zOut.h | 20 size_t _pos; variable 22 CWriteBufferLoc(): _size(0), _pos(0) {} in CWriteBufferLoc() 27 _pos = 0; in Init() 31 if (size > _size - _pos) in WriteBytes() 33 memcpy(_data + _pos, data, size); in WriteBytes() 34 _pos += size; in WriteBytes() 38 if (_size == _pos) in WriteByte() 40 _data[_pos++] = b; in WriteByte() 42 size_t GetPos() const { return _pos; } in GetPos()
|
D | 7zIn.cpp | 185 if (_pos >= _size) in ReadByte() 187 return _buffer[_pos++]; in ReadByte() 192 if (size > _size - _pos) in ReadBytes() 195 data[i] = _buffer[_pos++]; in ReadBytes() 200 if (size > _size - _pos) in SkipData() 202 _pos += (size_t)size; in SkipData() 212 if (_pos >= _size) in ReadNumber() 214 Byte firstByte = _buffer[_pos++]; in ReadNumber() 225 if (_pos >= _size) in ReadNumber() 227 value |= ((UInt64)_buffer[_pos++] << (8 * i)); in ReadNumber() [all …]
|
/external/lzma/Java/SevenZip/ |
D | LzmaBench.java | 144 int _pos; field in LzmaBench.MyOutputStream 154 _pos = 0; in reset() 159 if (_pos >= _size) in write() 161 _buffer[_pos++] = (byte)b; in write() 166 return _pos; in size() 174 int _pos; field in LzmaBench.MyInputStream 184 _pos = 0; in reset() 189 if (_pos >= _size) in read() 191 return _buffer[_pos++] & 0xFF; in read()
|
/external/chromium_org/third_party/icu/source/common/ |
D | servls.cpp | 164 int32_t _pos; member in ServiceEnumeration 171 , _pos(0) in ServiceEnumeration() 180 , _pos(0) in ServiceEnumeration() 191 _pos = other._pos; in ServiceEnumeration() 234 if (upToDate(status) && (_pos < _ids.size())) { in snext() 235 return (const UnicodeString*)_ids[_pos++]; in snext() 246 _pos = 0; in reset()
|
/external/icu/icu4c/source/common/ |
D | servls.cpp | 159 int32_t _pos; member in ServiceEnumeration 166 , _pos(0) in ServiceEnumeration() 175 , _pos(0) in ServiceEnumeration() 186 _pos = other._pos; in ServiceEnumeration() 229 if (upToDate(status) && (_pos < _ids.size())) { in snext() 230 return (const UnicodeString*)_ids[_pos++]; in snext() 241 _pos = 0; in reset()
|
/external/stlport/src/ |
D | stdio_streambuf.cpp | 103 return pos_type((streamoff)pos._pos); in seekoff() 135 p._pos = pos; in seekpos()
|