Home
last modified time | relevance | path

Searched refs:red (Results 1 – 25 of 126) sorted by relevance

123456

/PHP-8.1/ext/standard/tests/array/
H A Darray_splice_basic.phpt14 // $input is now array("red", "green")
20 // $input is now array("red", "green")
26 // $input is now array("red", "yellow")
37 // $input is now array("red", "green",
44 // $input is now array("red", "green",
60 string(3) "red"
73 string(3) "red"
86 string(3) "red"
101 string(3) "red"
111 string(3) "red"
[all …]
H A Darray_fill_variation5.phpt130 string(3) "red"
137 string(3) "red"
147 string(3) "red"
154 string(3) "red"
164 string(3) "red"
171 string(3) "red"
181 string(3) "red"
188 string(3) "red"
198 string(3) "red"
205 string(3) "red"
[all …]
H A Darray_combine.phpt5 $array1 = array('green', 'red', 'yellow');
34 [red] => red
40 [red] => 2
46 [red] => 1
52 [red] =>
58 [2] => red
82 [1] => red
H A Darray_diff_assoc.phpt5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", "");
6 $array2 = array("a" => "green", "yellow", "red", TRUE);
7 $array3 = array("red", "a"=>"brown", "");
21 [0] => red
36 [1] => red
H A Darray_reverse_variation6.phpt15 array('color' => 'red', 'item' => 'pen', 'place' => 'LA'),
21 array('a' => 'green', 'red', 'brown', 33, 88, 'orange', 'item' => 'ball')
50 string(3) "red"
78 string(3) "red"
104 string(3) "red"
132 string(3) "red"
145 string(3) "red"
173 string(3) "red"
H A Darray_intersect_key_variation8.phpt10 'first' => array('blue' => 1, 'red' => 2),
19 'first' => array('blue' => 1, 'red' => 2,),
35 ["red"]=>
49 ["red"]=>
H A Darray_reverse_basic1.phpt12 $array = array("a", "green", "red", 'blue', 10, 13.33);
33 string(3) "red"
47 string(3) "red"
61 string(3) "red"
H A Darray_diff_uassoc_basic.phpt15 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red");
16 $array2 = array("a" => "green", "yellow", "red");
27 string(3) "red"
H A Darray_unshift_variation6.phpt20 array('color' => 'red', 'item' => 'pen', 'place' => 'LA'),
26 array('a' => 'green', 'red', 'brown', 33, 88, 'orange', 'item' => 'ball')
80 string(3) "red"
104 string(3) "red"
128 string(3) "red"
152 string(3) "red"
170 string(3) "red"
185 string(3) "red"
H A Darray_diff_key2.phpt5 $array1 = array("a" => "green", "b" => "brown", "c" => "blue", "red", "");
6 $array2 = array("a" => "green", "yellow", "red", TRUE);
7 $array3 = array("red", "a"=>"brown", "");
H A Darray_diff_key_basic.phpt8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
14 ["red"]=>
/PHP-8.1/ext/gd/tests/
H A Dcopyresized.phpt53 $red = imagecolorallocate($src_tc, 255,0,0);
55 imagefilledrectangle($src_tc, 0,0,4,4, $red);
56 imagefilledrectangle($src_tc, 14,0,18,4, $red);
57 imagefilledrectangle($src_tc, 0,14,4,18, $red);
59 imagefilledrectangle($src_tc, 7,7,11,11, $red);
69 $red = imagecolorallocate($src_tc, 255,0,0);
71 imagefilledrectangle($src_tc, 0,0,4,4, $red);
72 imagefilledrectangle($src_tc, 14,0,18,4, $red);
73 imagefilledrectangle($src_tc, 0,14,4,18, $red);
75 imagefilledrectangle($src_tc, 7,7,11,11, $red);
[all …]
H A Dbug53154.phpt14 $red = imagecolorallocate($im, 255, 0, 0);
15 imagerectangle($im, 5, 5, 95, 5, $red);
16 var_dump(imagecolorat($im, 5, 4) !== $red);
17 var_dump(imagecolorat($im, 5, 6) !== $red);
18 var_dump(imagecolorat($im, 95, 4) !== $red);
19 var_dump(imagecolorat($im, 95, 6) !== $red);
H A Dbug67447.phpt9 $red = imagecolorallocate($image, 255, 0, 0);
10 imagefill($image, 0, 0, $red);
12 var_dump(imagecolorat($cropped, 249, 249) === $red);
19 $red = imagecolorallocate($image, 255, 0, 0);
20 imagefill($image, 0, 0, $red);
29 ["red"]=>
H A Dbug40764.phpt10 $red = imagecolorallocate($image, 255, 0, 0);
21 imageline($image, 200, 0, 200, 400, $red);
22 imageline($image, 0, 200, 400, 200, $red);
23 imageline($image, 0, 0, 392, 392, $red);
H A Dcolorresolve.phpt71 [red] => 255
78 [red] => 255
85 [red] => 246
93 [red] => 255
100 [red] => 255
107 [red] => 246
H A Dtest_image_equals_file_palette.phpt11 $red = imagecolorallocate($im, 255, 0, 0);
12 imagefilledrectangle($im, 3,3, 7,7, $red);
27 $red = imagecolorallocate($im, 255, 0, 0);
28 imagefilledrectangle($im, 3,3, 7,7, $red);
H A Dcolorclosest.phpt88 [red] => 255
95 [red] => 254
102 [red] => 246
111 [red] => 255
118 [red] => 254
125 [red] => 246
H A Dimagecopyresampled_variation1.phpt43 $red = ($color & 0xFF0000) >> 16;
49 if (!($red >= EXP_RED - 1 && $red <= EXP_RED + 1)) {
50 printf("red: expected roughly %d, got %d\n", EXP_RED, $red);
H A Dimagecolorallocate_variation5.phpt18 $red = 10;
42 fn() => imagecolorallocate($im, $red, $value, $blue),
43 fn() => imagecolorallocate($im, $red, $green, $value)
61 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
81 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
H A Dbug77200.phpt13 $red = imagecolorallocate($orig, 255, 0, 0);
18 imagefilledrectangle($orig, 4, 0, 7, 3, $red); // tr
25 imagefilledrectangle($orig, 0, 0, 3, 3, $red); // tl
H A Dcopy.phpt42 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
43 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
44 $p3 = $c3['red'] == 0x00 && $c3['blue']==0x00 && $c3['green']==0xff;
71 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
72 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
73 $p3 = $c3['red'] == 0x00 && $c3['blue']==0x00 && $c3['green']==0xff;
H A Dimagecolorallocate_variation6.phpt49 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
50 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
57 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
58 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
65 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
66 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
/PHP-8.1/ext/gd/libgd/
H A Dgdxpm.c26 int red = 0, green = 0, blue = 0; in gdImageCreateFromXpm() local
51 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
64 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
80 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
81 red /= 64; in gdImageCreateFromXpm()
102 red = strtol(buf, NULL, 16); in gdImageCreateFromXpm()
103 red /= 256; in gdImageCreateFromXpm()
122 colors[i] = gdImageColorResolve(im, red, green, blue); in gdImageCreateFromXpm()
H A Dgddemo.c22 int red; in main() local
54 red = gdImageColorAllocate (im_out, 255, 0, 0); in main()
103 (unsigned char *) "hi", red); in main()
105 (unsigned char *) "hi", red); in main()

Completed in 35 milliseconds

123456