Lines Matching refs:UINT16
69 UINT16 mBitCount;
72 UINT16 mBlockSize;
76 UINT16 mBadTableFlag;
78 UINT16 mLeft[2 * NC - 1];
79 UINT16 mRight[2 * NC - 1];
82 UINT16 mCTable[4096];
83 UINT16 mPTTable[256];
97 IN UINT16 NumOfBits in FillBuf()
118 Sd->mBitBuf |= (UINT32) (Sd->mSubBitBuf << (NumOfBits = (UINT16) (NumOfBits - Sd->mBitCount))); in FillBuf()
139 Sd->mBitCount = (UINT16) (Sd->mBitCount - NumOfBits); in FillBuf()
147 IN UINT16 NumOfBits in GetBits()
178 UINT16
181 IN UINT16 NumOfChar, in MakeTable()
183 IN UINT16 TableBits, in MakeTable()
184 OUT UINT16 *Table in MakeTable()
207 UINT16 Count[17]; in MakeTable()
208 UINT16 Weight[17]; in MakeTable()
209 UINT16 Start[18]; in MakeTable()
210 UINT16 *Pointer; in MakeTable()
211 UINT16 Index3; in MakeTable()
212 UINT16 Index; in MakeTable()
213 UINT16 Len; in MakeTable()
214 UINT16 Char; in MakeTable()
215 UINT16 JuBits; in MakeTable()
216 UINT16 Avail; in MakeTable()
217 UINT16 NextCode; in MakeTable()
218 UINT16 Mask; in MakeTable()
231 Start[Index + 1] = (UINT16) (Start[Index] + (Count[Index] << (16 - Index))); in MakeTable()
236 return (UINT16) BAD_TABLE; in MakeTable()
239 JuBits = (UINT16) (16 - TableBits); in MakeTable()
243 Weight[Index] = (UINT16) (1U << (TableBits - Index)); in MakeTable()
247 Weight[Index] = (UINT16) (1U << (16 - Index)); in MakeTable()
251 Index = (UINT16) (Start[TableBits + 1] >> JuBits); in MakeTable()
254 Index3 = (UINT16) (1U << TableBits); in MakeTable()
261 Mask = (UINT16) (1U << (15 - TableBits)); in MakeTable()
270 NextCode = (UINT16) (Start[Len] + Weight[Len]); in MakeTable()
282 Index = (UINT16) (Len - TableBits); in MakeTable()
333 UINT16 Val; in DecodeP()
360 Pos = (UINT32) ((1U << (Val - 1)) + GetBits (Sd, (UINT16) (Val - 1))); in DecodeP()
367 UINT16
370 IN UINT16 nn, in ReadPTLen()
371 IN UINT16 nbit, in ReadPTLen()
372 IN UINT16 Special in ReadPTLen()
394 UINT16 Number; in ReadPTLen()
395 UINT16 CharC; in ReadPTLen()
396 UINT16 Index; in ReadPTLen()
399 Number = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
402 CharC = (UINT16) GetBits (Sd, nbit); in ReadPTLen()
419 CharC = (UINT16) (Sd->mBitBuf >> (BITBUFSIZ - 3)); in ReadPTLen()
429 FillBuf (Sd, (UINT16) ((CharC < 7) ? 3 : CharC - 3)); in ReadPTLen()
434 CharC = (UINT16) GetBits (Sd, 2); in ReadPTLen()
467 UINT16 Number; in ReadCLen()
468 UINT16 CharC; in ReadCLen()
469 UINT16 Index; in ReadCLen()
472 Number = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
475 CharC = (UINT16) GetBits (Sd, CBIT); in ReadCLen()
517 CharC = (UINT16) (GetBits (Sd, 4) + 3); in ReadCLen()
519 CharC = (UINT16) (GetBits (Sd, CBIT) + 20); in ReadCLen()
543 UINT16
563 UINT16 Index2; in DecodeC()
570 Sd->mBlockSize = (UINT16) GetBits (Sd, 16); in DecodeC()
578 Sd->mBadTableFlag = ReadPTLen (Sd, MAXNP, Sd->mPBit, (UINT16) (-1)); in DecodeC()
627 UINT16 BytesRemain; in Decode()
629 UINT16 CharC; in Decode()
631 BytesRemain = (UINT16) (-1); in Decode()
655 CharC = (UINT16) (CharC - (UINT8_MAX + 1 - THRESHOLD)); in Decode()