Lines Matching refs:i
22 int i, j, k, number; in gdImageCreateFromXpm() local
35 for(i = 0; i < number; i++) { in gdImageCreateFromXpm()
36 if (!image.colorTable[i].c_color) { in gdImageCreateFromXpm()
46 for (i = 0; i < number; i++) { in gdImageCreateFromXpm()
47 switch (strlen (image.colorTable[i].c_color)) { in gdImageCreateFromXpm()
50 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
53 buf[0] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
56 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
62 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
63 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
66 buf[0] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
67 buf[1] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
70 buf[0] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
71 buf[1] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
77 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
78 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
79 buf[2] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
83 buf[0] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
84 buf[1] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
85 buf[2] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
89 buf[0] = image.colorTable[i].c_color[7]; in gdImageCreateFromXpm()
90 buf[1] = image.colorTable[i].c_color[8]; in gdImageCreateFromXpm()
91 buf[2] = image.colorTable[i].c_color[9]; in gdImageCreateFromXpm()
98 buf[0] = image.colorTable[i].c_color[1]; in gdImageCreateFromXpm()
99 buf[1] = image.colorTable[i].c_color[2]; in gdImageCreateFromXpm()
100 buf[2] = image.colorTable[i].c_color[3]; in gdImageCreateFromXpm()
101 buf[3] = image.colorTable[i].c_color[4]; in gdImageCreateFromXpm()
105 buf[0] = image.colorTable[i].c_color[5]; in gdImageCreateFromXpm()
106 buf[1] = image.colorTable[i].c_color[6]; in gdImageCreateFromXpm()
107 buf[2] = image.colorTable[i].c_color[7]; in gdImageCreateFromXpm()
108 buf[3] = image.colorTable[i].c_color[8]; in gdImageCreateFromXpm()
112 buf[0] = image.colorTable[i].c_color[9]; in gdImageCreateFromXpm()
113 buf[1] = image.colorTable[i].c_color[10]; in gdImageCreateFromXpm()
114 buf[2] = image.colorTable[i].c_color[11]; in gdImageCreateFromXpm()
115 buf[3] = image.colorTable[i].c_color[12]; in gdImageCreateFromXpm()
122 colors[i] = gdImageColorResolve(im, red, green, blue); in gdImageCreateFromXpm()
126 for (i = 0; i < image.height; i++) { in gdImageCreateFromXpm()
129 gdImageSetPixel(im, j, i, colors[k]); in gdImageCreateFromXpm()