Lines Matching refs:CharC
395 UINT16 CharC; in ReadPTLen() local
402 CharC = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
405 Sd->mPTTable[Index] = CharC; in ReadPTLen()
419 CharC = (UINT16) (Sd->mBitBuf >> (BITBUFSIZ - 3)); in ReadPTLen()
421 if (CharC == 7) { in ReadPTLen()
425 CharC += 1; in ReadPTLen()
429 FillBuf (Sd, (UINT16) ((CharC < 7) ? 3 : CharC - 3)); in ReadPTLen()
431 Sd->mPTLen[Index++] = (UINT8) CharC; in ReadPTLen()
434 CharC = (UINT16) GetBits (Sd, 2); in ReadPTLen()
435 while ((INT16) (--CharC) >= 0) { in ReadPTLen()
468 UINT16 CharC; in ReadCLen() local
475 CharC = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
482 Sd->mCTable[Index] = CharC; in ReadCLen()
491 CharC = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in ReadCLen()
492 if (CharC >= NT) { in ReadCLen()
498 CharC = Sd->mRight[CharC]; in ReadCLen()
500 CharC = Sd->mLeft[CharC]; in ReadCLen()
505 } while (CharC >= NT); in ReadCLen()
510 FillBuf (Sd, Sd->mPTLen[CharC]); in ReadCLen()
512 if (CharC <= 2) { in ReadCLen()
514 if (CharC == 0) { in ReadCLen()
515 CharC = 1; in ReadCLen()
516 } else if (CharC == 1) { in ReadCLen()
517 CharC = (UINT16) (GetBits (Sd, 4) + 3); in ReadCLen()
518 } else if (CharC == 2) { in ReadCLen()
519 CharC = (UINT16) (GetBits (Sd, CBIT) + 20); in ReadCLen()
522 while ((INT16) (--CharC) >= 0) { in ReadCLen()
528 Sd->mCLen[Index++] = (UINT8) (CharC - 2); in ReadCLen()
629 UINT16 CharC; in Decode() local
636 CharC = DecodeC (Sd); in Decode()
641 if (CharC < 256) { in Decode()
648 Sd->mDstBase[Sd->mOutBuf++] = (UINT8) CharC; in Decode()
655 CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD)); in Decode()
657 BytesRemain = CharC; in Decode()