Lines Matching refs:CharC
332 UINT16 CharC; in ReadPTLen() local
346 CharC = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
348 SetMem16 (&Sd->mPTTable[0] , sizeof (Sd->mPTTable), CharC); in ReadPTLen()
359 CharC = (UINT16) (Sd->mBitBuf >> (BITBUFSIZ - 3)); in ReadPTLen()
366 if (CharC == 7) { in ReadPTLen()
370 CharC += 1; in ReadPTLen()
374 FillBuf (Sd, (UINT16) ((CharC < 7) ? 3 : CharC - 3)); in ReadPTLen()
376 Sd->mPTLen[Index++] = (UINT8) CharC; in ReadPTLen()
385 CharC = (UINT16) GetBits (Sd, 2); in ReadPTLen()
386 while ((INT16) (--CharC) >= 0 && Index < NPT) { in ReadPTLen()
414 UINT16 CharC; in ReadCLen() local
424 CharC = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
427 SetMem16 (&Sd->mCTable[0], sizeof (Sd->mCTable), CharC); in ReadCLen()
434 CharC = Sd->mPTTable[Sd->mBitBuf >> (BITBUFSIZ - 8)]; in ReadCLen()
435 if (CharC >= NT) { in ReadCLen()
441 CharC = Sd->mRight[CharC]; in ReadCLen()
443 CharC = Sd->mLeft[CharC]; in ReadCLen()
448 } while (CharC >= NT); in ReadCLen()
453 FillBuf (Sd, Sd->mPTLen[CharC]); in ReadCLen()
455 if (CharC <= 2) { in ReadCLen()
457 if (CharC == 0) { in ReadCLen()
458 CharC = 1; in ReadCLen()
459 } else if (CharC == 1) { in ReadCLen()
460 CharC = (UINT16) (GetBits (Sd, 4) + 3); in ReadCLen()
461 } else if (CharC == 2) { in ReadCLen()
462 CharC = (UINT16) (GetBits (Sd, CBIT) + 20); in ReadCLen()
465 while ((INT16) (--CharC) >= 0 && Index < NC) { in ReadCLen()
471 Sd->mCLen[Index++] = (UINT8) (CharC - 2); in ReadCLen()
575 UINT16 CharC; in Decode() local
585 CharC = DecodeC (Sd); in Decode()
590 if (CharC < 256) { in Decode()
600 Sd->mDstBase[Sd->mOutBuf++] = (UINT8) CharC; in Decode()
607 CharC = (UINT16) (CharC - (BIT8 - THRESHOLD)); in Decode()
612 BytesRemain = CharC; in Decode()