Lines Matching refs:CharC
377 UINT16 CharC; in ReadPTLen() local
384 CharC = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
387 Sd->mPTTable[Index] = CharC; in ReadPTLen()
401 CharC = (UINT16) (Sd->mBitBuf >> (BITBUFSIZ - 3)); in ReadPTLen()
403 if (CharC == 7) { in ReadPTLen()
407 CharC += 1; in ReadPTLen()
411 FillBuf (Sd, (UINT16) ((CharC < 7) ? 3 : CharC - 3)); in ReadPTLen()
413 Sd->mPTLen[Index++] = (UINT8) CharC; in ReadPTLen()
416 CharC = (UINT16) GetBits (Sd, 2); in ReadPTLen()
417 while ((INT16) (--CharC) >= 0) { in ReadPTLen()
449 UINT16 CharC; in ReadCLen() local
456 CharC = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
463 Sd->mCTable[Index] = CharC; in ReadCLen()
472 CharC = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in ReadCLen()
473 if (CharC >= NT) { in ReadCLen()
479 CharC = Sd->mRight[CharC]; in ReadCLen()
481 CharC = Sd->mLeft[CharC]; in ReadCLen()
486 } while (CharC >= NT); in ReadCLen()
491 FillBuf (Sd, Sd->mPTLen[CharC]); in ReadCLen()
493 if (CharC <= 2) { in ReadCLen()
495 if (CharC == 0) { in ReadCLen()
496 CharC = 1; in ReadCLen()
497 } else if (CharC == 1) { in ReadCLen()
498 CharC = (UINT16) (GetBits (Sd, 4) + 3); in ReadCLen()
499 } else if (CharC == 2) { in ReadCLen()
500 CharC = (UINT16) (GetBits (Sd, CBIT) + 20); in ReadCLen()
503 while ((INT16) (--CharC) >= 0) { in ReadCLen()
509 Sd->mCLen[Index++] = (UINT8) (CharC - 2); in ReadCLen()
608 UINT16 CharC; in Decode() local
615 CharC = DecodeC (Sd); in Decode()
620 if (CharC < 256) { in Decode()
627 Sd->mDstBase[Sd->mOutBuf++] = (UINT8) CharC; in Decode()
634 CharC = (UINT16) (CharC - (BIT8 - THRESHOLD)); in Decode()
636 BytesRemain = CharC; in Decode()