Lines Matching defs:index
720 compareruns( unsigned char * data, unsigned int * index, unsigned int max, union RunData * currP, int * depth )
722 unsigned int i = *index;
732 if ( (*index+*depth) > max )
739 nextP = (union RunData *) &data[*index];
776 if ( (*index+6) <= max )
780 nextP = (union RunData *) &data[*index+3];
796 if (debug>2) printf("Found 4 at %x\n", *index);
799 *index += 3;
803 nextP = (union RunData *) &data[*index+2];
817 if (debug>2) printf("Found 3 at %x\n", *index);
820 *index += 2;
824 nextP = (union RunData *) &data[*index+1];
836 if (debug>2) printf("Found 2 at %x\n", *index);
839 *index += 1;
844 nextP = (union RunData *) &data[*index];
856 *index += *depth;
1286 if ( debug) printf("closest match for %06X is at index %d %06X\n", color24, ri, panic_clut[ri]);
1307 unsigned char index;
1323 index = findIndexMatch( color24.c24 );
1324 ddata[i8++] = index;
1341 unsigned char index;
1353 index = *data++;
1354 color24.c24 = panic_clut[index];
1355 index = findIndexMatch( color24.c24 );
1356 ddata[i8++] = index;
1375 unsigned char index;
1387 index = data[i8++];
1388 color24.c24 = panic_clut[index];
1408 unsigned int * new_clut, index, i;
1411 for ( index=0,i=0; i<256; index+=3,i++ )
1412 new_clut[i] = (raw_clut[index] << 16) | (raw_clut[index+1] << 8) | raw_clut[index+2];
1423 unsigned int * new_clut, index, i;
1551 fprintf(stderr,"Err: Could not open output index file %s.\n\n", name);
1594 fprintf(stderr,"Err: Could not open output index file %s.\n\n", "font.qtif");