Lines Matching refs:uc

109    UChar      uc;  in BZ2_decompress()  local
198 GET_UCHAR(BZ_X_MAGIC_1, uc); in BZ2_decompress()
199 if (uc != BZ_HDR_B) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
201 GET_UCHAR(BZ_X_MAGIC_2, uc); in BZ2_decompress()
202 if (uc != BZ_HDR_Z) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
204 GET_UCHAR(BZ_X_MAGIC_3, uc) in BZ2_decompress()
205 if (uc != BZ_HDR_h) RETURN(BZ_DATA_ERROR_MAGIC); in BZ2_decompress()
223 GET_UCHAR(BZ_X_BLKHDR_1, uc); in BZ2_decompress()
225 if (uc == 0x17) goto endhdr_2; in BZ2_decompress()
226 if (uc != 0x31) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
227 GET_UCHAR(BZ_X_BLKHDR_2, uc); in BZ2_decompress()
228 if (uc != 0x41) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
229 GET_UCHAR(BZ_X_BLKHDR_3, uc); in BZ2_decompress()
230 if (uc != 0x59) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
231 GET_UCHAR(BZ_X_BLKHDR_4, uc); in BZ2_decompress()
232 if (uc != 0x26) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
233 GET_UCHAR(BZ_X_BLKHDR_5, uc); in BZ2_decompress()
234 if (uc != 0x53) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
235 GET_UCHAR(BZ_X_BLKHDR_6, uc); in BZ2_decompress()
236 if (uc != 0x59) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
243 GET_UCHAR(BZ_X_BCRC_1, uc); in BZ2_decompress()
244 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
245 GET_UCHAR(BZ_X_BCRC_2, uc); in BZ2_decompress()
246 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
247 GET_UCHAR(BZ_X_BCRC_3, uc); in BZ2_decompress()
248 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
249 GET_UCHAR(BZ_X_BCRC_4, uc); in BZ2_decompress()
250 s->storedBlockCRC = (s->storedBlockCRC << 8) | ((UInt32)uc); in BZ2_decompress()
255 GET_UCHAR(BZ_X_ORIGPTR_1, uc); in BZ2_decompress()
256 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
257 GET_UCHAR(BZ_X_ORIGPTR_2, uc); in BZ2_decompress()
258 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
259 GET_UCHAR(BZ_X_ORIGPTR_3, uc); in BZ2_decompress()
260 s->origPtr = (s->origPtr << 8) | ((Int32)uc); in BZ2_decompress()
269 GET_BIT(BZ_X_MAPPING_1, uc); in BZ2_decompress()
270 if (uc == 1) in BZ2_decompress()
280 GET_BIT(BZ_X_MAPPING_2, uc); in BZ2_decompress()
281 if (uc == 1) s->inUse[i * 16 + j] = True; in BZ2_decompress()
295 GET_BIT(BZ_X_SELECTOR_3, uc); in BZ2_decompress()
296 if (uc == 0) break; in BZ2_decompress()
323 GET_BIT(BZ_X_CODING_2, uc); in BZ2_decompress()
324 if (uc == 0) break; in BZ2_decompress()
325 GET_BIT(BZ_X_CODING_3, uc); in BZ2_decompress()
326 if (uc == 0) curr++; else curr--; in BZ2_decompress()
400 uc = s->seqToUnseq[ s->mtfa[s->mtfbase[0]] ]; in BZ2_decompress()
401 s->unzftab[uc] += es; in BZ2_decompress()
406 s->ll16[nblock] = (UInt16)uc; in BZ2_decompress()
413 s->tt[nblock] = (UInt32)uc; in BZ2_decompress()
433 uc = s->mtfa[pp+nn]; in BZ2_decompress()
445 s->mtfa[pp] = uc; in BZ2_decompress()
451 uc = s->mtfa[pp]; in BZ2_decompress()
463 s->mtfa[s->mtfbase[0]] = uc; in BZ2_decompress()
478 s->unzftab[s->seqToUnseq[uc]]++; in BZ2_decompress()
480 s->ll16[nblock] = (UInt16)(s->seqToUnseq[uc]); else in BZ2_decompress()
481 s->tt[nblock] = (UInt32)(s->seqToUnseq[uc]); in BZ2_decompress()
532 uc = (UChar)(s->ll16[i]); in BZ2_decompress()
533 SET_LL(i, s->cftabCopy[uc]); in BZ2_decompress()
534 s->cftabCopy[uc]++; in BZ2_decompress()
563 uc = (UChar)(s->tt[i] & 0xff); in BZ2_decompress()
564 s->tt[s->cftab[uc]] |= (i << 8); in BZ2_decompress()
565 s->cftab[uc]++; in BZ2_decompress()
587 GET_UCHAR(BZ_X_ENDHDR_2, uc); in BZ2_decompress()
588 if (uc != 0x72) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
589 GET_UCHAR(BZ_X_ENDHDR_3, uc); in BZ2_decompress()
590 if (uc != 0x45) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
591 GET_UCHAR(BZ_X_ENDHDR_4, uc); in BZ2_decompress()
592 if (uc != 0x38) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
593 GET_UCHAR(BZ_X_ENDHDR_5, uc); in BZ2_decompress()
594 if (uc != 0x50) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
595 GET_UCHAR(BZ_X_ENDHDR_6, uc); in BZ2_decompress()
596 if (uc != 0x90) RETURN(BZ_DATA_ERROR); in BZ2_decompress()
599 GET_UCHAR(BZ_X_CCRC_1, uc); in BZ2_decompress()
600 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
601 GET_UCHAR(BZ_X_CCRC_2, uc); in BZ2_decompress()
602 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
603 GET_UCHAR(BZ_X_CCRC_3, uc); in BZ2_decompress()
604 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()
605 GET_UCHAR(BZ_X_CCRC_4, uc); in BZ2_decompress()
606 s->storedCombinedCRC = (s->storedCombinedCRC << 8) | ((UInt32)uc); in BZ2_decompress()