Home
last modified time | relevance | path

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

12345678910>>...16

/PHP-5.6/ext/gd/libgd/
H A Dgd_crop.c80 y = crop->y; in gdImageCrop()
89 for (y = crop->y; y < (crop->y + crop->height); y++) { in gdImageCrop()
159 for (y = 0; match && y < height; y++) { in gdImageCropAuto()
173 crop.y = y -1; in gdImageCropAuto()
175 for (y = height - 1; match && y >= 0; y--) { in gdImageCropAuto()
189 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropAuto()
197 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropAuto()
255 for (y = 0; match && y < height; y++) { in gdImageCropThreshold()
269 crop.y = y -1; in gdImageCropThreshold()
285 for (y = 0; match && y < crop.y + crop.height - 1; y++) { in gdImageCropThreshold()
[all …]
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_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_arc_f_buggy.c43 int y;
115 pt[1].y = cy + axis_pt[(i + 1) & 3].y;
370 pt[0].y = cy + (flip_y ? (-pt[0].y) : pt[0].y);
374 pt[2].y = cy + (flip_y ? (-pt[2].y) : pt[2].y);
392 pt[0].y = cy + (flip_y ? (-pt[0].y) : pt[0].y);
394 pt[1].y = cy + (flip_y ? (-pt[1].y) : pt[1].y);
396 pt[2].y = cy + (flip_y ? (-pt[2].y) : pt[2].y);
455 lg -= 2 * (pt[0].y - pt[2].y);
515 lg += 2 * (pt[0].y - pt[2].y);
524 for (y = (int) (ly2 / 2); y <= (int) (y2 / 2); y++)
[all …]
H A Dwebpimg.c186 for (y = 0; y < y_height; ++y) { in GetPSNRYuv()
194 for (y = 0; y < uv_height; ++y) { in GetPSNRYuv()
345 for (y = 0; y < height; ++y) { in YUV420toRGBA()
377 for (y = 0; y < height; ++y) { in gd_YUV420toRGBA()
430 for (y = 0; y < y_height; ++y) { in VPXDecode()
435 for (y = 0; y < uv_height; ++y) { in VPXDecode()
562 for (y = 0; y < (y_height >> 1); ++y) { in gd_RGBAToYUV420()
813 for (y = 0; y < y_height; ++y) { in AdjustColorspace()
821 for (y = 0; y < uv_height; ++y) { in AdjustColorspace()
841 for (y = 0; y < y_height; ++y) { in AdjustColorspaceBack()
[all …]
H A Dgd.c631 for (y = 0; y < to->sy; y++) { in gdImagePaletteCopy()
1357 for (y = y1; y <= y2; y++) { in gdImageAALine()
2144 for (y = y1; (y <= y2); y++) { in _gdImageFilledHRectangle()
2187 for (y = y1; (y <= y2); y++) { in _gdImageFilledVRectangle()
2214 for (y = 0; (y < h); y++) { in gdImageCopy()
2224 for (y = 0; (y < h); y++) { in gdImageCopy()
2241 for (y = srcY; y < (srcY + h); y++) { in gdImageCopy()
2288 for (y = srcY; y < (srcY + h); y++) { in gdImageCopyMerge()
2706 for (y = miny; y <= maxy; y++) { in gdImageFilledPolygon()
2861 for (y = 0; y < sy; y++) { in gdImageCompare()
[all …]
H A Dgd_filter.c18 int x, y; in gdImageNegate() local
30 for (y=0; y<src->sy; ++y) { in gdImageNegate()
51 int x, y; in gdImageGrayScale() local
62 for (y=0; y<src->sy; ++y) { in gdImageGrayScale()
84 int x, y; in gdImageBrightness() local
99 for (y=0; y<src->sy; ++y) { in gdImageBrightness()
129 int x, y; in gdImageContrast() local
145 for (y=0; y<src->sy; ++y) { in gdImageContrast()
200 for (y=0; y<src->sy; ++y) { in gdImageColor()
257 for ( y=0; y<src->sy; y++) { in gdImageConvolution()
[all …]
/PHP-5.6/Zend/tests/
H A Dobject_handlers.phpt37 $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 Dbug28444.phpt44 $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 …]
/PHP-5.6/
H A DMakefile.gcov24 ln -f -s $(top_srcdir)/$$y.c lcov_data/$$y.c; \
27 ln -f -s $(top_srcdir)/$$y.h lcov_data/$$y.h; \
30 ln -f -s $(top_srcdir)/$$y.re lcov_data/$$y.re; \
33 ln -f -s $(top_srcdir)/$$y.y lcov_data/$$y.y; \
36 ln -f -s $(top_srcdir)/$$y.l lcov_data/$$y.l; \
39 ln -f -s $(top_srcdir)/$$y lcov_data/$$y; \
42 ln -f -s $(top_builddir)/$$y.c lcov_data/$$y.c; \
45 cp $$x.gcno lcov_data/$$y.gcno ; \
51 cp $$x.da lcov_data/$$y.da ; \
54 cp $$x.bb lcov_data/$$y.bb ; \
[all …]
/PHP-5.6/ext/date/lib/
H A Ddow.c34 tmp = x % y; in positive_mod()
36 tmp += y; in positive_mod()
54 c1 = century_value(y / 100); in timelib_day_of_week_ex()
55 y1 = positive_mod(y, 100); in timelib_day_of_week_ex()
96 y_leap = timelib_is_leap(y); in timelib_isoweek_from_date()
97 prev_y_leap = timelib_is_leap(y-1); in timelib_isoweek_from_date()
108 *iy = y - 1; in timelib_isoweek_from_date()
115 *iy = y; in timelib_isoweek_from_date()
118 if (*iy == y) { in timelib_isoweek_from_date()
123 *iy = y + 1; in timelib_isoweek_from_date()
[all …]
H A Dastro.c34 (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-5.6/win32/
H A Dparam.h15 #define howmany(x,y) (((x)+((y)-1))/(y)) argument
16 #define roundup(x,y) ((((x)+((y)-1))/(y))*(y)) argument
/PHP-5.6/ext/gd/tests/
H A Dlines.phpt36 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 Dbug53504.phpt21 …['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 …]
H A Dlibgd00100.phpt82 $y = 150;
83 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d);
87 $y = 225;
88 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d);
92 $y = 255;
93 $diamond = array($x-$d, $y, $x, $y+$d, $x+$d, $y, $x, $y-$d);
/PHP-5.6/tests/lang/
H A DpassByReference_008.phpt5 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';
34 string(9) "changed.y"
H A Dfunc_num_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';
40 string(9) "changed.y"
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';
47 string(9) "changed.y"
49 string(9) "changed.y"
H A DpassByReference_009.phpt5 function foo(&$x, &$y) { $x = 1; echo $y ; }
11 function foo2($x, &$y, $z)
14 echo $y; // 1
15 $y = 2;
/PHP-5.6/ext/standard/
H A Dexec.c314 y += mb_len; in php_escape_shell_cmd()
373 cmd[y] = '\0'; in php_escape_shell_cmd()
395 int x, y = 0; in php_escape_shell_arg() local
411 cmd[y++] = '"'; in php_escape_shell_arg()
413 cmd[y++] = '\''; in php_escape_shell_arg()
424 y += mb_len; in php_escape_shell_arg()
434 cmd[y++] = ' '; in php_escape_shell_arg()
448 if (y > 0 && '\\' == cmd[y - 1]) { in php_escape_shell_arg()
456 cmd[y++] = '"'; in php_escape_shell_arg()
458 cmd[y++] = '\''; in php_escape_shell_arg()
[all …]
/PHP-5.6/ext/date/tests/
H A Dbug27719.phpt11 echo "$a ".date("m/d/y h:i:s\n",$a);
12 echo "$b ".date("m/d/y h:i:s\n",$b);
13 echo "$c ".date("m/d/y h:i:s\n",$c);
19 echo "$a ".date("m/d/y h:i:s\n",$a);
20 echo "$b ".date("m/d/y h:i:s\n",$b);
21 echo "$c ".date("m/d/y h:i:s\n",$c);
27 echo "$a ".date("m/d/y h:i:s\n",$a);
28 echo "$b ".date("m/d/y h:i:s\n",$b);
29 echo "$c ".date("m/d/y h:i:s\n",$c);
35 echo "$a ".date("m/d/y h:i:s\n",$a);
[all …]
/PHP-5.6/ext/pdo_sqlite/tests/
H A Dbug44327_3.phpt13 $y = $x->fetch(PDO::FETCH_LAZY);
14 var_dump($y, $y->queryString, $y->queryStringzz, $y->queryStringxx);
18 var_dump($y[5], $y->{3});
/PHP-5.6/ext/standard/tests/strings/
H A Dbug73058.phpt13 $salt = '$2y$07$usesomesillystringforsalt$';
16 $salt = '$2y$07$usesomesillystringforsaltzzzzzzzzzzzzz$';
19 $salt = '$2y$07$usesomesillystringforx';
25 string(60) "$2y$07$usesomesillystringforex.u2VJUMLRWaJNuw0Hu2FvCEimdeYVO"
26 string(60) "$2y$07$usesomesillystringforex.u2VJUMLRWaJNuw0Hu2FvCEimdeYVO"
27 string(60) "$2y$07$usesomesillystringforuw2Gm1ef7lMsvtzSK2p/14F0q1e8uOCO"

Completed in 83 milliseconds

12345678910>>...16