HomeSort by relevance Sort by last modified time
    Searched refs:_pos (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /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...]
  /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/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/CPP/Common/
DynamicBuffer.h 10 size_t _pos; member in class:CDynamicBuffer
29 if (_pos != 0)
30 memcpy(newBuffer, _items, _pos * sizeof(T));
37 CDynamicBuffer(): _items(0), _size(0), _pos(0) {}
44 size_t rem = _size - _pos;
47 T *res = _items + _pos;
48 _pos += addSize;
57 const size_t GetPos() const { return _pos; }
59 // void Empty() { _pos = 0; }
  /external/lzma/CPP/7zip/Archive/Common/
MultiStream.cpp 13 if (_pos >= _totalLength)
21 if (_pos < m.GlobalOffset)
23 else if (_pos >= m.GlobalOffset + m.Size)
36 UInt64 localPos = _pos - s.GlobalOffset;
45 _pos += size;
57 case STREAM_SEEK_CUR: offset += _pos; break;
63 _pos = offset;
MultiStream.h 15 UInt64 _pos; member in class:CMultiStream
44 _pos = 0;
  /external/lzma/CPP/7zip/Common/
OutBuffer.cpp 32 _pos = 0;
42 UInt64 res = _processedSize + _pos - _streamPos;
43 if (_streamPos > _pos)
52 UInt32 size = (_streamPos >= _pos) ? (_bufSize - _streamPos) : (_pos - _streamPos);
76 if (_pos == _bufSize)
79 _pos = 0;
81 _limitPos = (_streamPos > _pos) ? _streamPos : _bufSize;
93 while (_streamPos != _pos)
StreamObjects.cpp 17 if (_pos >= Buf.Size())
19 size_t rem = Buf.Size() - (size_t)_pos;
22 memcpy(data, (const Byte *)Buf + (size_t)_pos, rem);
23 _pos += rem;
34 case STREAM_SEEK_CUR: offset += _pos; break;
40 _pos = offset;
52 if (_pos >= _size)
54 size_t rem = _size - (size_t)_pos;
57 memcpy(data, _data + (size_t)_pos, rem);
58 _pos += rem;
    [all...]
OutBuffer.h 21 UInt32 _pos; member in class:COutBuffer
36 COutBuffer(): _buf(0), _pos(0), _stream(0), _buf2(0) {}
50 _buf[_pos++] = b;
51 if (_pos == _limitPos)
StreamObjects.h 16 UInt64 _pos; member in class:CBufferInStream
19 void Init() { _pos = 0; }
40 UInt64 _pos; member in class:CBufInStream
48 _pos = 0;
103 size_t _pos; member in class:CBufPtrSeqOutStream
108 _pos = 0;
111 size_t GetPos() const { return _pos; }
142 UInt64 _pos; member in class:CCachedInStream
  /external/lzma/CPP/7zip/Archive/7z/
7zFolderInStream.cpp 22 _pos = 0;
32 _pos = 0;
71 Sizes.Add(_pos);
88 _pos += processed2;
98 _pos = 0;
128 *value = _pos;
132 *value = (_pos > _size ? _pos : _size);
7zOut.h 21 size_t _pos; member in class:NArchive::N7z::CWriteBufferLoc
23 CWriteBufferLoc(): _size(0), _pos(0) {}
28 _pos = 0;
34 if (size > _size - _pos)
36 memcpy(_data + _pos, data, size);
37 _pos += size;
41 if (_size == _pos)
43 _data[_pos++] = b;
45 size_t GetPos() const { return _pos; }
7zDecode.cpp 140 UInt64 _pos; member in class:NArchive::N7z::CLockedSequentialInStreamMT
147 _pos = startPos;
159 if (_pos != _glob->Pos)
161 RINOK(_glob->Stream->Seek(_pos, STREAM_SEEK_SET, NULL));
162 _glob->Pos = _pos;
167 _pos += realProcessedSize;
168 _glob->Pos = _pos;
184 UInt64 _pos; member in class:NArchive::N7z::CLockedSequentialInStreamST
191 _pos = startPos;
201 if (_pos != _glob->Pos)
    [all...]
7zFolderInStream.h 23 UInt64 _pos; member in class:NArchive::N7z::CFolderInStream
7zIn.h 296 size_t _pos; member in struct:NArchive::N7z::CInByte2
298 size_t GetRem() const { return _size - _pos; }
299 const Byte *GetPtr() const { return _buffer + _pos; }
304 _pos = 0;
308 void SkipDataNoCheck(UInt64 size) { _pos += (size_t)size; }
312 void SkipRem() { _pos = _size; }
355 _inByteBack->_pos += _inByteVector[_numInByteBufs]._pos;
  /frameworks/compile/libbcc/bcinfo/include/bcinfo/Wrap/
in_memory_wrapper_input.h 47 size_t _pos; member in class:InMemoryWrapperInput
  /external/python/cpython3/Lib/
_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/icu/icu4c/source/i18n/
nfsubs.cpp 75 MultiplierSubstitution(int32_t _pos,
80 : NFSubstitution(_pos, _ruleSet, description, status), divisor(rule->getDivisor())
181 IntegralPartSubstitution(int32_t _pos,
185 : NFSubstitution(_pos, _ruleSet, description, status) {}
215 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_t /*recursionCount*/, UErrorCode& /*status*/) const {}
239 AbsoluteValueSubstitution(int32_t _pos,
243 : NFSubstitution(_pos, _ruleSet, description, status) {}
271 NumeratorSubstitution(int32_t _pos,
276 : NFSubstitution(_pos, _ruleSet, fixdesc(description), status), denominator(_denominator)
288 virtual void doSubstitution(int64_t /*number*/, UnicodeString& /*toInsertInto*/, int32_t /*_pos*/, int32_t /*recursionCount*/, UErrorCode& /*status*/) const {
    [all...]
fphdlimp.cpp 41 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos)
42 : pos(_pos) {
  /external/icu/icu4c/source/common/
servls.cpp 160 int32_t _pos; member in class:ServiceEnumeration
167 , _pos(0)
176 , _pos(0)
187 _pos = other._pos;
230 if (upToDate(status) && (_pos < _ids.size())) {
231 return (const UnicodeString*)_ids[_pos++];
242 _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;

Completed in 510 milliseconds

1 2 3 4