/PHP-8.0/ext/gd/tests/ |
H A D | imagecolorset_basic.phpt | 17 // Set the background to be red
|
H A D | libgd00100.phpt | 14 $red = imagecolorallocatealpha($im, 255, 0, 0, 10); 89 imagefilledpolygon($im, $diamond, $red);
|
H A D | bug53504.phpt | 16 $red = imagecolorallocate($g, 255, 0, 0); 75 imagepolygon($g, $bboxDrawn, $red);
|
H A D | createfromstring.phpt | 44 if ($c['red'] != 255 || $c['green'] != 0 || $c['blue'] != 0) {
|
/PHP-8.0/ext/gd/libgd/ |
H A D | gd_color_match.c | 50 im2->red[color] = *(bp++) / count; in gdImageColorMatch()
|
H A D | gd_interpolation.c | 642 register int alpha, red, green, blue; in _color_blend() local 649 red = (gdTrueColorGetRed(src) * src_weight in _color_blend() 656 return ((alpha << 24) + (red << 16) + (green << 8) + blue); in _color_blend() 720 r = (int)(m1*im->red[(c1)] + m2*im->red[(c2)] + m3*im->red[(c3)] + m4*im->red[(c4)]); in getPixelInterpolateWeight() 1384 unsigned char red, green, blue, alpha = 0; in gdImageScaleBicubicFixed() local 1544 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gamma)), 0, 255); in gdImageScaleBicubicFixed() 1549 *(dst_row + dst_offset_x) = gdTrueColorAlpha(red, green, blue, alpha); in gdImageScaleBicubicFixed() 1833 const unsigned char red = (unsigned char) CLAMP(gd_fxtoi(f_red), 0, 255); in gdImageRotateBilinear() local 1899 unsigned char red, green, blue, alpha; in gdImageRotateBicubicFixed() local 2099 red = (unsigned char) CLAMP(gd_fxtoi(gd_mulfx(f_red, f_gama)), 0, 255); in gdImageRotateBicubicFixed() [all …]
|
H A D | gd_bmp.c | 675 int padding = 0, alpha = 0, red = 0, green = 0, blue = 0; in bmp_read_direct() local 739 red = ((data & 0x7C00) >> 10) << 3; in bmp_read_direct() 742 BMP_DEBUG(printf("R: %d, G: %d, B: %d\n", red, green, blue)); in bmp_read_direct() 744 if (!gdGetByte(&blue, infile) || !gdGetByte(&green, infile) || !gdGetByte(&red, infile)) { in bmp_read_direct() 748 …if (!gdGetByte(&blue, infile) || !gdGetByte(&green, infile) || !gdGetByte(&red, infile) || !gdGetB… in bmp_read_direct() 753 gdImageSetPixel(im, xpos, row, gdTrueColor(red, green, blue)); in bmp_read_direct() 756 if (!gdGetByte(&red, infile)) { in bmp_read_direct() 779 im->red[i] = r; in bmp_read_palette()
|
H A D | gd.c | 208 im->red[i] = 0; in gdImageCreate() 322 rd = im->red[i] - r; in gdImageColorClosestAlpha() 544 im->red[ct] = r; in gdImageColorAllocateAlpha() 594 rd = (long) (im->red[c] - r); in gdImageColorResolveAlpha() 619 im->red[op] = r; in gdImageColorResolveAlpha() 679 to->red[i] = from->red[i]; in gdImagePaletteCopy() 2611 red /= spixels; in gdImageCopyResampled() 2620 red /= alpha_sum; in gdImageCopyResampled() 2625 red = red >= 255.5 ? 255 : red+0.5; in gdImageCopyResampled() 2938 int dst_alpha, alpha, red, green, blue; in gdAlphaBlend() local [all …]
|
H A D | gd_gd.c | 69 if (!gdGetByte(&im->red[i], in)) { in _gdGetColors() 223 gdPutC((unsigned char) im->red[i], out); in _gdPutColors()
|
H A D | gd_topal.c | 688 nim->red[icolor] = (int) ((c0total + (total >> 1)) / total); in compute_color() 694 nim->red[icolor] = 255; in compute_color() 736 nim->red[nim->colorsTotal] = gdTrueColorGetRed (oim->transparent); in select_colors() 869 x = nim->red[i]; in find_nearby_colors() 1022 r = nim->red[icolor]; in find_best_colors() 1206 int *colormap0 = nim->red; in pass2_fs_dither()
|
/PHP-8.0/ext/soap/tests/soap12/ |
H A D | T46.phpt | 22 <item xsi:type="xsd:string">red</item> 35 …enc:arraySize="3" xsi:type="ns2:ArrayOfstring"><item xsi:type="xsd:string">red</item><item xsi:typ…
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_intersect_ukey_variation8.phpt | 8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
|
H A D | array_combine_variation5.phpt | 49 /*7*/ array(111 => "\tHello", "red" => "col\tor", 2 => "\v\fworld", 3.3 => "pen\n"), 50 array(111 => '\tHello', "red" => 'col\tor', 2 => '\v\fworld', 3.3 => 'pen\n'),
|
H A D | array_intersect_ukey_variation9.phpt | 8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
|
H A D | array_intersect_assoc_variation7.phpt | 49 /*7*/ array(111 => "\tHello", "red" => "col\tor", 2 => "\v\fworld", 3.3 => "pen\n"), 50 array(111 => '\tHello', "red" => 'col\tor', 2 => '\v\fworld', 3.3 => 'pen\n'),
|
H A D | array_intersect_assoc_variation8.phpt | 49 /*7*/ array(111 => "\tHello", "red" => "col\tor", 2 => "\v\fworld", 3.3 => "pen\n"), 50 array(111 => '\tHello', "red" => 'col\tor', 2 => '\v\fworld', 3.3 => 'pen\n'),
|
H A D | array_intersect_variation8.phpt | 49 /*7*/ array(111 => "\tHello", "red" => "col\tor", 2 => "\v\fworld", 3.3 => "pen\n"), 50 array(111 => '\tHello', "red" => 'col\tor', 2 => '\v\fworld', 3.3 => 'pen\n'),
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strip_tags_array.phpt | 18 var_dump(strip_tags($string, ['color' => 'red', 'item' => 'pen']));
|
H A D | strval_variation1.phpt | 50 array('color' => 'red', 'item' => 'pen'),
|
H A D | vprintf_variation1.phpt | 52 array('color' => 'red', 'item' => 'pen'),
|
H A D | strrchr_variation11.phpt | 44 array('color' => 'red', 'item' => 'pen'),
|
/PHP-8.0/sapi/phpdbg/ |
H A D | .phpdbginit | 12 # set color error red
|
/PHP-8.0/ext/gd/ |
H A D | gd_arginfo.h | 78 ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0) 86 ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0) 269 ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0) 287 ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0) 306 ZEND_ARG_TYPE_INFO(0, red, IS_LONG, 0)
|
/PHP-8.0/ext/standard/tests/class_object/ |
H A D | is_a_variation_001.phpt | 36 array('color' => 'red', 'item' => 'pen'),
|
/PHP-8.0/ext/xml/tests/ |
H A D | xml_parser_set_option_variation3.phpt | 50 array('color' => 'red', 'item' => 'pen'),
|