/third_party/lzma/CS/7zip/Compress/LZ/ |
H A 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 in Flush() [all...] |
H A 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 in GetMatches() [all...] |
H A D | LzInWindow.cs | 19 public UInt32 _pos; // offset (from _buffer) of curent byte
field in 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;
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 [all...] |
/third_party/lzma/Java/SevenZip/Compression/LZ/ |
H A 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 > in CopyBlock() [all...] |
H A 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 in GetMatches() [all...] |
H A D | InWindow.java | 19 public int _pos; // offset (from _buffer) of curent byte
field in 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;
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 [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | StreamObjects.cpp | 15 if (_pos >= Buf.Size())
in Read() 17 size_t rem = Buf.Size() - (size_t)_pos;
in Read() 20 memcpy(data, (const Byte *)Buf + (size_t)_pos, rem);
in Read() 21 _pos += rem;
in Read() 32 case STREAM_SEEK_CUR: offset += _pos; break;
in Seek() 38 _pos = (UInt64)offset;
in Seek() 50 if (_pos >= _size)
in Read() 52 size_t rem = _size - (size_t)_pos;
in Read() 55 memcpy(data, _data + (size_t)_pos, rem);
in Read() 56 _pos in Read() [all...] |
H A 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()
|
H A D | StreamObjects.h | 15 UInt64 _pos;
variable 18 void Init() { _pos = 0; }
in Init() 34 UInt64 _pos;
42 _pos = 0;
48 bool WasFinished() const { return _pos == _size; }
98 size_t _pos;
103 _pos = 0;
106 size_t GetPos() const { return _pos; }
135 UInt64 _pos;
|
H A D | OutBuffer.h | 21 UInt32 _pos;
member in COutBuffer 36 COutBuffer(): _buf(NULL), _pos(0), _stream(NULL), _buf2(NULL) {}
in COutBuffer() 50 UInt32 pos = _pos;
in WriteByte() 53 _pos = pos;
in WriteByte()
|
/third_party/lzma/CPP/Common/ |
H A D | DynLimBuf.cpp | 11 _pos = 0;
in CDynLimBuf() 30 if (_size == _pos)
in operator +=() 41 n += _pos;
in operator +=() 49 memcpy(newBuf, _chars, _pos);
in operator +=() 54 _chars[_pos++] = (Byte)c;
in operator +=() 63 size_t rem = _sizeLimit - _pos;
in operator +=() 69 if (_size - _pos < len)
in operator +=() 71 size_t n = _pos + len;
in operator +=() 85 memcpy(newBuf, _chars, _pos);
in operator +=() 90 memcpy(_chars + _pos, in operator +=() [all...] |
H A D | DynamicBuffer.h | 14 size_t _pos;
member in CDynamicBuffer 33 if (_pos != 0)
in Grow() 34 memcpy(newBuffer, _items, _pos * sizeof(T));
in Grow() 41 CDynamicBuffer(): _items(NULL), _size(0), _pos(0) {}
in CDynamicBuffer() 48 size_t rem = _size - _pos;
in GetCurPtrAndGrow() 51 T *res = _items + _pos;
in GetCurPtrAndGrow() 52 _pos += addSize;
in GetCurPtrAndGrow() 61 size_t GetPos() const { return _pos; }
in GetPos() 63 // void Empty() { _pos = 0; }
|
/third_party/skia/modules/canvaskit/htmlcanvas/ |
H A D | lineargradient.js | 5 this._pos = []; 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);
|
H A D | radialgradient.js | 8 this._pos = []; 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,
|
/third_party/icu/icu4c/source/i18n/ |
H A 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() 219 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_t /*recursionCount*/, UErrorCode& /*status*/) const override {} 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() 293 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_ 405 NFSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) NFSubstitution() argument 574 doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 623 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 793 SameValueSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) SameValueSubstitution() argument 829 ModulusSubstitution(int32_t _pos, const NFRule* rule, const NFRule* predecessor, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) ModulusSubstitution() argument 880 doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 905 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 1005 FractionalPartSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) FractionalPartSubstitution() argument 1043 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | nfsubs.cpp | 78 MultiplierSubstitution(int32_t _pos, in MultiplierSubstitution() argument 83 : NFSubstitution(_pos, _ruleSet, description, status), divisor(rule->getDivisor()) in MultiplierSubstitution() 203 IntegralPartSubstitution(int32_t _pos, in IntegralPartSubstitution() argument 207 : NFSubstitution(_pos, _ruleSet, description, status) {} in IntegralPartSubstitution() 237 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_t /*recursionCount*/, UErrorCode& /*status*/) const override {} 262 AbsoluteValueSubstitution(int32_t _pos, in AbsoluteValueSubstitution() argument 266 : NFSubstitution(_pos, _ruleSet, description, status) {} in AbsoluteValueSubstitution() 294 NumeratorSubstitution(int32_t _pos, in NumeratorSubstitution() argument 299 : NFSubstitution(_pos, _ruleSet, fixdesc(description), status), denominator(_denominator) in NumeratorSubstitution() 311 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_ 423 NFSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) NFSubstitution() argument 592 doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 641 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 811 SameValueSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) SameValueSubstitution() argument 847 ModulusSubstitution(int32_t _pos, const NFRule* rule, const NFRule* predecessor, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) ModulusSubstitution() argument 898 doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 923 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 1023 FractionalPartSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) FractionalPartSubstitution() argument 1061 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A 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() 219 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_t /*recursionCount*/, UErrorCode& /*status*/) const {} in doSubstitution() 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() 293 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_ 405 NFSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) NFSubstitution() argument 574 doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 623 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 793 SameValueSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) SameValueSubstitution() argument 829 ModulusSubstitution(int32_t _pos, const NFRule* rule, const NFRule* predecessor, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) ModulusSubstitution() argument 880 doSubstitution(int64_t number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 905 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument 1005 FractionalPartSubstitution(int32_t _pos, const NFRuleSet* _ruleSet, const UnicodeString& description, UErrorCode& status) FractionalPartSubstitution() argument 1043 doSubstitution(double number, UnicodeString& toInsertInto, int32_t _pos, int32_t recursionCount, UErrorCode& status) const doSubstitution() argument [all...] |
/third_party/lzma/CPP/7zip/Archive/Common/ |
H A 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() 33 UInt64 localPos = _pos - s.GlobalOffset;
in Read() 44 _pos += size;
in Read() 56 case STREAM_SEEK_CUR: offset += _pos; break;
in Seek() 62 _pos = (UInt64)offset;
in Seek()
|
/third_party/python/Lib/ |
H A D | _compression.py | 42 self._pos = 0 # Current offset in decompressed stream 108 self._size = self._pos 110 self._pos += len(data) 127 self._pos = 0 135 offset = self._pos + offset 146 if offset < self._pos: 149 offset -= self._pos 158 return self._pos 162 return self._pos
|
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zOut.h | 23 size_t _pos;
member in NArchive::N7z::CWriteBufferLoc 25 CWriteBufferLoc(): _size(0), _pos(0) {}
in CWriteBufferLoc() 30 _pos = 0;
in Init() 36 if (size > _size - _pos)
in WriteBytes() 38 memcpy(_data + _pos, data, size);
in WriteBytes() 39 _pos += size;
in WriteBytes() 43 if (_size == _pos)
in WriteByte() 45 _data[_pos++] = b;
in WriteByte() 47 size_t GetPos() const { return _pos; }
in GetPos()
|
H A D | 7zDecode.cpp | 141 UInt64 _pos;
variable 148 _pos = startPos;
in Init() 156 if (_pos != _glob->Pos)
158 RINOK(InStream_SeekSet(_glob->Stream, _pos))
159 _glob->Pos = _pos;
164 _pos += realProcessedSize;
165 _glob->Pos = _pos;
181 UInt64 _pos;
188 _pos = startPos;
194 if (_pos ! [all...] |
H A D | 7zFolderInStream.cpp | 37 _pos = 0;
in ClearFileInfo() 125 Sizes.AddInReserved(_pos);
in AddFileInfo() 135 RINOK(ReportItemProps(_reportArcProp, index, _pos, &crc))
in AddFileInfo() 149 if (_pos == 0)
in Read() 161 // _pos += cur; // for debug
in Read() 182 _pos += cur;
in Read() 215 *value = _pos;
in GetSubStreamSize() 219 *value = (_pos > _size ? _pos : _size);
in GetSubStreamSize() 233 _pos [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | config.c | 39 char **_pos) in wpa_config_get_line() 97 if (_pos) in wpa_config_get_line() 98 *_pos = pos; in wpa_config_get_line() 102 if (_pos) in wpa_config_get_line() 103 *_pos = NULL; in wpa_config_get_line() 38 wpa_config_get_line(char *s, int size, FILE *stream, int *line, char **_pos) wpa_config_get_line() argument
|
/third_party/lzma/Java/SevenZip/ |
H A 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()
|
/third_party/icu/icu4c/source/common/ |
H A D | servls.cpp | 159 int32_t _pos; member in ServiceEnumeration 166 , _pos(0) in ServiceEnumeration() 175 , _pos(0) in ServiceEnumeration() 187 _pos = other._pos; in ServiceEnumeration() 230 if (upToDate(status) && (_pos < _ids.size())) { 231 return (const UnicodeString*)_ids[_pos++]; 242 _pos = 0;
|