j 178 src/bin/imlib2_show.c int j; j 189 src/bin/imlib2_show.c for (j = 0x100; --j >= 0;) j 191 src/bin/imlib2_show.c rt[j] = ((double)rt[j]) * rm; j 192 src/bin/imlib2_show.c gt[j] = ((double)gt[j]) * gm; j 193 src/bin/imlib2_show.c bt[j] = ((double)bt[j]) * bm; j 194 src/bin/imlib2_show.c at[j] = ((double)at[j]) * am; j 793 src/bin/imlib2_show.c int x, y, i, j; j 1279 src/bin/imlib2_show.c for (j = 0; j < 32; j++) j 1285 src/bin/imlib2_show.c ic = ((j * 32) + i) % 13; j 1292 src/bin/imlib2_show.c y + (j * ih * 2), ww, j 1295 src/bin/imlib2_show.c py + (j * ih * 2), ww, j 1301 src/bin/imlib2_show.c y + (j * ih * 2), j 28 src/lib/blend.c int i, j; j 35 src/lib/blend.c for (j = 0; j < 256; j++) j 40 src/lib/blend.c divisor = (i + (j * (255 - i)) / 255); j 42 src/lib/blend.c pow_lut[i][j] = (i * 255) / divisor; j 44 src/lib/blend.c pow_lut[i][j] = 0; j 37 src/lib/color.c int j, i, num, maxd = 0; j 45 src/lib/color.c for (j = 0; j < 6; j++) j 47 src/lib/color.c xvi.class = visprefs[j]; j 166 src/lib/color.c int j; j 170 src/lib/color.c for (j = 0; j < i; j++) j 171 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 223 src/lib/color.c int j; j 227 src/lib/color.c for (j = 0; j < i; j++) j 228 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 280 src/lib/color.c int j; j 284 src/lib/color.c for (j = 0; j < i; j++) j 285 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 337 src/lib/color.c int j; j 341 src/lib/color.c for (j = 0; j < i; j++) j 342 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 395 src/lib/color.c int j; j 399 src/lib/color.c for (j = 0; j < i; j++) j 400 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 454 src/lib/color.c int j; j 458 src/lib/color.c for (j = 0; j < i; j++) j 459 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 514 src/lib/color.c int j; j 518 src/lib/color.c for (j = 0; j < i; j++) j 519 src/lib/color.c pixels[j] = (unsigned long)color_lut[j]; j 98 src/lib/color_helpers.c float i, j, k, max, min, d; j 101 src/lib/color_helpers.c j = ((float)g) / 255.0; j 106 src/lib/color_helpers.c if (j > max) j 108 src/lib/color_helpers.c max = j; j 112 src/lib/color_helpers.c min = j; j 137 src/lib/color_helpers.c *hue = (j - k) / d; j 143 src/lib/color_helpers.c *hue = 4 + (i - j) / d; j 369 src/lib/font_draw.c int i, j, w, h; j 372 src/lib/font_draw.c j = fg->glyph_out->bitmap.pitch; j 374 src/lib/font_draw.c if (j < w) j 375 src/lib/font_draw.c j = w; j 380 src/lib/font_draw.c if ((j > 0) && (chr_x + w > ext_x)) j 408 src/lib/font_draw.c src_ptr = data + (i * j) + in_x; j 38 src/lib/font_load.c int j, k, size, faceidx; j 43 src/lib/font_load.c for (j = strlen(fontname) - 1; (j >= 0) && (fontname[j] != '/'); j--); j 45 src/lib/font_load.c if (j <= 0) j 48 src/lib/font_load.c size = atoi(&(fontname[j + 1])); j 51 src/lib/font_load.c for (k = j - 1; k > 0; k--) j 60 src/lib/font_load.c j = k; j 64 src/lib/font_load.c name = malloc((j + 1) * sizeof(char)); j 65 src/lib/font_load.c memcpy(name, fontname, j); j 66 src/lib/font_load.c name[j] = 0; j 92 src/lib/font_load.c for (j = 0; (j < fpath_num) && (!file); j++) j 94 src/lib/font_load.c tmp = malloc(strlen(fpath[j]) + 1 + strlen(name) + 4 + 1); j 102 src/lib/font_load.c sprintf(tmp, "%s/%s.ttf", fpath[j], name); j 107 src/lib/font_load.c sprintf(tmp, "%s/%s.TTF", fpath[j], name); j 112 src/lib/font_load.c sprintf(tmp, "%s/%s", fpath[j], name); j 388 src/lib/font_load.c int i, j; j 397 src/lib/font_load.c for (j = i; j < fpath_num; j++) j 398 src/lib/font_load.c fpath[j] = fpath[j + 1]; j 434 src/lib/font_load.c int i, j, d, l = 0; j 446 src/lib/font_load.c for (j = 0; j < d; j++) j 448 src/lib/font_load.c path = malloc(strlen(fpath[i]) + strlen(dir[j]) + 2); j 449 src/lib/font_load.c sprintf(path, "%s/%s", fpath[i], dir[j]); j 451 src/lib/font_load.c if ((p = strrchr(dir[j], '.'))) j 453 src/lib/font_load.c if (!__imlib_ItemInList(list, l, dir[j])) j 468 src/lib/font_load.c list[l - 1] = strdup(dir[j]); j 470 src/lib/font_load.c free(dir[j]); j 79 src/lib/grad.c int r, g, b, a, rr, gg, bb, aa, i, l, ll, v1, v2, inc, j; j 95 src/lib/grad.c for (j = 0; j < p->distance; j++) j 97 src/lib/grad.c v1 = (j << 16) / p->distance; j 150 src/lib/grad.c int r, g, b, a, rr, gg, bb, aa, i, l, ll, inc, j; j 167 src/lib/grad.c for (j = 0; j < p->distance; j++) j 169 src/lib/grad.c k1 = (j << 16) / (float)p->distance; j 266 src/lib/polygon.c for (m = 0; (m < nactive_edges) && (edge[m].index != (j)); m++); \ j 503 src/lib/polygon.c int j; j 509 src/lib/polygon.c j = i - 1; j 511 src/lib/polygon.c j = nvertices - 1; j 513 src/lib/polygon.c if (j >= 0) j 515 src/lib/polygon.c if (poly->points[j].y < y) j 516 src/lib/polygon.c DEL_EDGE(j); j 518 src/lib/polygon.c ADD_EDGE(j); j 521 src/lib/polygon.c j = i + 1; j 523 src/lib/polygon.c j = 0; j 525 src/lib/polygon.c if (j < nvertices) j 527 src/lib/polygon.c if (poly->points[j].y < y) j 549 src/lib/polygon.c j = 0; j 550 src/lib/polygon.c while (j < nactive_edges) j 556 src/lib/polygon.c e = edge + j; j 697 src/lib/polygon.c j++; j 746 src/lib/polygon.c int j; j 752 src/lib/polygon.c j = i - 1; j 754 src/lib/polygon.c j = nvertices - 1; j 756 src/lib/polygon.c if (j >= 0) j 758 src/lib/polygon.c if (poly->points[j].y < y) j 759 src/lib/polygon.c DEL_EDGE(j); j 761 src/lib/polygon.c ADD_EDGE(j); j 764 src/lib/polygon.c j = i + 1; j 766 src/lib/polygon.c j = 0; j 768 src/lib/polygon.c if (j < nvertices) j 770 src/lib/polygon.c if (poly->points[j].y <= y) j 792 src/lib/polygon.c j = 0; j 793 src/lib/polygon.c while (j < nactive_edges) j 799 src/lib/polygon.c e = edge + j; j 1023 src/lib/polygon.c j++; j 1127 src/lib/polygon.c int j; j 1134 src/lib/polygon.c j = i - 1; j 1136 src/lib/polygon.c j = nvertices - 1; j 1138 src/lib/polygon.c if (poly->points[j].y < y) j 1139 src/lib/polygon.c DEL_EDGE(j); j 1141 src/lib/polygon.c ADD_EDGE(j); j 1144 src/lib/polygon.c j = i + 1; j 1146 src/lib/polygon.c j = 0; j 1148 src/lib/polygon.c if (poly->points[j].y < y) j 1168 src/lib/polygon.c j = 0; j 1169 src/lib/polygon.c while (j < nactive_edges) j 1176 src/lib/polygon.c if (j < (nactive_edges - 1)) j 1178 src/lib/polygon.c le = edge + j; j 1181 src/lib/polygon.c else if (j > 0) j 1183 src/lib/polygon.c le = edge + (j - 1); j 1399 src/lib/polygon.c j += 2; j 1448 src/lib/polygon.c int j; j 1455 src/lib/polygon.c j = i - 1; j 1457 src/lib/polygon.c j = nvertices - 1; j 1459 src/lib/polygon.c if (poly->points[j].y < y) j 1460 src/lib/polygon.c DEL_EDGE(j); j 1462 src/lib/polygon.c ADD_EDGE(j); j 1465 src/lib/polygon.c j = i + 1; j 1467 src/lib/polygon.c j = 0; j 1469 src/lib/polygon.c if (poly->points[j].y < y) j 1488 src/lib/polygon.c j = 0; j 1489 src/lib/polygon.c while (j < nactive_edges) j 1496 src/lib/polygon.c if (j < (nactive_edges - 1)) j 1498 src/lib/polygon.c le = edge + j; j 1501 src/lib/polygon.c else if (j > 0) j 1503 src/lib/polygon.c le = edge + (j - 1); j 1778 src/lib/polygon.c j += 2; j 28 src/lib/scale.c int i, j = 0; j 51 src/lib/scale.c p[j++] = src + ((val >> 16) * sw); j 60 src/lib/scale.c p[j++] = src + ((val >> 16) * sw); j 68 src/lib/scale.c p[j++] = src + ((val >> 16) * sw); j 85 src/lib/scale.c int *p, i, j = 0; j 108 src/lib/scale.c p[j++] = (val >> 16); j 117 src/lib/scale.c p[j++] = (val >> 16); j 125 src/lib/scale.c p[j++] = (val >> 16); j 142 src/lib/scale.c int *p, i, j = 0, rv = 0; j 166 src/lib/scale.c p[j++] = 0; j 177 src/lib/scale.c p[j++] = (val >> 8) - ((val >> 8) & 0xffffff00); j 179 src/lib/scale.c p[j - 1] = 0; j 184 src/lib/scale.c p[j++] = 0; j 192 src/lib/scale.c p[j++] = (1 << (16 + 14)) + (1 << 14); j 205 src/lib/scale.c p[j] = ap | (Cp << 16); j 206 src/lib/scale.c j++; j 211 src/lib/scale.c p[j++] = (1 << (16 + 14)) + (1 << 14); j 422 src/lib/scale.c int Cy, j; j 441 src/lib/scale.c for (j = (1 << 14) - yap; j > Cy; j -= Cy) j 449 src/lib/scale.c if (j > 0) j 452 src/lib/scale.c r += (R_VAL(pix) * j) >> 10; j 453 src/lib/scale.c g += (G_VAL(pix) * j) >> 10; j 454 src/lib/scale.c b += (B_VAL(pix) * j) >> 10; j 455 src/lib/scale.c a += (A_VAL(pix) * j) >> 10; j 465 src/lib/scale.c for (j = (1 << 14) - yap; j > Cy; j -= Cy) j 473 src/lib/scale.c if (j > 0) j 476 src/lib/scale.c rr += (R_VAL(pix) * j) >> 10; j 477 src/lib/scale.c gg += (G_VAL(pix) * j) >> 10; j 478 src/lib/scale.c bb += (B_VAL(pix) * j) >> 10; j 479 src/lib/scale.c aa += (A_VAL(pix) * j) >> 10; j 526 src/lib/scale.c for (j = 0; j < yap; j++) j 551 src/lib/scale.c for (j = 0; j < yap; j++) j 605 src/lib/scale.c int Cx, j; j 624 src/lib/scale.c for (j = (1 << 14) - xap; j > Cx; j -= Cx) j 632 src/lib/scale.c if (j > 0) j 635 src/lib/scale.c r += (R_VAL(pix) * j) >> 10; j 636 src/lib/scale.c g += (G_VAL(pix) * j) >> 10; j 637 src/lib/scale.c b += (B_VAL(pix) * j) >> 10; j 638 src/lib/scale.c a += (A_VAL(pix) * j) >> 10; j 648 src/lib/scale.c for (j = (1 << 14) - xap; j > Cx; j -= Cx) j 656 src/lib/scale.c if (j > 0) j 659 src/lib/scale.c rr += (R_VAL(pix) * j) >> 10; j 660 src/lib/scale.c gg += (G_VAL(pix) * j) >> 10; j 661 src/lib/scale.c bb += (B_VAL(pix) * j) >> 10; j 662 src/lib/scale.c aa += (A_VAL(pix) * j) >> 10; j 793 src/lib/scale.c int Cx, Cy, i, j; j 838 src/lib/scale.c for (j = (1 << 14) - yap; j > Cy; j -= Cy) j 868 src/lib/scale.c if (j > 0) j 893 src/lib/scale.c r += (rx * j) >> 14; j 894 src/lib/scale.c g += (gx * j) >> 14; j 895 src/lib/scale.c b += (bx * j) >> 14; j 896 src/lib/scale.c a += (ax * j) >> 14; j 931 src/lib/scale.c for (j = yap; --j >= 0;) j 1060 src/lib/scale.c int Cy, j; j 1079 src/lib/scale.c for (j = (1 << 14) - yap; j > Cy; j -= Cy) j 1086 src/lib/scale.c if (j > 0) j 1088 src/lib/scale.c r += (R_VAL(pix) * j) >> 10; j 1089 src/lib/scale.c g += (G_VAL(pix) * j) >> 10; j 1090 src/lib/scale.c b += (B_VAL(pix) * j) >> 10; j 1099 src/lib/scale.c for (j = (1 << 14) - yap; j > Cy; j -= Cy) j 1106 src/lib/scale.c if (j > 0) j 1108 src/lib/scale.c rr += (R_VAL(pix) * j) >> 10; j 1109 src/lib/scale.c gg += (G_VAL(pix) * j) >> 10; j 1110 src/lib/scale.c bb += (B_VAL(pix) * j) >> 10; j 1153 src/lib/scale.c for (j = 0; j < yap; j++) j 1174 src/lib/scale.c for (j = 0; j < yap; j++) j 1222 src/lib/scale.c int Cx, j; j 1241 src/lib/scale.c for (j = (1 << 14) - xap; j > Cx; j -= Cx) j 1248 src/lib/scale.c if (j > 0) j 1250 src/lib/scale.c r += (R_VAL(pix) * j) >> 10; j 1251 src/lib/scale.c g += (G_VAL(pix) * j) >> 10; j 1252 src/lib/scale.c b += (B_VAL(pix) * j) >> 10; j 1261 src/lib/scale.c for (j = (1 << 14) - xap; j > Cx; j -= Cx) j 1268 src/lib/scale.c if (j > 0) j 1270 src/lib/scale.c rr += (R_VAL(pix) * j) >> 10; j 1271 src/lib/scale.c gg += (G_VAL(pix) * j) >> 10; j 1272 src/lib/scale.c bb += (B_VAL(pix) * j) >> 10; j 1387 src/lib/scale.c int Cx, Cy, i, j; j 1428 src/lib/scale.c for (j = (1 << 14) - yap; j > Cy; j -= Cy) j 1454 src/lib/scale.c if (j > 0) j 1476 src/lib/scale.c r += (rx * j) >> 14; j 1477 src/lib/scale.c g += (gx * j) >> 14; j 1478 src/lib/scale.c b += (bx * j) >> 14; j 1512 src/lib/scale.c for (j = yap; --j >= 0;) j 96 src/lib/ximage.c int j; j 110 src/lib/ximage.c for (j = i; j < list_num; j++) j 112 src/lib/ximage.c list_xim[j] = list_xim[j + 1]; j 113 src/lib/ximage.c list_si[j] = list_si[j + 1]; j 114 src/lib/ximage.c list_used[j] = list_used[j + 1]; j 115 src/lib/ximage.c list_d[j] = list_d[j + 1]; j 22 src/modules/filters/filter_bumpmap.c int w, h, i, j, w2, h2, wh2, mx, my; j 66 src/modules/filters/filter_bumpmap.c for (j = h; --j >= 0;) j 141 src/modules/filters/filter_bumpmap.c int w, h, i, j, w2, h2, wh2, mx, my; j 180 src/modules/filters/filter_bumpmap.c for (j = h; --j >= 0;) j 145 src/modules/loaders/loader_bmp.c unsigned long size, offset, headSize, comp, imgsize, j, k, l; j 430 src/modules/loaders/loader_bmp.c for (j = l/2; j; j--) { j 467 src/modules/loaders/loader_bmp.c for (j = l/2; j; j--) { j 580 src/modules/loaders/loader_bmp.c for (j = l; j; j--) *ptr++ = pix; j 609 src/modules/loaders/loader_bmp.c for (j = 0; j < l; j++) j 838 src/modules/loaders/loader_bmp.c unsigned long i, j, pad; j 871 src/modules/loaders/loader_bmp.c for (j = 0; j < im->w; j++) j 873 src/modules/loaders/loader_bmp.c imlib_image_query_pixel (j, im->h - i - 1, &pixel_color); j 878 src/modules/loaders/loader_bmp.c for (j = 0; j < pad; j++) j 16 src/modules/loaders/loader_gif.c int i, j, done, bg, r, g, b, w = 0, h = 0; j 97 src/modules/loaders/loader_gif.c for (j = intoffset[i]; j < h; j += intjump[i]) j 99 src/modules/loaders/loader_gif.c DGifGetLine(gif, rows[j], w); j 160 src/modules/loaders/loader_gif.c for (j = 0; j < w; j++) j 162 src/modules/loaders/loader_gif.c if (rows[i][j] == transp) j 171 src/modules/loaders/loader_gif.c r = cmap->Colors[rows[i][j]].Red; j 172 src/modules/loaders/loader_gif.c g = cmap->Colors[rows[i][j]].Green; j 173 src/modules/loaders/loader_gif.c b = cmap->Colors[rows[i][j]].Blue; j 237 src/modules/loaders/loader_jpeg.c int i, j, pl = 0; j 309 src/modules/loaders/loader_jpeg.c for (j = 0, i = 0; i < im->w; i++) j 311 src/modules/loaders/loader_jpeg.c buf[j++] = ((*ptr) >> 16) & 0xff; j 312 src/modules/loaders/loader_jpeg.c buf[j++] = ((*ptr) >> 8) & 0xff; j 313 src/modules/loaders/loader_jpeg.c buf[j++] = ((*ptr)) & 0xff; j 241 src/modules/loaders/loader_png.c int x, y, j; j 357 src/modules/loaders/loader_png.c for (j = 0, x = 0; x < im->w; x++) j 359 src/modules/loaders/loader_png.c data[j++] = (ptr[x] >> 16) & 0xff; j 360 src/modules/loaders/loader_png.c data[j++] = (ptr[x] >> 8) & 0xff; j 361 src/modules/loaders/loader_png.c data[j++] = (ptr[x]) & 0xff; j 128 src/modules/loaders/loader_pnm.c int i, j, x, y, pl = 0; j 211 src/modules/loaders/loader_pnm.c j = 0; j 231 src/modules/loaders/loader_pnm.c buf2[j++] = buf[i++]; j 232 src/modules/loaders/loader_pnm.c if (j) j 234 src/modules/loaders/loader_pnm.c buf2[j] = 0; j 236 src/modules/loaders/loader_pnm.c j = 0; j 303 src/modules/loaders/loader_pnm.c j = 0; j 325 src/modules/loaders/loader_pnm.c buf2[j++] = buf[i++]; j 326 src/modules/loaders/loader_pnm.c if (j) j 328 src/modules/loaders/loader_pnm.c buf2[j] = 0; j 330 src/modules/loaders/loader_pnm.c j = 0; j 394 src/modules/loaders/loader_pnm.c j = 0; j 395 src/modules/loaders/loader_pnm.c while ((fread(data, 1, 1, f)) && (j < (w * h))) j 399 src/modules/loaders/loader_pnm.c if (j < (w * h)) j 407 src/modules/loaders/loader_pnm.c j++; j 59 src/modules/loaders/loader_tiff.c int i, j, dy, rast_offset; j 80 src/modules/loaders/loader_tiff.c for (j = 0; j < w; j++) j 100 src/modules/loaders/loader_xpm.c int pc, c, i, j, k, w, h, ncolors, cpp, comment, transp, j 143 src/modules/loaders/loader_xpm.c j = 0; j 268 src/modules/loaders/loader_xpm.c j = 0; j 274 src/modules/loaders/loader_xpm.c if (j < ncolors) j 285 src/modules/loaders/loader_xpm.c strncpy(cmap[j].str, line, cpp); j 286 src/modules/loaders/loader_xpm.c cmap[j].str[cpp] = 0; j 287 src/modules/loaders/loader_xpm.c cmap[j].r = -1; j 288 src/modules/loaders/loader_xpm.c cmap[j].transp = 0; j 322 src/modules/loaders/loader_xpm.c cmap[j].transp = 1; j 326 src/modules/loaders/loader_xpm.c if ((((cmap[j].r < 0) || j 337 src/modules/loaders/loader_xpm.c cmap[j].r = r; j 338 src/modules/loaders/loader_xpm.c cmap[j].g = g; j 339 src/modules/loaders/loader_xpm.c cmap[j].b = b; j 364 src/modules/loaders/loader_xpm.c j++; j 365 src/modules/loaders/loader_xpm.c if (j >= ncolors) j 538 src/modules/loaders/loader_xpm.c for (j = 0; j < cpp; j++, i++) j 540 src/modules/loaders/loader_xpm.c col[j] = line[i]; j 542 src/modules/loaders/loader_xpm.c col[j] = 0; j 544 src/modules/loaders/loader_xpm.c for (j = 0; j < ncolors; j++) j 546 src/modules/loaders/loader_xpm.c if (!strcmp(col, cmap[j].str)) j 548 src/modules/loaders/loader_xpm.c if (cmap[j].transp) j 571 src/modules/loaders/loader_xpm.c r = (unsigned char)cmap[j]. j 573 src/modules/loaders/loader_xpm.c g = (unsigned char)cmap[j]. j 575 src/modules/loaders/loader_xpm.c b = (unsigned char)cmap[j]. j 583 src/modules/loaders/loader_xpm.c j = ncolors; j 594 src/modules/loaders/loader_xpm.c for (j = 0; j < cpp; j++, i++) j 596 src/modules/loaders/loader_xpm.c col[j] = line[i]; j 598 src/modules/loaders/loader_xpm.c col[j] = 0; j 600 src/modules/loaders/loader_xpm.c for (j = 0; j < ncolors; j++) j 602 src/modules/loaders/loader_xpm.c if (!strcmp(col, cmap[j].str)) j 604 src/modules/loaders/loader_xpm.c r = (unsigned char)cmap[j].r; j 605 src/modules/loaders/loader_xpm.c g = (unsigned char)cmap[j].g; j 606 src/modules/loaders/loader_xpm.c b = (unsigned char)cmap[j].b; j 611 src/modules/loaders/loader_xpm.c j = ncolors;