• Home
  • Raw
  • Download

Lines Matching refs:mf

168         CMatchFinder *mf = mt->MatchFinder;  in HashThreadFunc()  local
169 if (MatchFinder_NeedMove(mf)) in HashThreadFunc()
174 const Byte *beforePtr = MatchFinder_GetPointerToCurrentPos(mf); in HashThreadFunc()
176 MatchFinder_MoveBlock(mf); in HashThreadFunc()
177 afterPtr = MatchFinder_GetPointerToCurrentPos(mf); in HashThreadFunc()
188 MatchFinder_ReadIfRequired(mf); in HashThreadFunc()
189 if (mf->pos > (kMtMaxValForNormalize - kMtHashBlockSize)) in HashThreadFunc()
191 UInt32 subValue = (mf->pos - mf->historySize - 1); in HashThreadFunc()
192 MatchFinder_ReduceOffsets(mf, subValue); in HashThreadFunc()
193 MatchFinder_Normalize3(subValue, mf->hash + mf->fixedHashSize, mf->hashMask + 1); in HashThreadFunc()
197 UInt32 num = mf->streamPos - mf->pos; in HashThreadFunc()
200 if (num >= mf->numHashBytes) in HashThreadFunc()
202 num = num - mf->numHashBytes + 1; in HashThreadFunc()
205 …mt->GetHeadsFunc(mf->buffer, mf->pos, mf->hash + mf->fixedHashSize, mf->hashMask, heads + 2, num, in HashThreadFunc()
208 mf->pos += num; in HashThreadFunc()
209 mf->buffer += num; in HashThreadFunc()
468 CMatchFinder *mf = p->MatchFinder; in MatchFinderMt_Create() local
481 …if (!MatchFinder_Create(mf, historySize, keepAddBufferBefore, matchMaxLen, keepAddBufferAfter, all… in MatchFinderMt_Create()
492 CMatchFinder *mf = p->MatchFinder; in MatchFinderMt_Init() local
495 MatchFinder_Init(mf); in MatchFinderMt_Init()
496 p->pointerToCurPos = MatchFinder_GetPointerToCurrentPos(mf); in MatchFinderMt_Init()
500 p->hash = mf->hash; in MatchFinderMt_Init()
501 p->fixedHashSize = mf->fixedHashSize; in MatchFinderMt_Init()
502 p->crc = mf->crc; in MatchFinderMt_Init()
504 p->son = mf->son; in MatchFinderMt_Init()
505 p->matchMaxLen = mf->matchMaxLen; in MatchFinderMt_Init()
506 p->numHashBytes = mf->numHashBytes; in MatchFinderMt_Init()
507 p->pos = mf->pos; in MatchFinderMt_Init()
508 p->buffer = mf->buffer; in MatchFinderMt_Init()
509 p->cyclicBufferPos = mf->cyclicBufferPos; in MatchFinderMt_Init()
510 p->cyclicBufferSize = mf->cyclicBufferSize; in MatchFinderMt_Init()
511 p->cutValue = mf->cutValue; in MatchFinderMt_Init()