Lines Matching refs:uc

139    UChar      uc;
228 GET_UCHAR(BZ_X_MAGIC_1, uc);
229 if (uc != 'B') RETURN(BZ_DATA_ERROR_MAGIC);
231 GET_UCHAR(BZ_X_MAGIC_2, uc);
232 if (uc != 'Z') RETURN(BZ_DATA_ERROR_MAGIC);
234 GET_UCHAR(BZ_X_MAGIC_3, uc)
235 if (uc != 'h') RETURN(BZ_DATA_ERROR_MAGIC);
253 GET_UCHAR(BZ_X_BLKHDR_1, uc);
255 if (uc == 0x17) goto endhdr_2;
256 if (uc != 0x31) RETURN(BZ_DATA_ERROR);
257 GET_UCHAR(BZ_X_BLKHDR_2, uc);
258 if (uc != 0x41) RETURN(BZ_DATA_ERROR);
259 GET_UCHAR(BZ_X_BLKHDR_3, uc);
260 if (uc != 0x59) RETURN(BZ_DATA_ERROR);
261 GET_UCHAR(BZ_X_BLKHDR_4, uc);
262 if (uc != 0x26) RETURN(BZ_DATA_ERROR);
263 GET_UCHAR(BZ_X_BLKHDR_5, uc);
264 if (uc != 0x53) RETURN(BZ_DATA_ERROR);
265 GET_UCHAR(BZ_X_BLKHDR_6, uc);
266 if (uc != 0x59) RETURN(BZ_DATA_ERROR);
273 GET_UCHAR(BZ_X_BCRC_1, uc);
274 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc);
275 GET_UCHAR(BZ_X_BCRC_2, uc);
276 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc);
277 GET_UCHAR(BZ_X_BCRC_3, uc);
278 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc);
279 GET_UCHAR(BZ_X_BCRC_4, uc);
280 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc);
285 GET_UCHAR(BZ_X_ORIGPTR_1, uc);
286 s->origPtr = (s->origPtr << 8) | ((Int32)uc);
287 GET_UCHAR(BZ_X_ORIGPTR_2, uc);
288 s->origPtr = (s->origPtr << 8) | ((Int32)uc);
289 GET_UCHAR(BZ_X_ORIGPTR_3, uc);
290 s->origPtr = (s->origPtr << 8) | ((Int32)uc);
294 GET_BIT(BZ_X_MAPPING_1, uc);
295 if (uc == 1)
305 GET_BIT(BZ_X_MAPPING_2, uc);
306 if (uc == 1) s->inUse[i * 16 + j] = True;
317 GET_BIT(BZ_X_SELECTOR_3, uc);
318 if (uc == 0) break;
345 GET_BIT(BZ_X_CODING_2, uc);
346 if (uc == 0) break;
347 GET_BIT(BZ_X_CODING_3, uc);
348 if (uc == 0) curr++; else curr--;
416 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ];
417 s->unzftab[uc] += es;
421 s->ll16[nblock] = (UInt16)uc;
427 s->tt[nblock] = (UInt32)uc;
439 /*-- uc = MTF ( nextSym-1 ) --*/
448 uc = s->mtfa[pp+nn];
460 s->mtfa[pp] = uc;
466 uc = s->mtfa[pp];
478 s->mtfa[s->mtfbase[0]] = uc;
491 /*-- end uc = MTF ( nextSym-1 ) --*/
493 s->unzftab[s->seqToUnseq[uc]]++;
495 s->ll16[nblock] = (UInt16)(s->seqToUnseq[uc]); else
496 s->tt[nblock] = (UInt32)(s->seqToUnseq[uc]);
522 uc = (UChar)(s->ll16[i]);
523 SET_LL(i, s->cftabCopy[uc]);
524 s->cftabCopy[uc]++;
552 uc = (UChar)(s->tt[i] & 0xff);
553 s->tt[s->cftab[uc]] |= (i << 8);
554 s->cftab[uc]++;
575 GET_UCHAR(BZ_X_ENDHDR_2, uc);
576 if (uc != 0x72) RETURN(BZ_DATA_ERROR);
577 GET_UCHAR(BZ_X_ENDHDR_3, uc);
578 if (uc != 0x45) RETURN(BZ_DATA_ERROR);
579 GET_UCHAR(BZ_X_ENDHDR_4, uc);
580 if (uc != 0x38) RETURN(BZ_DATA_ERROR);
581 GET_UCHAR(BZ_X_ENDHDR_5, uc);
582 if (uc != 0x50) RETURN(BZ_DATA_ERROR);
583 GET_UCHAR(BZ_X_ENDHDR_6, uc);
584 if (uc != 0x90) RETURN(BZ_DATA_ERROR);
587 GET_UCHAR(BZ_X_CCRC_1, uc);
588 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc);
589 GET_UCHAR(BZ_X_CCRC_2, uc);
590 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc);
591 GET_UCHAR(BZ_X_CCRC_3, uc);
592 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc);
593 GET_UCHAR(BZ_X_CCRC_4, uc);
594 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc);