Lines Matching refs:index
238 u_char *index; /* running pointer to the data while drawing */
347 if (*info->index) {
348 for (count = 0; count < *info->index; count++, x++) {
350 bmp_SetPix(info, x, y, *(info->index+1) & 0x0f);
352 bmp_SetPix(info, x, y, (*(info->index+1) >>4) & 0x0f);
355 info->index += 2;
361 switch (*(info->index+1)) {
363 info->index += 2;
366 info->index = NULL;
369 x += *(info->index + 2); /* new coords */
370 y += *(info->index + 3);
371 info->index += 4;
374 for (count = 0; count < *(info->index + 1); count++, x++) {
375 val = *(info->index + 2 + (count / 2)); /* byte with nybbles */
384 info->index += 2 + ((count + 3) / 4) * 2;
411 if (*info->index) {
412 for (count = 0; count < *info->index; count++, x++)
413 bmp_SetPix(info, x, y, *(info->index+1));
414 info->index += 2;
420 switch(*(info->index+1)) {
422 info->index += 2;
425 info->index = NULL;
428 x += *(info->index + 2); /* new coords */
429 y += *(info->index + 3);
430 info->index += 4;
433 for (count = 0; count < *(info->index + 1); count++, x++)
434 bmp_SetPix(info, x, y, *(info->index + 2 + count));
436 info->index += 2 + count + (count & 1);
459 for (x = 0; x < info->width; x++, info->index++)
460 bmp_SetPix(info, x, line, *info->index);
461 info->index += 3 - (--x % 4);
464 p = info->index;
475 info->index += ((x + 7) / 8) * 4;
478 p = info->index;
490 info->index += ((x + 31) / 32) * 4;
609 bmp_info.index = bmp_info.data;
639 for (line = 0; (line < bmp_info.height) && bmp_info.index; line++) {