Home
last modified time | relevance | path

Searched refs:historySize (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzFind.c160 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, in MatchFinder_Create() argument
165 if (historySize > kMaxHistorySize) in MatchFinder_Create()
170 sizeReserv = historySize >> 1; in MatchFinder_Create()
171 if (historySize > ((UInt32)2 << 30)) in MatchFinder_Create()
172 sizeReserv = historySize >> 2; in MatchFinder_Create()
175 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
180 UInt32 newCyclicBufferSize = (historySize /* >> p->skipModeBits */) + 1; in MatchFinder_Create()
189 hs = historySize - 1; in MatchFinder_Create()
216 p->historySize = historySize; in MatchFinder_Create()
277 return (p->pos - p->historySize - 1) & kNormalizeMask; in MatchFinder_GetSubValue()
DLzFindMt.h57 UInt32 historySize; member
92 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore,
DLzFind.h41 UInt32 historySize; member
65 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,
DLzFindMt.c191 UInt32 subValue = (mf->pos - mf->historySize - 1); in HashThreadFunc()
465 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore, in MatchFinderMt_Create() argument
469 p->historySize = historySize; in MatchFinderMt_Create()
481 …if (!MatchFinder_Create(mf, historySize, keepAddBufferBefore, matchMaxLen, keepAddBufferAfter, all… in MatchFinderMt_Create()
498 p->lzPos = p->historySize + 1; in MatchFinderMt_Init()
523 MatchFinder_Normalize3(p->lzPos - p->historySize - 1, p->hash, p->fixedHashSize); in MatchFinderMt_Normalize()
524 p->lzPos = p->historySize + 1; in MatchFinderMt_Normalize()
694 len = (UInt32)(p->MixMatchesFunc(p, p->lzPos - p->historySize, distances) - (distances)); in MatchFinderMt_GetMatches()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c179 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, in MatchFinder_Create() argument
184 if (historySize > kMaxHistorySize) in MatchFinder_Create()
189 sizeReserv = historySize >> 1; in MatchFinder_Create()
190 if (historySize > ((UInt32)2 << 30)) in MatchFinder_Create()
191 sizeReserv = historySize >> 2; in MatchFinder_Create()
194 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
199 UInt32 newCyclicBufferSize = (historySize /* >> p->skipModeBits */) + 1; in MatchFinder_Create()
208 hs = historySize - 1; in MatchFinder_Create()
235 p->historySize = historySize; in MatchFinder_Create()
296 return (p->pos - p->historySize - 1) & kNormalizeMask; in MatchFinder_GetSubValue()
DLzFind.h41 UInt32 historySize; member
65 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c179 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, in MatchFinder_Create() argument
184 if (historySize > kMaxHistorySize) in MatchFinder_Create()
189 sizeReserv = historySize >> 1; in MatchFinder_Create()
190 if (historySize > ((UInt32)2 << 30)) in MatchFinder_Create()
191 sizeReserv = historySize >> 2; in MatchFinder_Create()
194 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
199 UInt32 newCyclicBufferSize = (historySize /* >> p->skipModeBits */) + 1; in MatchFinder_Create()
208 hs = historySize - 1; in MatchFinder_Create()
235 p->historySize = historySize; in MatchFinder_Create()
296 return (p->pos - p->historySize - 1) & kNormalizeMask; in MatchFinder_GetSubValue()
DLzFind.h41 UInt32 historySize; member
65 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,