Lines Matching refs:i
24 int i; in _gdGetColors() local
68 for (i = 0; i < gdMaxColors; i++) { in _gdGetColors()
69 if (!gdGetByte(&im->red[i], in)) { in _gdGetColors()
72 if (!gdGetByte(&im->green[i], in)) { in _gdGetColors()
75 if (!gdGetByte(&im->blue[i], in)) { in _gdGetColors()
79 if (!gdGetByte(&im->alpha[i], in)) { in _gdGetColors()
85 for (i = 0; i < im->colorsTotal; i++) { in _gdGetColors()
86 im->open[i] = 0; in _gdGetColors()
214 int i; in _gdPutColors() local
222 for (i = 0; i < gdMaxColors; i++) { in _gdPutColors()
223 gdPutC((unsigned char) im->red[i], out); in _gdPutColors()
224 gdPutC((unsigned char) im->green[i], out); in _gdPutColors()
225 gdPutC((unsigned char) im->blue[i], out); in _gdPutColors()
226 gdPutC((unsigned char) im->alpha[i], out); in _gdPutColors()