Home
last modified time | relevance | path

Searched refs:matchByte (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/
DLzmaEnc.c636 static void LitEnc_EncodeMatched(CRangeEnc *p, CLzmaProb *probs, UInt32 symbol, UInt32 matchByte) in LitEnc_EncodeMatched() argument
642 matchByte <<= 1; in LitEnc_EncodeMatched()
643 RangeEnc_EncodeBit(p, probs + (offs + (matchByte & offs) + (symbol >> 8)), (symbol >> 7) & 1); in LitEnc_EncodeMatched()
645 offs &= ~(matchByte ^ symbol); in LitEnc_EncodeMatched()
699 static UInt32 LitEnc_GetPriceMatched(const CLzmaProb *probs, UInt32 symbol, UInt32 matchByte, const… in LitEnc_GetPriceMatched() argument
706 matchByte <<= 1; in LitEnc_GetPriceMatched()
707 price += GET_PRICEa(probs[offs + (matchByte & offs) + (symbol >> 8)], (symbol >> 7) & 1); in LitEnc_GetPriceMatched()
709 offs &= ~(matchByte ^ symbol); in LitEnc_GetPriceMatched()
995 Byte curByte, matchByte; in GetOptimum() local
1059 matchByte = *(data - (reps[0] + 1)); in GetOptimum()
[all …]
DLzmaDec.c51 matchByte <<= 1; \
52 bit = (matchByte & offs); \
199 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_DecodeReal() local
613 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() local
621 matchByte <<= 1; in LzmaDec_TryDummy()
622 bit = (matchByte & offs); in LzmaDec_TryDummy()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c53 matchByte <<= 1; \
54 bit = (matchByte & offs); \
201 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_DecodeReal() local
615 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() local
623 matchByte <<= 1; in LzmaDec_TryDummy()
624 bit = (matchByte & offs); in LzmaDec_TryDummy()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/
DLzmaDec.c53 matchByte <<= 1; \
54 bit = (matchByte & offs); \
201 unsigned matchByte = dic[dicPos - rep0 + (dicPos < rep0 ? dicBufSize : 0)]; in LzmaDec_DecodeReal() local
615 unsigned matchByte = p->dic[p->dicPos - p->reps[0] + in LzmaDec_TryDummy() local
623 matchByte <<= 1; in LzmaDec_TryDummy()
624 bit = (matchByte & offs); in LzmaDec_TryDummy()