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.c177 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, in MatchFinder_Create() argument
183 if (historySize > kMaxHistorySize) in MatchFinder_Create()
189 sizeReserv = historySize >> 1; in MatchFinder_Create()
190 if (historySize >= ((UInt32)3 << 30)) sizeReserv = historySize >> 3; in MatchFinder_Create()
191 else if (historySize >= ((UInt32)2 << 30)) sizeReserv = historySize >> 2; in MatchFinder_Create()
195 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
202 UInt32 newCyclicBufferSize = historySize + 1; in MatchFinder_Create()
211 hs = historySize - 1; in MatchFinder_Create()
238 p->historySize = historySize; in MatchFinder_Create()
322 return (p->pos - p->historySize - 1) & kNormalizeMask; in MatchFinder_GetSubValue()
DLzFindMt.h59 UInt32 historySize; member
94 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore,
DLzFindMt.c193 UInt32 subValue = (mf->pos - mf->historySize - 1); in HashThreadFunc()
474 SRes MatchFinderMt_Create(CMatchFinderMt *p, UInt32 historySize, UInt32 keepAddBufferBefore, in MatchFinderMt_Create() argument
478 p->historySize = historySize; in MatchFinderMt_Create()
490 …if (!MatchFinder_Create(mf, historySize, keepAddBufferBefore, matchMaxLen, keepAddBufferAfter, all… in MatchFinderMt_Create()
510 p->lzPos = p->historySize + 1; in MatchFinderMt_Init()
535 MatchFinder_Normalize3(p->lzPos - p->historySize - 1, p->hash, p->fixedHashSize); in MatchFinderMt_Normalize()
536 p->lzPos = p->historySize + 1; in MatchFinderMt_Normalize()
705 len = (UInt32)(p->MixMatchesFunc(p, p->lzPos - p->historySize, distances) - (distances)); in MatchFinderMt_GetMatches()
DLzFind.h44 UInt32 historySize; member
72 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
185 if (historySize > kMaxHistorySize) in MatchFinder_Create()
191 sizeReserv = historySize >> 1; in MatchFinder_Create()
192 if (historySize >= ((UInt32)3 << 30)) sizeReserv = historySize >> 3; in MatchFinder_Create()
193 else if (historySize >= ((UInt32)2 << 30)) sizeReserv = historySize >> 2; in MatchFinder_Create()
197 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
204 UInt32 newCyclicBufferSize = historySize + 1; in MatchFinder_Create()
213 hs = historySize - 1; in MatchFinder_Create()
240 p->historySize = historySize; in MatchFinder_Create()
324 return (p->pos - p->historySize - 1) & kNormalizeMask; in MatchFinder_GetSubValue()
DLzFind.h44 UInt32 historySize; member
72 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c179 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize, in MatchFinder_Create() argument
185 if (historySize > kMaxHistorySize) in MatchFinder_Create()
191 sizeReserv = historySize >> 1; in MatchFinder_Create()
192 if (historySize >= ((UInt32)3 << 30)) sizeReserv = historySize >> 3; in MatchFinder_Create()
193 else if (historySize >= ((UInt32)2 << 30)) sizeReserv = historySize >> 2; in MatchFinder_Create()
197 p->keepSizeBefore = historySize + keepAddBufferBefore + 1; in MatchFinder_Create()
204 UInt32 newCyclicBufferSize = historySize + 1; in MatchFinder_Create()
213 hs = historySize - 1; in MatchFinder_Create()
240 p->historySize = historySize; in MatchFinder_Create()
324 return (p->pos - p->historySize - 1) & kNormalizeMask; in MatchFinder_GetSubValue()
DLzFind.h44 UInt32 historySize; member
72 int MatchFinder_Create(CMatchFinder *p, UInt32 historySize,