Lines Matching defs:pos

74 UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; }
79 p->pos -= subValue;
89 Byte *dest = p->buffer + (p->streamPos - p->pos);
102 if (p->streamPos - p->pos > p->keepSizeAfter)
111 (size_t)(p->streamPos - p->pos + p->keepSizeBefore));
125 if (p->keepSizeAfter >= p->streamPos - p->pos)
203 /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */
264 UInt32 limit = kMaxValForNormalize - p->pos;
268 limit2 = p->streamPos - p->pos;
279 UInt32 lenLimit = p->streamPos - p->pos;
284 p->posLimit = p->pos + limit;
294 p->pos = p->streamPos = p->cyclicBufferSize;
303 return (p->pos - p->historySize - 1) & kNormalizeMask;
329 if (p->pos == kMaxValForNormalize)
331 if (!p->streamEndWasReached && p->keepSizeAfter == p->streamPos - p->pos)
338 static UInt32 * Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
345 UInt32 delta = pos - curMatch;
369 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
378 UInt32 delta = pos - curMatch;
424 static void SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
432 UInt32 delta = pos - curMatch;
477 if (++p->pos == p->posLimit) MatchFinder_CheckLimits(p);
491 #define MF_PARAMS(p) p->pos, p->buffer, p->son, p->cyclicBufferPos, p->cyclicBufferSize, p->cutValue
506 p->hash[hashValue] = p->pos;
517 p->hash[hashValue] = p->pos;
529 delta2 = p->pos - p->hash[hash2Value];
533 p->hash[kFix3HashSize + hashValue] = p->pos;
562 delta2 = p->pos - p->hash[ hash2Value];
563 delta3 = p->pos - p->hash[kFix3HashSize + hash3Value];
568 p->hash[kFix4HashSize + hashValue] = p->pos;
609 delta2 = p->pos - p->hash[ hash2Value];
610 delta3 = p->pos - p->hash[kFix3HashSize + hash3Value];
615 p->hash[kFix4HashSize + hashValue] = p->pos;
657 p->hash[hashValue] = p->pos;
670 p->hash[hashValue] = p->pos;
683 p->hash[hashValue] = p->pos;
698 p->hash[kFix3HashSize + hashValue] = p->pos;
713 p->hash[kFix3HashSize + hash3Value] = p->pos;
714 p->hash[kFix4HashSize + hashValue] = p->pos;
730 p->hash[kFix4HashSize + hashValue] = p->pos;
744 p->hash[hashValue] = p->pos;