Home
last modified time | relevance | path

Searched refs:green (Results 1 – 25 of 104) sorted by path

12345

/PHP-5.5/
H A DREADME.RELEASE_PROCESS14 3. Ensure that the tests on Travis CI are green.
19 The RM for the branch is also responsible for keeping the CI green on
/PHP-5.5/ext/exif/
H A Dtest.txt50 $ret = '<b style="color:green">O.K.</b>';
286 $error = "<b style='color: green'>filetype not supported: $types[$type]</b>";
296 $error = "<b style='color:green'>$t_width x $t_height</b><br>$error";
308 $res_exif_read_data = "<b style='color: green'>filetype not supported: $types[$type]</b>";
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic1405 #8144 string \x2A\x55\x2A\x55\x2A\x55\x2A\x55 Apple II image with green background
/PHP-5.5/ext/gd/
H A Dgd.c218 ZEND_ARG_INFO(0, green)
226 ZEND_ARG_INFO(0, green)
234 ZEND_ARG_INFO(0, green)
242 ZEND_ARG_INFO(0, green)
409 ZEND_ARG_INFO(0, green)
427 ZEND_ARG_INFO(0, green)
434 ZEND_ARG_INFO(0, green)
446 ZEND_ARG_INFO(0, green)
453 ZEND_ARG_INFO(0, green)
461 ZEND_ARG_INFO(0, green)
[all …]
/PHP-5.5/ext/gd/libgd/
H A Dgd.c166 im->green[i] = 0; in gdImageCreate()
287 gd = im->green[i] - g; in gdImageColorClosestAlpha()
509 im->green[ct] = g; in gdImageColorAllocateAlpha()
559 gd = (long) (im->green[c] - g); in gdImageColorResolveAlpha()
584 im->green[op] = g; in gdImageColorResolveAlpha()
645 to->green[i] = from->green[i]; in gdImagePaletteCopy()
2537 green /= spixels; in gdImageCopyResampled()
2547 green /= alpha_sum; in gdImageCopyResampled()
2554 if (green > 255.0f) { in gdImageCopyResampled()
2555 green = 255.0f; in gdImageCopyResampled()
[all …]
H A Dgd.h179 int green[gdMaxColors]; member
733 (im)->green[(c)])
785 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha);
H A Dgd_color.c56 im2->green[color] = *(bp++) / count; in gdImageColorMatch()
H A Dgd_filter.c187 int gdImageColor(gdImagePtr src, const int red, const int green, const int blue, const int alpha) in gdImageColor() argument
211 g = g + green; in gdImageColor()
H A Dgd_gd.c72 if (!gdGetByte(&im->green[i], in)) { in _gdGetColors()
224 gdPutC((unsigned char) im->green[i], out); in _gdPutColors()
H A Dgd_gif_in.c576 im->green[i] = cmap[CM_GREEN][i]; in ReadImage()
H A Dgd_gif_out.c136 tim->red, tim->green, tim->blue, tim); in gdImageGifCtx()
H A Dgd_interpolation.c617 register int alpha, red, green, blue; in _color_blend() local
626 green = (gdTrueColorGetGreen(src) * src_weight in _color_blend()
631 return ((alpha << 24) + (red << 16) + (green << 8) + blue); in _color_blend()
775 g = (int)(m1*im->green[(c1)] + m2*im->green[(c2)] + m3*im->green[(c3)] + m4*im->green[(c4)]); in getPixelInterpolateWeight()
1473 unsigned char red, green, blue, alpha = 0; in gdImageScaleBicubicFixed() local
1649 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gamma)), 0, 255); in gdImageScaleBicubicFixed()
1653 *(dst_row + dst_offset_x) = gdTrueColorAlpha(red, green, blue, alpha); in gdImageScaleBicubicFixed()
1902 const unsigned char green = (unsigned char) CLAMP(gd_fxtoi(f_green), 0, 255); in gdImageRotateBilinear() local
1964 unsigned char red, green, blue, alpha; in gdImageRotateBicubicFixed() local
2170 green = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_green, f_gama)), 0, 255); in gdImageRotateBicubicFixed()
[all …]
H A Dgd_jpeg.c253 row[jidx++] = im->green[idx]; in gdImageJpegCtx()
257 row[jidx++] = im->green[idx] << 4; in gdImageJpegCtx()
H A Dgd_png.c266 palette[i].red = palette[i].green = palette[i].blue = j; in gdImageCreateFromPngCtx()
271 palette[i].red = palette[i].green = palette[i].blue = i; in gdImageCreateFromPngCtx()
308 trans_color_rgb->green >> 8, in gdImageCreateFromPngCtx()
312 trans_color_rgb->green, in gdImageCreateFromPngCtx()
341 im->green[i] = palette[i].green; in gdImageCreateFromPngCtx()
588 trans_rgb_value.green = gdTrueColorGetGreen (im->transparent); in gdImagePngCtxEx()
650 palette[mapping[i]].green = im->green[i]; in gdImagePngCtxEx()
656 palette[i].green = im->green[i]; in gdImagePngCtxEx()
H A Dgd_topal.c766 nim->green[icolor] = (int) ((c1total + (total >> 1)) / total);
772 nim->green[icolor] = 255;
835 nim->green[nim->colorsTotal] = gdTrueColorGetGreen (oim->transparent);
1014 x = nim->green[i];
1153 g = nim->green[icolor];
1398 int *colormap1 = nim->green;
H A Dgddemo.c23 int green; in main() local
55 green = gdImageColorAllocate (im_out, 0, 255, 0); in main()
58 gdImageLine (im_out, 16, 16, 240, 16, green); in main()
59 gdImageLine (im_out, 240, 16, 240, 240, green); in main()
60 gdImageLine (im_out, 240, 240, 16, 240, green); in main()
61 gdImageLine (im_out, 16, 240, 16, 16, green); in main()
76 gdImageFilledPolygon (im_out, points, 3, green); in main()
H A Dgdft.c579 (pixel * im->green[fg] + npixel * im->green[bg]) / NUMCOLORS,
H A Dgdxpm.c26 int red = 0, green = 0, blue = 0; in gdImageCreateFromXpm() local
54 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
68 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
86 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
87 green /= 64; in gdImageCreateFromXpm()
109 green = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
110 green /= 256; in gdImageCreateFromXpm()
122 colors[i] = gdImageColorResolve(im, red, green, blue); in gdImageCreateFromXpm()
/PHP-5.5/ext/gd/tests/
H A Dbug36697.phpt24 echo $colors['red'] . ' ' . $colors['green'] . ' ' . $colors['blue'];
H A Dcolorclosest.phpt86 [green] => 0
93 [green] => 0
100 [green] => 10
110 [green] => 0
117 [green] => 0
124 [green] => 10
H A Dcolorresolve.phpt74 [green] => 0
81 [green] => 0
88 [green] => 10
96 [green] => 0
103 [green] => 0
110 [green] => 10
H A Dcopy.phpt44 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
45 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
46 $p3 = $c3['red'] == 0x00 && $c3['blue']==0x00 && $c3['green']==0xff;
73 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
74 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
75 $p3 = $c3['red'] == 0x00 && $c3['blue']==0x00 && $c3['green']==0xff;
H A Dcopypalette.phpt20 if ($c['red']!=$i || $c['green']!=$i || $c['blue']!=$i) {
35 if ($c['red']!=0 || $c['green']!=0 || $c['blue']!=0 || $c['alpha']!=100) {
H A Dcopyresized.phpt15 return ($colors['red'] << 16) + ($colors['green'] << 8) + ($colors['blue']);
H A Dcreatefromstring.phpt44 if ($c['red'] != 255 || $c['green'] != 0 || $c['blue'] != 0) {

Completed in 176 milliseconds

12345