Home
last modified time | relevance | path

Searched refs:numHashBytes (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzFindMt.c202 if (num >= mf->numHashBytes) in HashThreadFunc()
204 num = num - mf->numHashBytes + 1; in HashThreadFunc()
327 if (p->hashNumAvail >= p->numHashBytes) in BtGetMatches()
357 startDistances + 1, p->numHashBytes - 1) - startDistances); in BtGetMatches()
368 …distances + curPos, p->numHashBytes - 1, p->hashBuf + p->hashBufPos, (Int32)(limit - curPos), size… in BtGetMatches()
518 p->numHashBytes = mf->numHashBytes; in MatchFinderMt_Init()
776 switch (p->MatchFinder->numHashBytes)
DLzFind.c133 p->numHashBytes = 4; in MatchFinder_SetDefaultSettings()
207 if (p->numHashBytes == 2) in MatchFinder_Create()
220 if (p->numHashBytes == 3) in MatchFinder_Create()
229 if (p->numHashBytes > 2) p->fixedHashSize += kHash2Size; in MatchFinder_Create()
230 if (p->numHashBytes > 3) p->fixedHashSize += kHash3Size; in MatchFinder_Create()
231 if (p->numHashBytes > 4) p->fixedHashSize += kHash4Size; in MatchFinder_Create()
1022 else if (p->numHashBytes == 2) in MatchFinder_CreateVTable()
1027 else if (p->numHashBytes == 3) in MatchFinder_CreateVTable()
DLzmaEnc.h27 int numHashBytes; /* 2, 3 or 4, default = 4 */ member
DLzFindMt.h76 UInt32 numHashBytes; member
DLzFind.h42 UInt32 numHashBytes; member
DLzmaEnc.c55 p->lc = p->lp = p->pb = p->algo = p->fb = p->btMode = p->numHashBytes = p->numThreads = -1; in LzmaEncProps_Init()
83 if (p->numHashBytes < 0) p->numHashBytes = 4; in LzmaEncProps_Normalize()
466 UInt32 numHashBytes = 4; in LzmaEnc_SetProps() local
469 if (props.numHashBytes < 2) in LzmaEnc_SetProps()
470 numHashBytes = 2; in LzmaEnc_SetProps()
471 else if (props.numHashBytes < 4) in LzmaEnc_SetProps()
472 numHashBytes = props.numHashBytes; in LzmaEnc_SetProps()
474 p->matchFinderBase.numHashBytes = numHashBytes; in LzmaEnc_SetProps()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c135 p->numHashBytes = 4; in MatchFinder_SetDefaultSettings()
209 if (p->numHashBytes == 2) in MatchFinder_Create()
222 if (p->numHashBytes == 3) in MatchFinder_Create()
231 if (p->numHashBytes > 2) p->fixedHashSize += kHash2Size; in MatchFinder_Create()
232 if (p->numHashBytes > 3) p->fixedHashSize += kHash3Size; in MatchFinder_Create()
233 if (p->numHashBytes > 4) p->fixedHashSize += kHash4Size; in MatchFinder_Create()
1024 else if (p->numHashBytes == 2) in MatchFinder_CreateVTable()
1029 else if (p->numHashBytes == 3) in MatchFinder_CreateVTable()
DLzFind.h42 UInt32 numHashBytes; member
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzFind.c135 p->numHashBytes = 4; in MatchFinder_SetDefaultSettings()
209 if (p->numHashBytes == 2) in MatchFinder_Create()
222 if (p->numHashBytes == 3) in MatchFinder_Create()
231 if (p->numHashBytes > 2) p->fixedHashSize += kHash2Size; in MatchFinder_Create()
232 if (p->numHashBytes > 3) p->fixedHashSize += kHash3Size; in MatchFinder_Create()
233 if (p->numHashBytes > 4) p->fixedHashSize += kHash4Size; in MatchFinder_Create()
1024 else if (p->numHashBytes == 2) in MatchFinder_CreateVTable()
1029 else if (p->numHashBytes == 3) in MatchFinder_CreateVTable()
DLzFind.h42 UInt32 numHashBytes; member