/PHP-8.3/ext/random/ |
H A D | gammasection.c | 60 double s = b / g - a / g; in ceilint() 64 e = -a / g - (s - b / g); in ceilint() 66 e = b / g - (s + a / g); in ceilint() 92 return 0x1p+2 * (max * 0x1p-2 - k_hi * g) - k_lo * g; in php_random_gammasection_closed_open() 98 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_closed_open() 120 return 0x1p+2 * (max * 0x1p-2 - k_hi * g) - k_lo * g; in php_random_gammasection_closed_closed() 129 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_closed_closed() 149 return 0x1p+2 * (max * 0x1p-2 - k_hi * g) - k_lo * g; in php_random_gammasection_open_closed() 157 return 0x1p+2 * (min * 0x1p-2 + k_hi * g) + k_lo * g; in php_random_gammasection_open_closed() 177 return 0x1p+2 * (max * 0x1p-2 - k_hi * g) - k_lo * g; in php_random_gammasection_open_open() [all …]
|
/PHP-8.3/ext/pcre/tests/ |
H A D | bug79257.phpt | 6 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.3/ext/standard/tests/file/windows_mb_path/ |
H A D | test_cp932_1.phpt | 26 $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 D | test_cp932_2.phpt | 26 $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 D | test_cp932_3.phpt | 27 $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.3/ext/standard/tests/strings/ |
H A D | pack_float.phpt | 40 '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.3/Zend/tests/ |
H A D | bug29104.phpt | 7 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 D | gh15108-007.phpt | 20 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 D | gh15108-006.phpt | 20 function g() { 29 $g = g(); 30 $a = gen($g); 31 $b = gen($g); 35 $fiber = new Fiber(function () use ($a, $b, $g) {
|
H A D | gh8841.phpt | 6 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.3/ext/dom/tests/ |
H A D | DOM4_DOMNode_after_ns.phpt | 14 $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 D | DOM4_DOMNode_before_ns.phpt | 14 $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>
|
/PHP-8.3/tests/lang/ |
H A D | engine_assignExecutionOrder_001.phpt | 11 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.3/Zend/tests/zend_ini/ |
H A D | zend_ini_parse_quantity.phpt | 101 # "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.3/ext/gmp/tests/ |
H A D | gmp_sub.phpt | 19 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 D | gmp_strval.phpt | 26 $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.3/ext/gd/libgd/ |
H A D | gd_rotate.c | 69 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 D | gd_filter.c | 117 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.3/Zend/tests/generators/ |
H A D | yield_from_iterator.phpt | 5 function g() { 11 $g = g(); 12 foreach ($g as $yielded) {
|
H A D | yield_precedence.phpt | 18 $g = gen(); 19 for ($g->rewind(), $i = 1; $g->valid(); $g->send($i), $i++) { 20 echo "{$g->key()} => {$g->current()}\n";
|
/PHP-8.3/ext/gd/tests/ |
H A D | bug48732.phpt | 13 $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 D | bug43073.phpt | 32 $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 D | bug55005.phpt | 9 $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 D | bug48732-mb.phpt | 14 $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");
|
/PHP-8.3/ext/fileinfo/libmagic/ |
H A D | funcs.c | 764 &g->data1, &g->data2, &g->data3, &g->data4[0], &g->data4[1], in file_parse_guid() 765 &g->data4[2], &g->data4[3], &g->data4[4], &g->data4[5], in file_parse_guid() 766 &g->data4[6], &g->data4[7]) == 11 ? 0 : -1; in file_parse_guid() 772 &g->data1, &g->data2, &g->data3, &data16[0], &data16[1], in file_parse_guid() 777 g->data4[i] = data16[i]; in file_parse_guid() 791 g->data1, g->data2, g->data3, g->data4[0], g->data4[1], in file_print_guid() 792 g->data4[2], g->data4[3], g->data4[4], g->data4[5], in file_print_guid() 793 g->data4[6], g->data4[7]); in file_print_guid() 797 g->data1, g->data2, g->data3, g->data4[0], g->data4[1], in file_print_guid() 798 g->data4[2], g->data4[3], g->data4[4], g->data4[5], in file_print_guid() [all …]
|