/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 | 17 if (_pos >= Buf.Size()) in Read() 19 size_t rem = Buf.Size() - (size_t)_pos; in Read() 22 memcpy(data, (const Byte *)Buf + (size_t)_pos, rem); in Read() 23 _pos += rem; in Read() 34 case STREAM_SEEK_CUR: offset += _pos; break; in Seek() 40 _pos = offset; in Seek() 52 if (_pos >= _size) in Read() 54 size_t rem = _size - (size_t)_pos; in Read() 57 memcpy(data, _data + (size_t)_pos, rem); in Read() 58 _pos += rem; in Read() [all …]
|
D | OutBuffer.cpp | 32 _pos = 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() 76 if (_pos == _bufSize) in FlushPart() 79 _pos = 0; in FlushPart() 81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize; in FlushPart() 93 while (_streamPos != _pos) in Flush()
|
D | StreamObjects.h | 16 UInt64 _pos; variable 19 void Init() { _pos = 0; } in Init() 40 UInt64 _pos; variable 48 _pos = 0; 103 size_t _pos; variable 108 _pos = 0; in Init() 111 size_t GetPos() const { return _pos; } in GetPos() 142 UInt64 _pos; variable
|
D | OutBuffer.h | 21 UInt32 _pos; variable 36 COutBuffer(): _buf(0), _pos(0), _stream(0), _buf2(0) {} in COutBuffer() 50 UInt32 pos = _pos; in WriteByte() 53 _pos = pos; in WriteByte()
|
/external/skqp/experimental/canvaskit/htmlcanvas/ |
D | lineargradient.js | 5 this._pos = []; property in LinearCanvasGradient 22 var idx = this._pos.indexOf(offset); 27 for (idx = 0; idx < this._pos.length; idx++) { 28 if (this._pos[idx] > offset) { 32 this._pos .splice(idx, 0, offset); 40 lcg._pos = this._pos.slice(); 63 this._colors, this._pos, CanvasKit.TileMode.Clamp);
|
D | radialgradient.js | 8 this._pos = []; property in RadialCanvasGradient 25 var idx = this._pos.indexOf(offset); 30 for (idx = 0; idx < this._pos.length; idx++) { 31 if (this._pos[idx] > offset) { 35 this._pos .splice(idx, 0, offset); 43 rcg._pos = this._pos.slice(); 73 [sx1, sy1], sr1, [sx2, sy2], sr2, this._colors, this._pos,
|
/external/skia/modules/canvaskit/htmlcanvas/ |
D | lineargradient.js | 5 this._pos = []; property in LinearCanvasGradient 22 var idx = this._pos.indexOf(offset); 27 for (idx = 0; idx < this._pos.length; idx++) { 28 if (this._pos[idx] > offset) { 32 this._pos .splice(idx, 0, offset); 40 lcg._pos = this._pos.slice(); 63 this._colors, this._pos, CanvasKit.TileMode.Clamp);
|
D | radialgradient.js | 8 this._pos = []; property in RadialCanvasGradient 25 var idx = this._pos.indexOf(offset); 30 for (idx = 0; idx < this._pos.length; idx++) { 31 if (this._pos[idx] > offset) { 35 this._pos .splice(idx, 0, offset); 43 rcg._pos = this._pos.slice(); 73 [sx1, sy1], sr1, [sx2, sy2], sr2, this._colors, this._pos,
|
/external/lzma/CPP/Common/ |
D | DynamicBuffer.h | 10 size_t _pos; variable 29 if (_pos != 0) in Grow() 30 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow() 37 CDynamicBuffer(): _items(0), _size(0), _pos(0) {} in CDynamicBuffer() 44 size_t rem = _size - _pos; in GetCurPtrAndGrow() 47 T *res = _items + _pos; in GetCurPtrAndGrow() 48 _pos += addSize; in GetCurPtrAndGrow() 57 const size_t GetPos() const { return _pos; } in GetPos()
|
/external/lzma/CPP/7zip/Archive/Common/ |
D | MultiStream.cpp | 13 if (_pos >= _totalLength) 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() 57 case STREAM_SEEK_CUR: offset += _pos; break; in Seek() 63 _pos = offset; in Seek()
|
/external/icu/icu4c/source/i18n/ |
D | nfsubs.cpp | 78 MultiplierSubstitution(int32_t _pos, in MultiplierSubstitution() argument 83 : NFSubstitution(_pos, _ruleSet, description, status), divisor(rule->getDivisor()) in MultiplierSubstitution() 185 IntegralPartSubstitution(int32_t _pos, in IntegralPartSubstitution() argument 189 : NFSubstitution(_pos, _ruleSet, description, status) {} in IntegralPartSubstitution() 244 AbsoluteValueSubstitution(int32_t _pos, in AbsoluteValueSubstitution() argument 248 : NFSubstitution(_pos, _ruleSet, description, status) {} in AbsoluteValueSubstitution() 276 NumeratorSubstitution(int32_t _pos, in NumeratorSubstitution() argument 281 : NFSubstitution(_pos, _ruleSet, fixdesc(description), status), denominator(_denominator) in NumeratorSubstitution() 405 NFSubstitution::NFSubstitution(int32_t _pos, in NFSubstitution() argument 409 : pos(_pos), ruleSet(NULL), numberFormat(NULL) in NFSubstitution() [all …]
|
/external/python/cpython3/Lib/ |
D | _compression.py | 42 self._pos = 0 # Current offset in decompressed stream 108 self._size = self._pos 110 self._pos += len(data) 117 self._pos = 0 125 offset = self._pos + offset 136 if offset < self._pos: 139 offset -= self._pos 148 return self._pos 152 return self._pos
|
/external/lzma/CPP/7zip/Archive/7z/ |
D | 7zFolderInStream.cpp | 22 _pos = 0; in Init() 32 _pos = 0; in OpenStream() 71 Sizes.Add(_pos); in AddFileInfo() 91 _pos += cur; in Read() 101 _pos = 0; in Read() 131 *value = _pos; in GetSubStreamSize() 135 *value = (_pos > _size ? _pos : _size); in GetSubStreamSize()
|
D | 7zOut.h | 21 size_t _pos; variable 23 CWriteBufferLoc(): _size(0), _pos(0) {} in CWriteBufferLoc() 28 _pos = 0; in Init() 34 if (size > _size - _pos) in WriteBytes() 36 memcpy(_data + _pos, data, size); in WriteBytes() 37 _pos += size; in WriteBytes() 41 if (_size == _pos) in WriteByte() 43 _data[_pos++] = b; in WriteByte() 45 size_t GetPos() const { return _pos; } in GetPos()
|
D | 7zDecode.cpp | 140 UInt64 _pos; member in NArchive::N7z::CLockedSequentialInStreamMT 147 _pos = startPos; in Init() 159 if (_pos != _glob->Pos) in Read() 161 RINOK(_glob->Stream->Seek(_pos, STREAM_SEEK_SET, NULL)); in Read() 162 _glob->Pos = _pos; in Read() 167 _pos += realProcessedSize; in Read() 168 _glob->Pos = _pos; in Read() 184 UInt64 _pos; member in NArchive::N7z::CLockedSequentialInStreamST 191 _pos = startPos; in Init() 201 if (_pos != _glob->Pos) in Read() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ |
D | UnicodeEscapeProcessingProvider.java | 50 private int _pos = 0; field in UnicodeEscapeProcessingProvider 267 return _data[_pos++]; in nextBufferedChar() 271 return _pos >= _len; in isBufferEmpty() 275 _pos = 0; in fillBuffer() 289 _pos = _data.length; in pushBack() 291 } else if (_pos == 0) { in pushBack() 296 _pos = newData.length - _data.length; in pushBack() 297 System.arraycopy(_data, 0, newData, _pos, _data.length); in pushBack() 301 int cnt = _len - _pos; in pushBack() 302 _pos = _data.length - _len; in pushBack() [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | config.c | 39 char **_pos) in wpa_config_get_line() argument 89 if (_pos) in wpa_config_get_line() 90 *_pos = pos; in wpa_config_get_line() 94 if (_pos) in wpa_config_get_line() 95 *_pos = NULL; in wpa_config_get_line()
|
/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/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()
|