Home | History | Annotate | Download | only in C

Lines Matching refs:pos

48 UInt32 MatchFinder_GetNumAvailableBytes(CMatchFinder *p) { return p->streamPos - p->pos; }

53 p->pos -= subValue;
74 Byte *dest = p->buffer + (p->streamPos - p->pos);
87 if (p->streamPos - p->pos > p->keepSizeAfter)
96 (size_t)(p->streamPos - p->pos + p->keepSizeBefore));
112 if (p->keepSizeAfter >= p->streamPos - p->pos)
188 /* we need one additional byte, since we use MoveBlock after pos++ and before dictionary using */
248 UInt32 limit = kMaxValForNormalize - p->pos;
252 limit2 = p->streamPos - p->pos;
263 UInt32 lenLimit = p->streamPos - p->pos;
268 p->posLimit = p->pos + limit;
278 p->pos = p->streamPos = p->cyclicBufferSize;
287 return (p->pos - p->historySize - 1) & kNormalizeMask;
313 if (p->pos == kMaxValForNormalize)
315 if (!p->streamEndWasReached && p->keepSizeAfter == p->streamPos - p->pos)
322 static UInt32 * Hc_GetMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
329 UInt32 delta = pos - curMatch;
353 UInt32 * GetMatchesSpec1(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
362 UInt32 delta = pos - curMatch;
408 static void SkipMatchesSpec(UInt32 lenLimit, UInt32 curMatch, UInt32 pos, const Byte *cur, CLzRef *son,
416 UInt32 delta = pos - curMatch;
461 if (++p->pos == p->posLimit) MatchFinder_CheckLimits(p);
475 #define MF_PARAMS(p) p->pos, p->buffer, p->son, p->cyclicBufferPos, p->cyclicBufferSize, p->cutValue
490 p->hash[hashValue] = p->pos;
501 p->hash[hashValue] = p->pos;
513 delta2 = p->pos - p->hash[hash2Value];
517 p->hash[kFix3HashSize + hashValue] = p->pos;
546 delta2 = p->pos - p->hash[ hash2Value];
547 delta3 = p->pos - p->hash[kFix3HashSize + hash3Value];
552 p->hash[kFix4HashSize + hashValue] = p->pos;
593 delta2 = p->pos - p->hash[ hash2Value];
594 delta3 = p->pos - p->hash[kFix3HashSize + hash3Value];
599 p->hash[kFix4HashSize + hashValue] = p->pos;
641 p->hash[hashValue] = p->pos;
654 p->hash[hashValue] = p->pos;
667 p->hash[hashValue] = p->pos;
682 p->hash[kFix3HashSize + hashValue] = p->pos;
697 p->hash[kFix3HashSize + hash3Value] = p->pos;
698 p->hash[kFix4HashSize + hashValue] = p->pos;
714 p->hash[kFix4HashSize + hashValue] = p->pos;
728 p->hash[hashValue] = p->pos;