Lines 442-452
Link Here
|
442 |
/*-- Macros for decompression. --*/ |
442 |
/*-- Macros for decompression. --*/ |
443 |
|
443 |
|
444 |
#define BZ_GET_FAST(cccc) \ |
444 |
#define BZ_GET_FAST(cccc) \ |
|
|
445 |
/* c_tPos is unsigned, hence test < 0 is pointless. */ \ |
446 |
if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ |
445 |
s->tPos = s->tt[s->tPos]; \ |
447 |
s->tPos = s->tt[s->tPos]; \ |
446 |
cccc = (UChar)(s->tPos & 0xff); \ |
448 |
cccc = (UChar)(s->tPos & 0xff); \ |
447 |
s->tPos >>= 8; |
449 |
s->tPos >>= 8; |
448 |
|
450 |
|
449 |
#define BZ_GET_FAST_C(cccc) \ |
451 |
#define BZ_GET_FAST_C(cccc) \ |
|
|
452 |
/* c_tPos is unsigned, hence test < 0 is pointless. */ \ |
453 |
if (c_tPos >= (UInt32)100000 * (UInt32)ro_blockSize100k) return True; \ |
450 |
c_tPos = c_tt[c_tPos]; \ |
454 |
c_tPos = c_tt[c_tPos]; \ |
451 |
cccc = (UChar)(c_tPos & 0xff); \ |
455 |
cccc = (UChar)(c_tPos & 0xff); \ |
452 |
c_tPos >>= 8; |
456 |
c_tPos >>= 8; |
Lines 469-476
Link Here
|
469 |
(((UInt32)s->ll16[i]) | (GET_LL4(i) << 16)) |
473 |
(((UInt32)s->ll16[i]) | (GET_LL4(i) << 16)) |
470 |
|
474 |
|
471 |
#define BZ_GET_SMALL(cccc) \ |
475 |
#define BZ_GET_SMALL(cccc) \ |
472 |
cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ |
476 |
/* c_tPos is unsigned, hence test < 0 is pointless. */ \ |
473 |
s->tPos = GET_LL(s->tPos); |
477 |
if (s->tPos >= (UInt32)100000 * (UInt32)s->blockSize100k) return True; \ |
|
|
478 |
cccc = BZ2_indexIntoF ( s->tPos, s->cftab ); \ |
479 |
s->tPos = GET_LL(s->tPos); |
474 |
|
480 |
|
475 |
|
481 |
|
476 |
/*-- externs for decompression. --*/ |
482 |
/*-- externs for decompression. --*/ |