Searched defs:colors (Results 1 - 7 of 7) sorted by relevance

/PHP_5_6/ext/gd/libgd/
H A Dgd_gif_out.c89 static int colorstobpp(int colors);
144 colorstobpp(int colors) argument
148 if ( colors <= 2 )
150 else if ( colors <= 4 )
152 else if ( colors <= 8 )
154 else if ( colors <= 16 )
156 else if ( colors <= 32 )
158 else if ( colors <= 64 )
160 else if ( colors <= 128 )
162 else if ( colors <
[all...]
H A Dgd_png.c233 php_gd_error("gd-png color_type is palette, colors: %d", num_palette);
469 int colors = im->colorsTotal; local
544 /* count actual number of colors used (colorsTotal == high-water mark) */
545 colors = 0;
548 mapping[i] = colors;
549 ++colors;
552 if (colors == 0) {
553 php_gd_error("gd-png error: no colors in palette");
556 if (colors < im->colorsTotal) {
559 if (colors <
[all...]
H A Dgd_webp.c170 int colors = im->colorsTotal; local
H A Dgdxpm.c27 int *colors; local
45 colors = (int *) safe_emalloc(number, sizeof(int), 0);
122 colors[i] = gdImageColorResolve(im, red, green, blue);
129 gdImageSetPixel(im, j, i, colors[k]);
133 gdFree(colors);
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg_set.h31 PHPDBG_SET(colors); variable
H A Dphpdbg_utils.c38 const static phpdbg_color_t colors[] = { variable
224 const phpdbg_color_t *color = colors;
242 PHPDBG_G(colors)[element] = color;
251 } else PHPDBG_G(colors)[element] = colors;
256 return colors;
304 PHPDBG_G(colors)[PHPDBG_COLOR_PROMPT]->code,
H A Dphpdbg.h272 const phpdbg_color_t *colors[PHPDBG_COLORS]; /* colors */ variable

Completed in 38 milliseconds