Lines Matching defs:code

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)
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)
74 #define UPDATE_1_CHECK range -= bound; code -= bound;
123 /* External ASM code needs same CLzmaProb array layout. So don't change it. */
125 /* (probs_1664) is faster and better for code size at some platforms */
186 3 - is the code compatibility version of that function for check at link time.
253 UInt32 code = p->code;
498 code -= range;
499 t = (0 - ((UInt32)code >> 31)); /* (UInt32)((Int32)code >> 31) */
501 code += range & t;
505 if (code >= range)
507 code -= range;
557 Any error conditions can be tested later in caller code.
599 p->code = code;
660 We use early check of (RangeCoder:Code) over kBadRepCode to simplify main decoding code
718 UInt32 code = p->code;
879 code -= range & (((code - range) >> 31) - 1);
880 /* if (code >= range) code -= range; */
973 p->code =
981 && p->code >= kBadRepCode)
1005 if (p->code != 0)
1020 if (p->remainLen == 0 && p->code == 0)
1193 /* Some unexpected error: internal error of code, memory corruption or hardware failure */