Home
last modified time | relevance | path

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

123456

/PHP-8.0/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_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_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_key_basic.phpt8 $array1 = array('blue' => 1, 'red' => 2, 'green' => 3, 'purple' => 4);
14 ["red"]=>
H A Dbug42838.phpt14 $array1 = array("a" => "green", "b" => "Brown", 'c' => 'blue', 0 => 'red');
15 $array2 = array("a" => "green", "b" => "Brown", 'c' => 'blue', 0 => 'red');
/PHP-8.0/ext/gd/tests/
H A Dcopyresized.phpt55 $red = imagecolorallocate($src_tc, 255,0,0);
57 imagefilledrectangle($src_tc, 0,0,4,4, $red);
58 imagefilledrectangle($src_tc, 14,0,18,4, $red);
59 imagefilledrectangle($src_tc, 0,14,4,18, $red);
61 imagefilledrectangle($src_tc, 7,7,11,11, $red);
71 $red = imagecolorallocate($src_tc, 255,0,0);
73 imagefilledrectangle($src_tc, 0,0,4,4, $red);
74 imagefilledrectangle($src_tc, 14,0,18,4, $red);
75 imagefilledrectangle($src_tc, 0,14,4,18, $red);
77 imagefilledrectangle($src_tc, 7,7,11,11, $red);
[all …]
H A Dbug53154.phpt13 $red = imagecolorallocate($im, 255, 0, 0);
14 imagerectangle($im, 5, 5, 95, 5, $red);
15 var_dump(imagecolorat($im, 5, 4) !== $red);
16 var_dump(imagecolorat($im, 5, 6) !== $red);
17 var_dump(imagecolorat($im, 95, 4) !== $red);
18 var_dump(imagecolorat($im, 95, 6) !== $red);
H A Dbug67447.phpt13 $red = imagecolorallocate($image, 255, 0, 0);
14 imagefill($image, 0, 0, $red);
16 var_dump(imagecolorat($cropped, 249, 249) === $red);
23 $red = imagecolorallocate($image, 255, 0, 0);
24 imagefill($image, 0, 0, $red);
33 ["red"]=>
H A Dbug40764.phpt12 $red = imagecolorallocate($image, 255, 0, 0);
23 imageline($image, 200, 0, 200, 400, $red);
24 imageline($image, 0, 200, 400, 200, $red);
25 imageline($image, 0, 0, 392, 392, $red);
H A Dtest_image_equals_file_palette.phpt13 $red = imagecolorallocate($im, 255, 0, 0);
14 imagefilledrectangle($im, 3,3, 7,7, $red);
29 $red = imagecolorallocate($im, 255, 0, 0);
30 imagefilledrectangle($im, 3,3, 7,7, $red);
H A Dcolorresolve.phpt73 [red] => 255
80 [red] => 255
87 [red] => 246
95 [red] => 255
102 [red] => 255
109 [red] => 246
H A Dcolorclosest.phpt90 [red] => 255
97 [red] => 254
104 [red] => 246
113 [red] => 255
120 [red] => 254
127 [red] => 246
H A Dimagecopyresampled_variation1.phpt45 $red = ($color & 0xFF0000) >> 16;
51 if (!($red >= EXP_RED - 1 && $red <= EXP_RED + 1)) {
52 printf("red: expected roughly %d, got %d\n", EXP_RED, $red);
H A Dimagecolorallocate_variation5.phpt19 $red = 10;
43 fn() => imagecolorallocate($im, $red, $value, $blue),
44 fn() => imagecolorallocate($im, $red, $green, $value)
62 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
82 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
H A Dbug77200.phpt12 $red = imagecolorallocate($orig, 255, 0, 0);
17 imagefilledrectangle($orig, 4, 0, 7, 3, $red); // tr
24 imagefilledrectangle($orig, 0, 0, 3, 3, $red); // tl
H A Dimagecolorallocate_variation6.phpt50 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
51 !! [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)
59 !! [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)
67 !! [ValueError] imagecolorallocate(): Argument #2 ($red) must be between 0 and 255 (inclusive)
/PHP-8.0/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 17 milliseconds

123456