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