Lines Matching refs:Index
146 UINT16 Index;
162 for (Index = 0; Index <= 16; Index++) {
163 Count[Index] = 0;
166 for (Index = 0; Index < NumOfChar; Index++) {
167 Count[BitLen[Index]]++;
173 for (Index = 1; Index <= 16; Index++) {
174 WordOfStart = Start[Index];
175 WordOfCount = Count[Index];
176 Start[Index + 1] = (UINT16) (WordOfStart + (WordOfCount << (16 - Index)));
187 for (Index = 1; Index <= TableBits; Index++) {
188 Start[Index] >>= JuBits;
189 Weight[Index] = (UINT16) (1U << (TableBits - Index));
192 while (Index <= 16) {
193 Weight[Index] = (UINT16) (1U << (16 - Index));
194 Index++;
197 Index = (UINT16) (Start[TableBits + 1] >> JuBits);
199 if (Index != 0) {
201 if (Index < Index3) {
202 SetMem16 (Table + Index, (Index3 - Index) * sizeof (*Table), 0);
220 for (Index = Start[Len]; Index < NextCode; Index++) {
221 Table[Index] = Char;
228 Index = (UINT16) (Len - TableBits);
230 while (Index != 0) {
245 Index--;
333 UINT16 Index;
355 Index = 0;
357 while (Index < Number && Index < NPT) {
376 Sd->mPTLen[Index++] = (UINT8) CharC;
384 if (Index == Special) {
386 while ((INT16) (--CharC) >= 0 && Index < NPT) {
387 Sd->mPTLen[Index++] = 0;
392 while (Index < nn && Index < NPT) {
393 Sd->mPTLen[Index++] = 0;
415 UINT16 Index;
432 Index = 0;
433 while (Index < Number && Index < NC) {
465 while ((INT16) (--CharC) >= 0 && Index < NC) {
466 Sd->mCLen[Index++] = 0;
471 Sd->mCLen[Index++] = (UINT8) (CharC - 2);
476 SetMem (Sd->mCLen + Index, NC - Index, 0);