Lines Matching refs:Index

212   UINT16  Index;  in MakeTable()  local
220 for (Index = 1; Index <= 16; Index++) { in MakeTable()
221 Count[Index] = 0; in MakeTable()
224 for (Index = 0; Index < NumOfChar; Index++) { in MakeTable()
225 Count[BitLen[Index]]++; in MakeTable()
230 for (Index = 1; Index <= 16; Index++) { in MakeTable()
231 Start[Index + 1] = (UINT16) (Start[Index] + (Count[Index] << (16 - Index))); in MakeTable()
241 for (Index = 1; Index <= TableBits; Index++) { in MakeTable()
242 Start[Index] >>= JuBits; in MakeTable()
243 Weight[Index] = (UINT16) (1U << (TableBits - Index)); in MakeTable()
246 while (Index <= 16) { in MakeTable()
247 Weight[Index] = (UINT16) (1U << (16 - Index)); in MakeTable()
248 Index++; in MakeTable()
251 Index = (UINT16) (Start[TableBits + 1] >> JuBits); in MakeTable()
253 if (Index != 0) { in MakeTable()
255 while (Index != Index3) { in MakeTable()
256 Table[Index++] = 0; in MakeTable()
274 for (Index = Start[Len]; Index < NextCode; Index++) { in MakeTable()
275 Table[Index] = Char; in MakeTable()
282 Index = (UINT16) (Len - TableBits); in MakeTable()
284 while (Index != 0) { in MakeTable()
297 Index--; in MakeTable()
396 UINT16 Index; in ReadPTLen() local
404 for (Index = 0; Index < 256; Index++) { in ReadPTLen()
405 Sd->mPTTable[Index] = CharC; in ReadPTLen()
408 for (Index = 0; Index < nn; Index++) { in ReadPTLen()
409 Sd->mPTLen[Index] = 0; in ReadPTLen()
415 Index = 0; in ReadPTLen()
417 while (Index < Number) { in ReadPTLen()
431 Sd->mPTLen[Index++] = (UINT8) CharC; in ReadPTLen()
433 if (Index == Special) { in ReadPTLen()
436 Sd->mPTLen[Index++] = 0; in ReadPTLen()
441 while (Index < nn) { in ReadPTLen()
442 Sd->mPTLen[Index++] = 0; in ReadPTLen()
469 UINT16 Index; in ReadCLen() local
477 for (Index = 0; Index < NC; Index++) { in ReadCLen()
478 Sd->mCLen[Index] = 0; in ReadCLen()
481 for (Index = 0; Index < 4096; Index++) { in ReadCLen()
482 Sd->mCTable[Index] = CharC; in ReadCLen()
488 Index = 0; in ReadCLen()
489 while (Index < Number) { in ReadCLen()
523 Sd->mCLen[Index++] = 0; in ReadCLen()
528 Sd->mCLen[Index++] = (UINT8) (CharC - 2); in ReadCLen()
533 while (Index < NC) { in ReadCLen()
534 Sd->mCLen[Index++] = 0; in ReadCLen()
751 UINT32 Index; in Decompress() local
793 for (Index = 0; Index < sizeof (SCRATCH_DATA); Index++) { in Decompress()
794 ((UINT8 *) Sd)[Index] = 0; in Decompress()