Lines Matching refs:code
19 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
21 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code…
23 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
49 … < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++…
51 …K(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound)
53 #define UPDATE_1_CHECK range -= bound; code -= bound;
151 UInt32 code = p->code; in LzmaDec_DecodeReal() local
338 code -= range; in LzmaDec_DecodeReal()
339 t = (0 - ((UInt32)code >> 31)); /* (UInt32)((Int32)code >> 31) */ in LzmaDec_DecodeReal()
341 code += range & t; in LzmaDec_DecodeReal()
428 p->code = code; in LzmaDec_DecodeReal()
503 UInt32 code = p->code; in LzmaDec_TryDummy() local
667 code -= range & (((code - range) >> 31) - 1); in LzmaDec_TryDummy()
692 …p->code = ((UInt32)data[1] << 24) | ((UInt32)data[2] << 16) | ((UInt32)data[3] << 8) | ((UInt32)da… in LzmaDec_InitRc()
763 if (p->remainLen == 0 && p->code == 0) in LzmaDec_DecodeToDic()
847 if (p->code == 0) in LzmaDec_DecodeToDic()
849 return (p->code == 0) ? SZ_OK : SZ_ERROR_DATA; in LzmaDec_DecodeToDic()