Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 634) sorted by relevance

12345678910>>...26

/PHP-8.1/Zend/
H A Dzend_alloc_sizes.h33 _( 0, 8, 512, 1, x, y) \
34 _( 1, 16, 256, 1, x, y) \
35 _( 2, 24, 170, 1, x, y) \
36 _( 3, 32, 128, 1, x, y) \
37 _( 4, 40, 102, 1, x, y) \
38 _( 5, 48, 85, 1, x, y) \
39 _( 6, 56, 73, 1, x, y) \
40 _( 7, 64, 64, 1, x, y) \
41 _( 8, 80, 51, 1, x, y) \
42 _( 9, 96, 42, 1, x, y) \
[all …]
/PHP-8.1/Zend/tests/
H A Dobject_handlers.phpt39 $y = null;
43 echo $y,"\n";
45 echo $y,"\n";
47 echo $y,"\n";
49 echo $y,"\n";
51 echo $y,"\n";
53 echo $y,"\n";
55 echo $y,"\n";
57 echo $y,"\n";
61 echo $y,"\n";
[all …]
H A Dbug28444.phpt42 $y = new Overloaded(2);
43 var_dump($y->x);
44 var_dump($y->x->x);
45 var_dump($y->x->x = 3);
46 var_dump($y->y = 3);
47 var_dump($y->y);
49 var_dump($y->z->x);
50 $t = $y->z;
52 var_dump($y->z->x = 6);
62 Overloaded::__set(y,3)
[all …]
/PHP-8.1/ext/gd/libgd/
H A Dgd_transform.c5 register int x, y; in gdImageFlipVertical() local
8 for (y = 0; y < im->sy / 2; y++) { in gdImageFlipVertical()
9 int *row_dst = im->tpixels[y]; in gdImageFlipVertical()
20 for (y = 0; y < im->sy / 2; y++) { in gdImageFlipVertical()
22 p = im->pixels[y][x]; in gdImageFlipVertical()
23 im->pixels[y][x] = im->pixels[im->sy - 1 - y][x]; in gdImageFlipVertical()
34 int x, y; in gdImageFlipHorizontal() local
39 for (y = 0; y < im->sy; y++) { in gdImageFlipHorizontal()
40 px1 = im->tpixels[y]; in gdImageFlipHorizontal()
53 for (y = 0; y < im->sy; y++) { in gdImageFlipHorizontal()
[all …]
H A Dgd_crop.c121 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
133 crop.y = y - 1; in gdImageCropAuto()
136 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
141 crop.height = y - crop.y + 2; in gdImageCropAuto()
145 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
153 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto()
209 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
220 crop.y = y - 1; in gdImageCropThreshold()
223 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold()
232 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold()
[all …]
H A Dgd_pixelate.c5 int x, y; in gdImagePixelate() local
14 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate()
16 if (gdImageBoundsSafe(im, x, y)) { in gdImagePixelate()
17 int c = gdImageGetPixel(im, x, y); in gdImagePixelate()
18 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate()
24 for (y = 0; y < im->sy; y += block_size) { in gdImagePixelate()
34 if (!gdImageBoundsSafe(im, x + cx, y + cy)) { in gdImagePixelate()
37 c = gdImageGetPixel(im, x + cx, y + cy); in gdImagePixelate()
48 gdImageFilledRectangle(im, x, y, x + block_size - 1, y + block_size - 1, c); in gdImagePixelate()
H A Dgdtestft.c8 #define MAX(x,y) ((x) > (y) ? (x) : (y)) argument
9 #define MIN(x,y) ((x) < (y) ? (x) : (y)) argument
11 #define MAX4(x,y,z,w) \ argument
12 ((MAX((x),(y))) > (MAX((z),(w))) ? (MAX((x),(y))) : (MAX((z),(w))))
13 #define MIN4(x,y,z,w) \ argument
14 ((MIN((x),(y))) < (MIN((z),(w))) ? (MIN((x),(y))) : (MIN((z),(w))))
35 int x, y; in main()
69 y = MAXY (brect) - MINY (brect) + 6; in main()
74 im = gdImageCreateTrueColor (x, y); in main()
80 gdImageFilledRectangle (im, 0, 0, x, y, white); in main()
[all …]
H A Dgd_filter.c70 for (y = 0; y < im->sy; y++) { in gdImageScatterEx()
92 for (y = 0; y < im->sy; y++) { in gdImageScatterEx()
116 int x, y; in gdImageNegate() local
128 for (y=0; y<src->sy; ++y) { in gdImageNegate()
149 int x, y; in gdImageGrayScale() local
165 for (y=0; y<src->sy; ++y) { in gdImageGrayScale()
204 for (y=0; y<src->sy; ++y) { in gdImageBrightness()
250 for (y=0; y<src->sy; ++y) { in gdImageContrast()
305 for (y=0; y<src->sy; ++y) { in gdImageColor()
362 for ( y=0; y<src->sy; y++) { in gdImageConvolution()
[all …]
H A Dgd.c667 for (y = 0; y < to->sy; y++) { in gdImagePaletteCopy()
1301 for (y = y1; y <= y2; y++) { in gdImageAALine()
2201 for (y = y1; (y <= y2); y++) { in _gdImageFilledHRectangle()
2244 for (y = y1; (y <= y2); y++) { in _gdImageFilledVRectangle()
2271 for (y = 0; (y < h); y++) { in gdImageCopy()
2281 for (y = 0; (y < h); y++) { in gdImageCopy()
2298 for (y = srcY; y < (srcY + h); y++) { in gdImageCopy()
2345 for (y = srcY; y < (srcY + h); y++) { in gdImageCopyMerge()
2745 for (y = miny; y <= maxy; y++) { in gdImageFilledPolygon()
2903 for (y = 0; y < sy; y++) { in gdImageCompare()
[all …]
/PHP-8.1/ext/standard/tests/crypt/
H A Dbcrypt_salt_dollar.phpt14 string(8) "$2y$04$$"
17 string(9) "$2y$04$0$"
20 string(10) "$2y$04$00$"
23 string(11) "$2y$04$000$"
26 string(12) "$2y$04$0000$"
29 string(13) "$2y$04$00000$"
32 string(14) "$2y$04$000000$"
35 string(15) "$2y$04$0000000$"
38 string(16) "$2y$04$00000000$"
41 string(17) "$2y$04$000000000$"
[all …]
/PHP-8.1/ext/date/lib/
H A Ddow.c35 tmp = x % y; in positive_mod()
37 tmp += y; in positive_mod()
56 y1 = positive_mod(y, 100); in timelib_day_of_week_ex()
109 *iy = y - 1; in timelib_isoweek_from_date()
116 *iy = y; in timelib_isoweek_from_date()
119 if (*iy == y) { in timelib_isoweek_from_date()
124 *iy = y + 1; in timelib_isoweek_from_date()
130 if (*iy == y) { in timelib_isoweek_from_date()
167 *y = iy; in timelib_date_from_isodate()
172 *y -= 1; in timelib_date_from_isodate()
[all …]
/PHP-8.1/ext/gd/tests/
H A Dbug65148.phpt52 [y] => 23
58 [y] => 23
64 [y] => 23
70 [y] => 23
76 [y] => 23
82 [y] => 23
88 [y] => 23
94 [y] => 23
100 [y] => 23
106 [y] => 23
[all …]
H A Dlines.phpt30 for ($y=1; $y<5; $y++) {
31 $p3 = $p3 && (imagecolorat($im, 0,$y)==0x00ff00);
50 for ($y=1; $y<5; $y++) {
51 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00);
65 for ($y=0; $y<6; $y++) {
66 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00);
78 for ($y=0; $y<6; $y++) {
79 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00);
91 for ($y=0; $y<5; $y++) {
92 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00);
H A Dbug77198_auto.phpt12 function createWhiteImageWithBlackPixelAt($x, $y)
16 imagesetpixel($im, $x, $y, 0x000000);
20 for ($y = 0; $y < 8; $y++) {
22 if (($x == 0 && ($y == 0 || $y == 7)) || ($x == 7 && ($y == 0 || $y == 7))) {
25 $orig = createWhiteImageWithBlackPixelAt($x, $y);
28 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y);
32 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width);
36 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height);
40 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
H A Dbug53504.phpt22 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,…
30 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, …
31 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21…
32 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-…
33 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-…
34 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60…
67 $test['x'], $test['y'], $black, $font, $test['text']);
69 // check if both bboxes match when adding x/y offset:
72 …if ($bbox[$i + 1] + $test['y'] !== $bboxDrawn[$i + 1]) echo "imageftbbox and imagefttext differ!\n…
80 imageline($g, $test['x'], $test['y'],
[all …]
/PHP-8.1/ext/standard/tests/serialize/
H A Dserialization_objects_016.phpt6 $t->y=$t;
7 $y=(array)$t;
9 var_dump($y);
10 $s=serialize($y);
18 ["y"]=>
20 ["y"]=>
24 string(45) "a:1:{s:1:"y";O:8:"stdClass":1:{s:1:"y";r:2;}}"
26 ["y"]=>
28 ["y"]=>
32 string(45) "a:1:{s:1:"y";O:8:"stdClass":1:{s:1:"y";r:2;}}"
/PHP-8.1/win32/
H A Dparam.h18 #define howmany(x,y) (((x)+((y)-1))/(y)) argument
19 #define roundup(x,y) ((((x)+((y)-1))/(y))*(y)) argument
/PHP-8.1/ext/opcache/tests/jit/
H A Dreg_alloc_015.phpt11 for ($i=0, $y = $a + $y = $a = $y %= !$y; $i < 5; $a = $y < $y = $a, $i++) {
12 4 >> -$y;
19 Warning: Undefined variable $y in %sreg_alloc_015.php on line 3
21 Warning: Undefined variable $y in %sreg_alloc_015.php on line 3
/PHP-8.1/ext/json/tests/
H A Djson_encode_pretty_print2.phpt7 public $y;
8 public function __construct($x = 123, $y = []) {
10 $this->y = $y;
26 unset($obj->y);
36 {"x":123,"y":[]}
39 "y": []
41 {"x":123,"y":[],"dynamic":{"x":null,"y":[]}}
44 "y": [],
47 "y": []
/PHP-8.1/Zend/tests/type_declarations/
H A Dtyped_properties_071.phpt12 $y = "y";
13 $test->x = &$y;
14 var_dump($y, $test);
17 $y = $z;
18 var_dump($y, $z, $test);
26 string(1) "y"
29 &string(1) "y"
/PHP-8.1/ext/reflection/tests/
H A DReflectionClass_setStaticPropertyValue_003.phpt8 public static int $y = 2;
14 $rc->setStaticPropertyValue("y", "foo");
16 var_dump(Test::$y);
18 $rc->setStaticPropertyValue("y", "21");
19 var_dump(Test::$y);
22 Test::$x =& Test::$y;
27 var_dump(Test::$y);
30 var_dump(Test::$y);
34 Cannot assign string to property Test::$y of type int
37 Cannot assign string to reference held by property Test::$y of type int
/PHP-8.1/tests/lang/
H A Dfunc_get_args.004.phpt5 function valRef($x, &$y) {
6 var_dump($x, $y);
9 $y = 'changed.y';
13 function refVal(&$x, $y) {
14 var_dump($x, $y);
17 $y = 'changed.y';
46 string(9) "changed.y"
48 string(9) "changed.y"
64 string(9) "changed.y"
/PHP-8.1/ext/hash/
H A Dhash_sha3.c38 return x + (5 * y); in idx()
65 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y)) argument
67 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v) argument
69 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)]) argument
70 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v) argument
71 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v) argument
95 unsigned char x, y; in permute() local
102 for (y = 0; y < 5; ++y) { in permute()
115 x = y; in permute()
116 y = Y; in permute()
[all …]
/PHP-8.1/ext/standard/
H A Dexec.c284 size_t x, y; in php_escape_shell_cmd() local
308 y += mb_len; in php_escape_shell_cmd()
367 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd()
381 ZSTR_LEN(cmd) = y; in php_escape_shell_cmd()
390 size_t x, y = 0; in php_escape_shell_arg() local
404 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg()
417 y += mb_len; in php_escape_shell_arg()
441 if (y > 0 && '\\' == ZSTR_VAL(cmd)[y - 1]) { in php_escape_shell_arg()
442 int k = 0, n = y - 1; in php_escape_shell_arg()
453 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_arg()
[all …]
/PHP-8.1/ext/ffi/tests/
H A D040.phpt31 $y = FFI::new("int[2]");
32 $y[0] = 6;
33 var_dump($y[0]);
34 var_dump(FFI::typeof($y[0]));
36 $p = FFI::addr($y[0]);
39 var_dump($y[0]);
40 var_dump(FFI::sizeof($y[0]));
41 var_dump(FFI::alignof($y[0]));
42 FFI::memset($y[0], ord("b"), 4);
43 var_dump(FFI::string($y[0], 4));
[all …]

Completed in 91 milliseconds

12345678910>>...26