Home
last modified time | relevance | path

Searched refs:curMatch (Results 1 – 5 of 5) sorted by relevance

/third_party/lzma/Java/SevenZip/Compression/LZ/
DBinTree.java150 int curMatch = _hash[kFixHashSize + hashValue]; in GetMatches() local
172 if (offset != 0 && curMatch2 == curMatch) in GetMatches()
189 if (curMatch > matchMinPos) in GetMatches()
191 if (_bufferBase[_bufferOffset + curMatch + kNumHashDirectBytes] != in GetMatches()
195 distances[offset++] = _pos - curMatch - 1; in GetMatches()
204 if (curMatch <= matchMinPos || count-- == 0) in GetMatches()
209 int delta = _pos - curMatch; in GetMatches()
214 int pby1 = _bufferOffset + curMatch; in GetMatches()
235 _son[ptr1] = curMatch; in GetMatches()
237 curMatch = _son[ptr1]; in GetMatches()
[all …]
/third_party/lzma/CS/7zip/Compress/LZ/
DLzBinTree.cs150 UInt32 curMatch = _hash[kFixHashSize + hashValue]; in GetMatches()
172 if (offset != 0 && curMatch2 == curMatch) in GetMatches()
189 if (curMatch > matchMinPos) in GetMatches()
191 if (_bufferBase[_bufferOffset + curMatch + kNumHashDirectBytes] != in GetMatches()
195 distances[offset++] = _pos - curMatch - 1; in GetMatches()
204 if(curMatch <= matchMinPos || count-- == 0) in GetMatches()
209 UInt32 delta = _pos - curMatch; in GetMatches()
214 UInt32 pby1 = _bufferOffset + curMatch; in GetMatches()
235 _son[ptr1] = curMatch; in GetMatches()
237 curMatch = _son[ptr1]; in GetMatches()
[all …]
/third_party/lzma/C/
DLzFind.c873 static UInt32 * Hc_GetMatchesSpec(size_t lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CL… in Hc_GetMatchesSpec() argument
907 son[_cyclicBufferPos] = curMatch; in Hc_GetMatchesSpec()
913 if (curMatch == 0) in Hc_GetMatchesSpec()
916 delta = pos - curMatch; in Hc_GetMatchesSpec()
921curMatch = son[_cyclicBufferPos - delta + ((delta > _cyclicBufferPos) ? _cyclicBufferSize : 0)]; in Hc_GetMatchesSpec()
955 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son, in GetMatchesSpec1() argument
971 if (cmCheck < curMatch) in GetMatchesSpec1()
974 const UInt32 delta = pos - curMatch; in GetMatchesSpec1()
1001 *ptr1 = curMatch; in GetMatchesSpec1()
1005 curMatch = pair[1]; in GetMatchesSpec1()
[all …]
DLzFindOpt.c362 const UInt32 curMatch = (UInt32)pos - delta; // (UInt32)(pos + diff); in GetMatchesSpecN_2() local
366 *ptr1 = curMatch; in GetMatchesSpecN_2()
369 if (delta >= curMatch) in GetMatchesSpecN_2()
375 *ptr0 = curMatch; in GetMatchesSpecN_2()
378 if (delta >= curMatch) in GetMatchesSpecN_2()
DLzFind.h117 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *buffer, CLzRef *…