Lines Matching refs:uc

108    UChar      uc;  in BZ2_decompress()  local
197 GET_UCHAR(BZ_X_MAGIC_1, uc); in BZ2_decompress()
198 if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
200 GET_UCHAR(BZ_X_MAGIC_2, uc); in BZ2_decompress()
201 if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
203 GET_UCHAR(BZ_X_MAGIC_3, uc) in BZ2_decompress()
204 if (uc != BZ_HDR_h) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
222 GET_UCHAR(BZ_X_BLKHDR_1, uc); in BZ2_decompress()
224 if (uc == 0x17) goto endhdr_2; in BZ2_decompress()
225 if (uc != 0x31) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
226 GET_UCHAR(BZ_X_BLKHDR_2, uc); in BZ2_decompress()
227 if (uc != 0x41) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
228 GET_UCHAR(BZ_X_BLKHDR_3, uc); in BZ2_decompress()
229 if (uc != 0x59) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
230 GET_UCHAR(BZ_X_BLKHDR_4, uc); in BZ2_decompress()
231 if (uc != 0x26) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
232 GET_UCHAR(BZ_X_BLKHDR_5, uc); in BZ2_decompress()
233 if (uc != 0x53) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
234 GET_UCHAR(BZ_X_BLKHDR_6, uc); in BZ2_decompress()
235 if (uc != 0x59) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
242 GET_UCHAR(BZ_X_BCRC_1, uc); in BZ2_decompress()
243 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
244 GET_UCHAR(BZ_X_BCRC_2, uc); in BZ2_decompress()
245 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
246 GET_UCHAR(BZ_X_BCRC_3, uc); in BZ2_decompress()
247 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
248 GET_UCHAR(BZ_X_BCRC_4, uc); in BZ2_decompress()
249 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
254 GET_UCHAR(BZ_X_ORIGPTR_1, uc); in BZ2_decompress()
255 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
256 GET_UCHAR(BZ_X_ORIGPTR_2, uc); in BZ2_decompress()
257 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
258 GET_UCHAR(BZ_X_ORIGPTR_3, uc); in BZ2_decompress()
259 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
268 GET_BIT(BZ_X_MAPPING_1, uc); in BZ2_decompress()
269 if (uc == 1) in BZ2_decompress()
279 GET_BIT(BZ_X_MAPPING_2, uc); in BZ2_decompress()
280 if (uc == 1) s->inUse[i * 16 + j] = True; in BZ2_decompress()
294 GET_BIT(BZ_X_SELECTOR_3, uc); in BZ2_decompress()
295 if (uc == 0) break; in BZ2_decompress()
322 GET_BIT(BZ_X_CODING_2, uc); in BZ2_decompress()
323 if (uc == 0) break; in BZ2_decompress()
324 GET_BIT(BZ_X_CODING_3, uc); in BZ2_decompress()
325 if (uc == 0) curr++; else curr--; in BZ2_decompress()
399 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ]; in BZ2_decompress()
400 s->unzftab[uc] += es; in BZ2_decompress()
405 s->ll16[nblock] = (UInt16)uc; in BZ2_decompress()
412 s->tt[nblock] = (UInt32)uc; in BZ2_decompress()
432 uc = s->mtfa[pp+nn]; in BZ2_decompress()
444 s->mtfa[pp] = uc; in BZ2_decompress()
450 uc = s->mtfa[pp]; in BZ2_decompress()
462 s->mtfa[s->mtfbase[0]] = uc; in BZ2_decompress()
477 s->unzftab[s->seqToUnseq[uc]]++; in BZ2_decompress()
479 s->ll16[nblock] = (UInt16)(s->seqToUnseq[uc]); else in BZ2_decompress()
480 s->tt[nblock] = (UInt32)(s->seqToUnseq[uc]); in BZ2_decompress()
531 uc = (UChar)(s->ll16[i]); in BZ2_decompress()
532 SET_LL(i, s->cftabCopy[uc]); in BZ2_decompress()
533 s->cftabCopy[uc]++; in BZ2_decompress()
561 uc = (UChar)(s->tt[i] & 0xff); in BZ2_decompress()
562 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress()
563 s->cftab[uc]++; in BZ2_decompress()
584 GET_UCHAR(BZ_X_ENDHDR_2, uc); in BZ2_decompress()
585 if (uc != 0x72) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
586 GET_UCHAR(BZ_X_ENDHDR_3, uc); in BZ2_decompress()
587 if (uc != 0x45) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
588 GET_UCHAR(BZ_X_ENDHDR_4, uc); in BZ2_decompress()
589 if (uc != 0x38) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
590 GET_UCHAR(BZ_X_ENDHDR_5, uc); in BZ2_decompress()
591 if (uc != 0x50) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
592 GET_UCHAR(BZ_X_ENDHDR_6, uc); in BZ2_decompress()
593 if (uc != 0x90) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
596 GET_UCHAR(BZ_X_CCRC_1, uc); in BZ2_decompress()
597 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
598 GET_UCHAR(BZ_X_CCRC_2, uc); in BZ2_decompress()
599 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
600 GET_UCHAR(BZ_X_CCRC_3, uc); in BZ2_decompress()
601 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
602 GET_UCHAR(BZ_X_CCRC_4, uc); in BZ2_decompress()
603 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()