Lines Matching refs:range
22 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); }
24 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * (UInt32)ttt; if (code < bound)
25 #define UPDATE_0(p) range = bound; *(p) = (CLzmaProb)(ttt + ((kBitModelTotal - ttt) >> kNumMoveBits));
26 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits));
70 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_INPUT_EOF; range <<= 8; code = (code << 8) | (*buf++); }
72 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK bound = (range >> kNumBitModelTotalBits) * (UInt32)ttt; if (code < bound)
73 #define UPDATE_0_CHECK range = bound;
74 #define UPDATE_1_CHECK range -= bound; code -= bound;
177 = kMatchSpecLenStart + 1 : need init range coder
178 = kMatchSpecLenStart + 2 : need init range coder and state
252 UInt32 range = p->range;
494 range >>= 1;
498 code -= range;
501 code += range & t;
505 if (code >= range)
507 code -= range;
598 p->range = range;
717 UInt32 range = p->range;
878 range >>= 1;
879 code -= range & (((code - range) >> 31) - 1);
880 /* if (code >= range) code -= range; */
984 p->range = 0xFFFFFFFF;