Searched refs:posSlot (Results 1 – 4 of 4) sorted by relevance
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
D | LzmaEnc.c | 1463 UInt32 offs, curBack, posSlot; in GetOptimum() local 1472 GetPosSlot2(curBack, posSlot); in GetOptimum() 1482 … curAndLenPrice += p->posSlotPrices[lenToPosState][posSlot] + p->alignPrices[curBack & kAlignMask]; in GetOptimum() 1545 GetPosSlot2(curBack, posSlot); in GetOptimum() 1713 UInt32 posSlot = GetPosSlot1(i); in FillDistancesPrices() local 1714 UInt32 footerBits = ((posSlot >> 1) - 1); in FillDistancesPrices() 1715 UInt32 base = ((2 | (posSlot & 1)) << footerBits); in FillDistancesPrices() 1716 …tempPrices[i] = RcTree_ReverseGetPrice(p->posEncoders + base - posSlot - 1, footerBits, i - base, … in FillDistancesPrices() 1721 UInt32 posSlot; in FillDistancesPrices() local 1724 for (posSlot = 0; posSlot < p->distTableSize; posSlot++) in FillDistancesPrices() [all …]
|
D | LzmaDec.c | 373 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local 376 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal() 379 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal() 723 unsigned posSlot; in LzmaDec_TryDummy() local 727 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy() 728 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy() 730 unsigned numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy() 734 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy() 736 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 375 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local 378 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal() 381 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal() 725 unsigned posSlot; in LzmaDec_TryDummy() local 729 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy() 730 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy() 732 unsigned numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy() 736 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy() 738 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
D | LzmaDec.c | 375 unsigned posSlot = (unsigned)distance; in LzmaDec_DecodeReal() local 378 if (posSlot < kEndPosModelIndex) in LzmaDec_DecodeReal() 381 prob = probs + SpecPos + distance - posSlot - 1; in LzmaDec_DecodeReal() 725 unsigned posSlot; in LzmaDec_TryDummy() local 729 TREE_DECODE_CHECK(prob, 1 << kNumPosSlotBits, posSlot); in LzmaDec_TryDummy() 730 if (posSlot >= kStartPosModelIndex) in LzmaDec_TryDummy() 732 unsigned numDirectBits = ((posSlot >> 1) - 1); in LzmaDec_TryDummy() 736 if (posSlot < kEndPosModelIndex) in LzmaDec_TryDummy() 738 prob = probs + SpecPos + ((2 | (posSlot & 1)) << numDirectBits) - posSlot - 1; in LzmaDec_TryDummy()
|