/PHP-7.3/Zend/ |
H A D | zend_alloc_sizes.h | 33 _( 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-7.3/ext/gd/libgd/ |
H A D | gd_transform.c | 5 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 D | gd_crop.c | 123 for (y = 0; match && y < height; y++) { in gdImageCropAuto() 135 crop.y = y - 1; in gdImageCropAuto() 138 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto() 143 crop.height = y - crop.y + 2; in gdImageCropAuto() 147 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto() 155 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropAuto() 214 for (y = 0; match && y < height; y++) { in gdImageCropThreshold() 225 crop.y = y - 1; in gdImageCropThreshold() 228 for (y = height - 1; match && y >= 0; y--) { in gdImageCropThreshold() 237 for (y = 0; match && y < crop.y + crop.height; y++) { in gdImageCropThreshold() [all …]
|
H A D | gd_pixelate.c | 5 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 D | gdtestft.c | 8 #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 D | gd.c | 667 for (y = 0; y < to->sy; y++) { in gdImagePaletteCopy() 1301 for (y = y1; y <= y2; y++) { in gdImageAALine() 2199 for (y = y1; (y <= y2); y++) { in _gdImageFilledHRectangle() 2242 for (y = y1; (y <= y2); y++) { in _gdImageFilledVRectangle() 2269 for (y = 0; (y < h); y++) { in gdImageCopy() 2279 for (y = 0; (y < h); y++) { in gdImageCopy() 2296 for (y = srcY; y < (srcY + h); y++) { in gdImageCopy() 2343 for (y = srcY; y < (srcY + h); y++) { in gdImageCopyMerge() 2752 for (y = miny; y <= maxy; y++) { in gdImageFilledPolygon() 2910 for (y = 0; y < sy; y++) { in gdImageCompare() [all …]
|
H A D | gd_filter.c | 18 int x, y; in gdImageNegate() local 30 for (y=0; y<src->sy; ++y) { in gdImageNegate() 51 int x, y; in gdImageGrayScale() local 67 for (y=0; y<src->sy; ++y) { in gdImageGrayScale() 91 int x, y; in gdImageBrightness() local 106 for (y=0; y<src->sy; ++y) { in gdImageBrightness() 136 int x, y; in gdImageContrast() local 152 for (y=0; y<src->sy; ++y) { in gdImageContrast() 207 for (y=0; y<src->sy; ++y) { in gdImageColor() 264 for ( y=0; y<src->sy; y++) { in gdImageConvolution() [all …]
|
/PHP-7.3/Zend/tests/ |
H A D | object_handlers.phpt | 37 $y = null; 41 echo $y,"\n"; 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"; 59 echo $y,"\n"; [all …]
|
H A D | bug28444.phpt | 44 $y = new Overloaded(2); 45 var_dump($y->x); 46 var_dump($y->x->x); 47 var_dump($y->x->x = 3); 48 var_dump($y->y = 3); 49 var_dump($y->y); 51 var_dump($y->z->x); 52 $t = $y->z; 54 var_dump($y->z->x = 6); 65 Overloaded::__set(y,3) [all …]
|
H A D | temporary_cleaning_004.phpt | 17 $y = new stdClass; 19 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 20 $y = (array) $y; 32 $y = new stdClass; 34 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 35 $y = (array) $y;
|
H A D | temporary_cleaning_005.phpt | 18 $y = new stdClass; 20 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 21 $y = (array) $y; 35 $y = new stdClass; 37 $r = [$x] + ($y ? ((array) $x) + [2] : ops()); 38 $y = (array) $y;
|
/PHP-7.3/ext/date/lib/ |
H A D | dow.c | 35 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 …]
|
H A D | astro.c | 34 (367L*(y)-((7*((y)+(((m)+9)/12)))/4)+((275*(m))/9)+(d)-730530L) 52 #define atan2d(y,x) (RADEG*atan2(y,x)) argument 151 y = sqrt(1.0 - e*e) * sind(E); in astro_sunpos() 152 *r = sqrt(x*x + y*y); /* Solar distance */ in astro_sunpos() 162 double lon, obl_ecl, x, y, z; in astro_sun_RA_dec() local 169 y = *r * sind(lon); in astro_sun_RA_dec() 175 z = y * sind(obl_ecl); in astro_sun_RA_dec() 176 y = y * cosd(obl_ecl); in astro_sun_RA_dec() 179 *RA = atan2d(y, x); in astro_sun_RA_dec() 180 *dec = atan2d(z, sqrt(x*x + y*y)); in astro_sun_RA_dec() [all …]
|
/PHP-7.3/ |
H A D | Makefile.gcov | 23 ln -f -s $(top_srcdir)/$$y.c lcov_data/$$y.c; \ 26 ln -f -s $(top_srcdir)/$$y.h lcov_data/$$y.h; \ 29 ln -f -s $(top_srcdir)/$$y.re lcov_data/$$y.re; \ 32 ln -f -s $(top_srcdir)/$$y.y lcov_data/$$y.y; \ 35 ln -f -s $(top_srcdir)/$$y.l lcov_data/$$y.l; \ 38 ln -f -s $(top_srcdir)/$$y lcov_data/$$y; \ 41 ln -f -s $(top_builddir)/$$y.c lcov_data/$$y.c; \ 44 cp $$x.gcno lcov_data/$$y.gcno ; \ 50 cp $$x.da lcov_data/$$y.da ; \ 53 cp $$x.bb lcov_data/$$y.bb ; \ [all …]
|
/PHP-7.3/ext/gd/tests/ |
H A D | bug65148.phpt | 55 [y] => 23 61 [y] => 23 67 [y] => 23 73 [y] => 23 79 [y] => 23 85 [y] => 23 91 [y] => 23 97 [y] => 23 103 [y] => 23 109 [y] => 23 [all …]
|
H A D | bug77198_auto.phpt | 11 function createWhiteImageWithBlackPixelAt($x, $y) 15 imagesetpixel($im, $x, $y, 0x000000); 19 for ($y = 0; $y < 8; $y++) { 21 if (($x == 0 && ($y == 0 || $y == 7)) || ($x == 7 && ($y == 0 || $y == 7))) { 24 $orig = createWhiteImageWithBlackPixelAt($x, $y); 27 printf("Pixel at %d, %d: unexpected NULL crop\n", $x, $y); 31 printf("Pixel at %d, %d: unexpected width (%d)\n", $x, $y, $width); 35 printf("Pixel at %d, %d: unexpected height (%d)\n", $x, $y, $height); 39 printf("Pixel at %d, %d: unexpected color (%d)\n", $x, $y, $color);
|
H A D | lines.phpt | 36 for ($y=1; $y<5; $y++) { 37 $p3 = $p3 && (imagecolorat($im, 0,$y)==0x00ff00); 56 for ($y=1; $y<5; $y++) { 57 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00); 71 for ($y=0; $y<6; $y++) { 72 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00); 84 for ($y=0; $y<6; $y++) { 85 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00); 97 for ($y=0; $y<5; $y++) { 98 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00);
|
H A D | bug53504.phpt | 21 …['fontSize' => 50, 'angle' => 0, 'x' => 20, 'y' => 70, 'text' => 'AV Teg', 'exp' => [2,15, 208,15,… 29 …['fontSize' => 100, 'angle' => 0, 'x' => 350, 'y' => 220, 'text' => '-', 'exp' => [7,-37, 51,-37, … 30 …['fontSize' => 100, 'angle' => 0, 'x' => 430, 'y' => 220, 'text' => ',', 'exp' => [7,15, 21,15, 21… 31 …['fontSize' => 100, 'angle' => 0, 'x' => 510, 'y' => 220, 'text' => '.', 'exp' => [7,1, 21,1, 21,-… 32 …['fontSize' => 100, 'angle' => 0, 'x' => 590, 'y' => 220, 'text' => '|', 'exp' => [8,0, 17,0, 17,-… 33 …['fontSize' => 100, 'angle' => 0, 'x' => 670, 'y' => 220, 'text' => 'g', 'exp' => [5,29, 60,29, 60… 66 $test['x'], $test['y'], $black, $font, $test['text']); 68 // check if both bboxes match when adding x/y offset: 71 …if ($bbox[$i + 1] + $test['y'] !== $bboxDrawn[$i + 1]) echo "imageftbbox and imagefttext differ!\n… 79 imageline($g, $test['x'], $test['y'], [all …]
|
/PHP-7.3/win32/ |
H A D | param.h | 18 #define howmany(x,y) (((x)+((y)-1))/(y)) argument 19 #define roundup(x,y) ((((x)+((y)-1))/(y))*(y)) argument
|
/PHP-7.3/ext/hash/ |
H A D | hash_sha3.c | 40 return x + (5 * y); in idx() 67 # define readLane(x, y) load64(ctx->state+sizeof(uint64_t)*idx(x, y)) argument 69 # define XORLane(x, y, v) xor64(ctx->state+sizeof(uint64_t)*idx(x, y), v) argument 71 # define readLane(x, y) (((uint64_t*)ctx->state)[idx(x,y)]) argument 72 # define writeLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] = v) argument 73 # define XORLane(x, y, v) (((uint64_t*)ctx->state)[idx(x,y)] ^= v) argument 97 unsigned char x, y; in permute() local 104 for (y = 0; y < 5; ++y) { in permute() 117 x = y; in permute() 118 y = Y; in permute() [all …]
|
/PHP-7.3/tests/lang/ |
H A D | func_get_args.004.phpt | 5 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"
|
H A D | passByReference_008.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 8 $y = 'changed.y'; 11 function refVal(&$x, $y) { 12 var_dump($x, $y); 14 $y = 'changed.y'; 32 string(9) "changed.y"
|
H A D | func_num_args.004.phpt | 5 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'; 38 string(9) "changed.y"
|
/PHP-7.3/ext/standard/ |
H A D | exec.c | 294 register size_t x, y; in php_escape_shell_cmd() local 318 y += mb_len; in php_escape_shell_cmd() 377 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_cmd() 391 ZSTR_LEN(cmd) = y; in php_escape_shell_cmd() 401 size_t x, y = 0; in php_escape_shell_arg() local 415 ZSTR_VAL(cmd)[y++] = '"'; in php_escape_shell_arg() 428 y += mb_len; in php_escape_shell_arg() 452 if (y > 0 && '\\' == ZSTR_VAL(cmd)[y - 1]) { in php_escape_shell_arg() 453 int k = 0, n = y - 1; in php_escape_shell_arg() 464 ZSTR_VAL(cmd)[y] = '\0'; in php_escape_shell_arg() [all …]
|
/PHP-7.3/ext/pdo_sqlite/tests/ |
H A D | bug44327_3.phpt | 13 $y = $x->fetch(PDO::FETCH_LAZY); 14 var_dump($y, $y->queryString, $y->queryStringzz, $y->queryStringxx); 18 var_dump($y[5], $y->{3});
|