Lines Matching refs:uc
151 UChar uc; in BZ2_decompress() local
240 GET_UCHAR(BZ_X_MAGIC_1, uc); in BZ2_decompress()
241 if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
243 GET_UCHAR(BZ_X_MAGIC_2, uc); in BZ2_decompress()
244 if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
246 GET_UCHAR(BZ_X_MAGIC_3, uc) in BZ2_decompress()
247 if (uc != BZ_HDR_h) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
265 GET_UCHAR(BZ_X_BLKHDR_1, uc); in BZ2_decompress()
267 if (uc == 0x17) goto endhdr_2; in BZ2_decompress()
268 if (uc != 0x31) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
269 GET_UCHAR(BZ_X_BLKHDR_2, uc); in BZ2_decompress()
270 if (uc != 0x41) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
271 GET_UCHAR(BZ_X_BLKHDR_3, uc); in BZ2_decompress()
272 if (uc != 0x59) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
273 GET_UCHAR(BZ_X_BLKHDR_4, uc); in BZ2_decompress()
274 if (uc != 0x26) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
275 GET_UCHAR(BZ_X_BLKHDR_5, uc); in BZ2_decompress()
276 if (uc != 0x53) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
277 GET_UCHAR(BZ_X_BLKHDR_6, uc); in BZ2_decompress()
278 if (uc != 0x59) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
285 GET_UCHAR(BZ_X_BCRC_1, uc); in BZ2_decompress()
286 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
287 GET_UCHAR(BZ_X_BCRC_2, uc); in BZ2_decompress()
288 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
289 GET_UCHAR(BZ_X_BCRC_3, uc); in BZ2_decompress()
290 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
291 GET_UCHAR(BZ_X_BCRC_4, uc); in BZ2_decompress()
292 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
297 GET_UCHAR(BZ_X_ORIGPTR_1, uc); in BZ2_decompress()
298 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
299 GET_UCHAR(BZ_X_ORIGPTR_2, uc); in BZ2_decompress()
300 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
301 GET_UCHAR(BZ_X_ORIGPTR_3, uc); in BZ2_decompress()
302 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
311 GET_BIT(BZ_X_MAPPING_1, uc); in BZ2_decompress()
312 if (uc == 1) in BZ2_decompress()
322 GET_BIT(BZ_X_MAPPING_2, uc); in BZ2_decompress()
323 if (uc == 1) s->inUse[i * 16 + j] = True; in BZ2_decompress()
337 GET_BIT(BZ_X_SELECTOR_3, uc); in BZ2_decompress()
338 if (uc == 0) break; in BZ2_decompress()
365 GET_BIT(BZ_X_CODING_2, uc); in BZ2_decompress()
366 if (uc == 0) break; in BZ2_decompress()
367 GET_BIT(BZ_X_CODING_3, uc); in BZ2_decompress()
368 if (uc == 0) curr++; else curr--; in BZ2_decompress()
438 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ]; in BZ2_decompress()
439 s->unzftab[uc] += es; in BZ2_decompress()
444 s->ll16[nblock] = (UInt16)uc; in BZ2_decompress()
451 s->tt[nblock] = (UInt32)uc; in BZ2_decompress()
471 uc = s->mtfa[pp+nn]; in BZ2_decompress()
483 s->mtfa[pp] = uc; in BZ2_decompress()
489 uc = s->mtfa[pp]; in BZ2_decompress()
501 s->mtfa[s->mtfbase[0]] = uc; in BZ2_decompress()
519 s->unzftab[s->seqToUnseq[uc]]++; in BZ2_decompress()
521 s->ll16[nblock] = (UInt16)(s->seqToUnseq[uc]); else in BZ2_decompress()
522 s->tt[nblock] = (UInt32)(s->seqToUnseq[uc]); in BZ2_decompress()
554 uc = (UChar)(s->ll16[i]); in BZ2_decompress()
555 SET_LL(i, s->cftabCopy[uc]); in BZ2_decompress()
556 s->cftabCopy[uc]++; in BZ2_decompress()
590 uc = (UChar)(s->tt[i] & 0xff); in BZ2_decompress()
591 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress()
592 s->cftab[uc]++; in BZ2_decompress()
612 GET_UCHAR(BZ_X_ENDHDR_2, uc); in BZ2_decompress()
613 if (uc != 0x72) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
614 GET_UCHAR(BZ_X_ENDHDR_3, uc); in BZ2_decompress()
615 if (uc != 0x45) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
616 GET_UCHAR(BZ_X_ENDHDR_4, uc); in BZ2_decompress()
617 if (uc != 0x38) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
618 GET_UCHAR(BZ_X_ENDHDR_5, uc); in BZ2_decompress()
619 if (uc != 0x50) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
620 GET_UCHAR(BZ_X_ENDHDR_6, uc); in BZ2_decompress()
621 if (uc != 0x90) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
624 GET_UCHAR(BZ_X_CCRC_1, uc); in BZ2_decompress()
625 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
626 GET_UCHAR(BZ_X_CCRC_2, uc); in BZ2_decompress()
627 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
628 GET_UCHAR(BZ_X_CCRC_3, uc); in BZ2_decompress()
629 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
630 GET_UCHAR(BZ_X_CCRC_4, uc); in BZ2_decompress()
631 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()