Home
last modified time | relevance | path

Searched refs:_pos (Results 1 – 25 of 38) sorted by relevance

12

/external/lzma/CS/7zip/Compress/LZ/
DLzOutWindow.cs8 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 …]
DLzInWindow.cs19 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 …]
DLzBinTree.cs68 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/
DOutWindow.java10 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 …]
DInWindow.java19 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 …]
DBinTree.java68 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/
DStreamObjects.cpp17 if (_pos >= _size) in Read()
19 size_t rem = _size - (size_t)_pos; in Read()
22 memcpy(data, _data + (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()
128 size_t rem = _size - _pos; in Write()
131 memcpy(_buffer + _pos, data, rem); in Write()
132 _pos += rem; in Write()
187 _pos = 0; in Init()
[all …]
DOutBuffer.cpp32 _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()
DOutBuffer.h21 UInt32 _pos; variable
36 COutBuffer(): _buf(0), _pos(0), _stream(0), _buf2(0) {} in COutBuffer()
50 _buf[_pos++] = b; in WriteByte()
51 if (_pos == _limitPos) in WriteByte()
DStreamObjects.h25 UInt64 _pos; variable
33 _pos = 0;
86 size_t _pos; variable
91 _pos = 0; in Init()
94 size_t GetPos() const { return _pos; } in GetPos()
125 UInt64 _pos; variable
DLockedStream.cpp18 HRESULT result = _lockedInStream->Read(_pos, data, size, &realProcessedSize); in Read()
19 _pos += realProcessedSize; in Read()
DLockedStream.h25 UInt64 _pos; variable
30 _pos = startPos; in Init()
/external/lzma/CPP/Common/
DDynamicBuffer.h10 size_t _pos; variable
29 memcpy(newBuffer, _items, _pos * sizeof(T)); in Grow()
36 CDynamicBuffer(): _items(0), _size(0), _pos(0) {} in CDynamicBuffer()
43 size_t rem = _size - _pos; in GetCurPtrAndGrow()
46 T *res = _items + _pos; in GetCurPtrAndGrow()
47 _pos += addSize; in GetCurPtrAndGrow()
51 const size_t GetPos() const { return _pos; } in GetPos()
/external/lzma/CPP/7zip/Archive/Common/
DMultiStream.cpp13 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()
DMultiStream.h15 UInt64 _pos; variable
44 _pos = 0; in Init()
/external/icu/icu4c/source/i18n/
Dnfsubs.cpp73 MultiplierSubstitution(int32_t _pos, in MultiplierSubstitution() argument
78 : NFSubstitution(_pos, _ruleSet, description, status), divisor(_divisor) in MultiplierSubstitution()
183 IntegralPartSubstitution(int32_t _pos, in IntegralPartSubstitution() argument
187 : NFSubstitution(_pos, _ruleSet, description, status) {} in IntegralPartSubstitution()
241 AbsoluteValueSubstitution(int32_t _pos, in AbsoluteValueSubstitution() argument
245 : NFSubstitution(_pos, _ruleSet, description, status) {} in AbsoluteValueSubstitution()
273 NumeratorSubstitution(int32_t _pos, in NumeratorSubstitution() argument
278 : NFSubstitution(_pos, _ruleSet, fixdesc(description), status), denominator(_denominator) in NumeratorSubstitution()
401 NFSubstitution::NFSubstitution(int32_t _pos, in NFSubstitution() argument
405 : pos(_pos), ruleSet(NULL), numberFormat(NULL) in NFSubstitution()
[all …]
Dfphdlimp.cpp39 FieldPositionOnlyHandler::FieldPositionOnlyHandler(FieldPosition& _pos) in FieldPositionOnlyHandler() argument
40 : pos(_pos) { in FieldPositionOnlyHandler()
/external/lzma/CPP/7zip/Archive/7z/
D7zOut.h21 size_t _pos; variable
23 CWriteBufferLoc(): _size(0), _pos(0) {} in CWriteBufferLoc()
28 _pos = 0; in Init()
32 if (size > _size - _pos) in WriteBytes()
34 memcpy(_data + _pos, data, size); in WriteBytes()
35 _pos += size; in WriteBytes()
39 if (_size == _pos) in WriteByte()
41 _data[_pos++] = b; in WriteByte()
43 size_t GetPos() const { return _pos; } in GetPos()
D7zIn.h282 size_t _pos; member
284 size_t GetRem() const { return _size - _pos; } in GetRem()
285 const Byte *GetPtr() const { return _buffer + _pos; } in GetPtr()
290 _pos = 0; in Init()
294 void SkipDataNoCheck(UInt64 size) { _pos += (size_t)size; } in SkipDataNoCheck()
298 void SkipRem() { _pos = _size; } in SkipRem()
339 _inByteBack->_pos += _inByteVector[_numInByteBufs]._pos; in DeleteByteStream()
D7zIn.cpp189 if (_pos >= _size) in ReadByte()
191 return _buffer[_pos++]; in ReadByte()
196 if (size > _size - _pos) in ReadBytes()
198 memcpy(data, _buffer + _pos, size); in ReadBytes()
199 _pos += size; in ReadBytes()
204 if (size > _size - _pos) in SkipData()
206 _pos += (size_t)size; in SkipData()
263 UInt64 res = ReadNumberSpec(_buffer + _pos, _size - _pos, processed); in ReadNumber()
266 _pos += processed; in ReadNumber()
291 if (_pos + 4 > _size) in ReadUInt32()
[all …]
/external/lzma/Java/SevenZip/
DLzmaBench.java144 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/
Dservls.cpp158 int32_t _pos; member in ServiceEnumeration
165 , _pos(0) in ServiceEnumeration()
174 , _pos(0) in ServiceEnumeration()
185 _pos = other._pos; in ServiceEnumeration()
228 if (upToDate(status) && (_pos < _ids.size())) { in snext()
229 return (const UnicodeString*)_ids[_pos++]; in snext()
240 _pos = 0; in reset()
/external/lzma/CPP/7zip/UI/FileManager/
DExtractCallback.h101 size_t _pos; variable
142 size_t GetMemStreamWrittenSize() const { return _pos; } in GetMemStreamWrittenSize()
150 _pos = 0; in Init()
157 size_t GetPos() const { return _pos; } in GetPos()
/external/chromium-trace/catapult/third_party/WebOb/webob/
Dresponse.py1165 self._pos = 0 # position in app_iter
1175 self._pos += len(chunk)
1176 if self._pos < start:
1178 elif self._pos == start:
1181 chunk = chunk[start-self._pos:]
1182 if stop is not None and self._pos > stop:
1183 chunk = chunk[:stop-self._pos]
1191 if self._pos < self.start:
1195 if stop is not None and self._pos >= stop:
1199 self._pos += len(chunk)
[all …]
/external/opencv3/doc/
DCMakeLists.txt48 list(FIND blacklist ${m} _pos)
49 if(${_pos} EQUAL -1)
83 list(FIND EXTRA_MODULES ${m} _pos)
84 if(${_pos} EQUAL -1)

12