Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 351) sorted by relevance

12345678910>>...15

/PHP-8.2/ext/pcre/tests/
H A Dbug79257.phpt6 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches);
8 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
11 preg_match('/(?J)(?:(?<g>foo)|(?<g>bar))/', 'foo', $matches,
35 ["g"]=>
43 ["g"]=>
58 ["g"]=>
81 ["g"]=>
106 ["g"]=>
120 ["g"]=>
139 ["g"]=>
[all …]
/PHP-8.2/ext/standard/tests/file/windows_mb_path/
H A Dtest_cp932_1.phpt26 $item = "�e�X�g�}���`�o�C�g�E�p�X"; // cp932 string
49 getting basename of %s\�e�X�g�}���`�o�C�g�E�p�X42\�e�X�g�}���`�o�C�g�E�p�X4
50 string(%d) "�e�X�g�}���`�o�C�g�E�p�X4"
52 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X42\�e�X�g�}���`�o�C�g�E�p�X4"
H A Dtest_cp932_2.phpt26 $item = "�e�X�g�}���`�o�C�g�E�p�X"; // cp932 string
51 getting basename of %s\�e�X�g�}���`�o�C�g�E�p�X33
52 string(%d) "�e�X�g�}���`�o�C�g�E�p�X33"
54 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X33"
H A Dtest_cp932_3.phpt27 $item = "�e�X�g�}���`�o�C�g�E�p�X77"; // cp932 string
40 string(%d) "%s\�e�X�g�}���`�o�C�g�E�p�X77"
43 �e�X�g�}���`�o�C�g�E�p�X77
/PHP-8.2/ext/standard/tests/strings/
H A Dpack_float.phpt40 'pack g',
41 bin2hex(pack("g", "")),
42 bin2hex(pack("g", "a")),
43 bin2hex(pack("g", " ")),
45 bin2hex(pack("g", 0)),
46 bin2hex(pack("g", 1)),
47 bin2hex(pack("g", 1.0)),
51 bin2hex(pack("g", -1)),
94 'unpack g',
149 string(6) "pack g"
[all …]
/PHP-8.2/Zend/tests/
H A Dbug29104.phpt7 function g()
9 echo "function g - begin\n";
16 echo "function g - end\n";
21 $a->g();
25 function g - begin
26 function g - end
H A Dgh15108-007.phpt20 function g() {
29 $g = g();
30 $a = gen($g);
31 $b = gen($g);
32 $c = gen($g);
33 $d = gen($g);
37 $fiber = new Fiber(function () use ($a, $b, $c, $d, $g) {
H A Dgh15108-006.phpt20 function g() {
29 $g = g();
30 $a = gen($g);
31 $b = gen($g);
35 $fiber = new Fiber(function () use ($a, $b, $g) {
H A Dgh8841.phpt6 echo "Before calling g()\n";
7 g(1);
8 echo "After calling g()\n";
17 eval('function g($x): int { return $x; }');
22 Before calling g()
23 After calling g()
/PHP-8.2/ext/dom/tests/
H A DDOM4_DOMNode_after_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
27 <g:item_type>house</g:item_type>
28 <g:item_type>street</g:item_type>
H A DDOM4_DOMNode_before_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
19 $item2 = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'street');
26 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
27 <g:item_type>street</g:item_type>
28 <g:item_type>house</g:item_type>
H A DDOM4_DOMNode_append_ns.phpt14 $root->setAttributeNS('http://www.w3.org/2000/xmlns/' ,'xmlns:g', 'http://base.google.com/ns/1.0');
16 $item = $doc->createElementNS('http://base.google.com/ns/1.0', 'g:item_type', 'house');
23 <element xmlns="http://www.w3.org/2005/Atom" xmlns:g="http://base.google.com/ns/1.0">
24 <g:item_type>house</g:item_type>
/PHP-8.2/tests/lang/
H A Dengine_assignExecutionOrder_001.phpt11 function g() {
12 echo "in g()\n";
18 ${f()} = g();
22 $a[f()] = g();
77 in g()
83 in g()
92 in g()
101 in g()
116 in g()
128 in g()
[all …]
/PHP-8.2/Zend/tests/zend_ini/
H A Dzend_ini_parse_quantity.phpt101 # "1g"
104 # "1g "
173 # "1 g"
176 # "1 g "
245 # "+1g"
248 # "+1g "
317 # "+1 g"
389 # "-1g"
392 # "-1g "
461 # "-1 g"
[all …]
/PHP-8.2/ext/gmp/tests/
H A Dgmp_sub.phpt19 var_dump($g = gmp_sub(10000, 10001));
20 var_dump(gmp_strval($g));
21 var_dump($g = gmp_sub(10000, -1));
22 var_dump(gmp_strval($g));
25 var_dump($g = gmp_sub(10000, new stdclass));
26 var_dump(gmp_strval($g));
31 var_dump($g = gmp_sub(new stdclass, 100));
32 var_dump(gmp_strval($g));
H A Dgmp_strval.phpt26 $g = gmp_init("9765456");
27 var_dump(gmp_strval($g));
29 var_dump(gmp_strval($g, -1));
34 var_dump(gmp_strval($g, 100000));
38 var_dump(gmp_strval($g, 10));
40 $g = gmp_init("-3373333");
41 var_dump(gmp_strval($g));
43 var_dump(gmp_strval($g, -1));
48 var_dump(gmp_strval($g, 100000));
52 var_dump(gmp_strval($g, 10));
/PHP-8.2/ext/gd/libgd/
H A Dgd_rotate.c69 if (g>255) { in gdImageSkewX()
70 g = 255; in gdImageSkewX()
116 int i, iYPos=0, r, g, b, a; in gdImageSkewY() local
160 if (g>255) { in gdImageSkewY()
161 g = 255; in gdImageSkewY()
204 int c,r,g,b,a; in gdImageRotate90() local
229 g = gdImageGreen(src,c); in gdImageRotate90()
251 int c,r,g,b,a; in gdImageRotate180() local
276 g = gdImageGreen(src,c); in gdImageRotate180()
299 int c,r,g,b,a; in gdImageRotate270() local
[all …]
H A Dgd_filter.c117 int r,g,b,a; in gdImageNegate() local
150 int r,g,b,a; in gdImageGrayScale() local
172 r = g = b = (int) (.299 * r + .587 * g + .114 * b); in gdImageGrayScale()
190 int r,g,b,a; in gdImageBrightness() local
214 g = g + brightness; in gdImageBrightness()
218 g = (g > 255)? 255 : ((g < 0)? 0:g); in gdImageBrightness()
235 int r,g,b,a; in gdImageContrast() local
271 gf = (double)g/255.0; in gdImageContrast()
307 int r,g,b,a; in gdImageColor() local
316 g = g + green; in gdImageColor()
[all …]
/PHP-8.2/Zend/tests/generators/
H A Dyield_from_iterator.phpt5 function g() {
11 $g = g();
12 foreach ($g as $yielded) {
H A Dyield_precedence.phpt18 $g = gen();
19 for ($g->rewind(), $i = 1; $g->valid(); $g->send($i), $i++) {
20 echo "{$g->key()} => {$g->current()}\n";
H A Dbug70965.phpt10 function bar($g) {
11 yield from $g;
19 foreach($gens as $g) {
20 var_dump($g->current());
/PHP-8.2/ext/gd/tests/
H A Dbug48732.phpt13 $g = imagecreate(100, 50);
14 $bgnd = imagecolorallocate($g, 255, 255, 255);
15 $black = imagecolorallocate($g, 0, 0, 0);
16 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
17 imagepng($g, "$cwd/bug48732.png");
H A Dbug43073.phpt32 $g = imagecreate(800, 800);
33 $bgnd = imagecolorallocate($g, 255, 255, 255);
34 $black = imagecolorallocate($g, 0, 0, 0);
35 $red = imagecolorallocate($g, 255, 0, 0);
41 $bbox = imagettftext($g, 24, (int)$angle, (int)(400+$x), (int)(400+$y), $black, $font, 'ABCDEF');
42 imagepolygon($g, $bbox, $red);
56 imagepng($g, "$cwd/bug43073.png");
H A Dbug55005.phpt9 $g = imagecreate(300, 300);
10 $bgnd = imagecolorallocate($g, 255, 255, 255);
11 $fgnd = imagecolorallocate($g, 0, 0, 0);
13 fn () => imagefilledpolygon($g, array(100,10, 100,100, 180,100), 2, $fgnd),
14 fn () => imagepolygon($g, array(200,10, 200,100, 280,100), 2, $fgnd)
H A Dbug48732-mb.phpt14 $g = imagecreate(100, 50);
15 $bgnd = imagecolorallocate($g, 255, 255, 255);
16 $black = imagecolorallocate($g, 0, 0, 0);
17 $bbox = imagettftext($g, 12, 0, 0, 20, $black, $font, "ABCEDFGHIJKLMN\nopqrstu\n");
18 imagepng($g, "$cwd/bug48732私はガラスを食べられます.png");

Completed in 23 milliseconds

12345678910>>...15