/PHP-5.4/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 …]
|
/PHP-5.4/ |
H A D | Makefile.gcov | 18 y=`echo $$x | sed -e 's!\.libs/!!'`; \ 21 if test -f "$(top_srcdir)/$$y.c"; then \ 22 ln -f -s $(top_srcdir)/$$y.c lcov_data/$$y.c; \ 24 if test -f "$(top_srcdir)/$$y.h"; then \ 25 ln -f -s $(top_srcdir)/$$y.h lcov_data/$$y.h; \ 28 ln -f -s $(top_srcdir)/$$y.re lcov_data/$$y.re; \ 31 ln -f -s $(top_srcdir)/$$y.y lcov_data/$$y.y; \ 34 ln -f -s $(top_srcdir)/$$y.l lcov_data/$$y.l; \ 36 if test -f "$(top_srcdir)/$$y"; then \ 37 ln -f -s $(top_srcdir)/$$y lcov_data/$$y; \ [all …]
|
/PHP-5.4/ext/date/lib/ |
H A D | dow.c | 38 c1 = century_value(y / 100); in timelib_day_of_week_ex() 39 y1 = (y % 100); in timelib_day_of_week_ex() 80 y_leap = timelib_is_leap(y); in timelib_isoweek_from_date() 81 prev_y_leap = timelib_is_leap(y-1); in timelib_isoweek_from_date() 82 doy = timelib_day_of_year(y, m, d) + 1; in timelib_isoweek_from_date() 92 *iy = y - 1; in timelib_isoweek_from_date() 99 *iy = y; in timelib_isoweek_from_date() 102 if (*iy == y) { in timelib_isoweek_from_date() 107 *iy = y + 1; in timelib_isoweek_from_date() 113 if (*iy == y) { in timelib_isoweek_from_date() [all …]
|
H A D | astro.c | 29 (367L*(y)-((7*((y)+(((m)+9)/12)))/4)+((275*(m))/9)+(d)-730530L) 47 #define atan2d(y,x) (RADEG*atan2(y,x)) argument 146 y = sqrt(1.0 - e*e) * sind(E); in astro_sunpos() 147 *r = sqrt(x*x + y*y); /* Solar distance */ in astro_sunpos() 157 double lon, obl_ecl, x, y, z; in astro_sun_RA_dec() local 164 y = *r * sind(lon); in astro_sun_RA_dec() 170 z = y * sind(obl_ecl); in astro_sun_RA_dec() 171 y = y * cosd(obl_ecl); in astro_sun_RA_dec() 174 *RA = atan2d(y, x); in astro_sun_RA_dec() 175 *dec = atan2d(z, sqrt(x*x + y*y)); in astro_sun_RA_dec() [all …]
|
H A D | tm2unixtime.c | 48 (*y)++; in inc_month() 57 (*y)--; in dec_month() 116 do_range_limit(1, 13, 12, m, y); in do_range_limit_days() 118 leapyear = timelib_is_leap(*y); in do_range_limit_days() 124 last_year = (*y) - 1; in do_range_limit_days() 126 last_year = (*y); in do_range_limit_days() 175 do_range_limit(0, 12, 12, &rt->m, &rt->y); in timelib_do_rel_normalize() 177 do_range_limit_days_relative(&base->y, &base->m, &rt->y, &rt->m, &rt->d, rt->invert); in timelib_do_rel_normalize() 206 time->y += time->relative.y; in do_adjust_relative() 436 res += do_years(time->y); in timelib_update_ts() [all …]
|
/PHP-5.4/ext/gd/libgd/ |
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_arc_f_buggy.c | 43 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 D | webpimg.c | 186 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() 799 for (y = 0; y < y_height; ++y) { in AdjustColorspace() 807 for (y = 0; y < uv_height; ++y) { in AdjustColorspace() 827 for (y = 0; y < y_height; ++y) { in AdjustColorspaceBack() [all …]
|
H A D | gd.c | 620 for (y = 0; y < to->sy; y++) { in gdImagePaletteCopy() 1717 pts[1].y = y; in gdImageFilledArc() 2144 for (y = y1; (y <= y2); y++) { in gdImageFilledRectangle() 2166 for (y = 0; (y < h); y++) { in gdImageCopy() 2174 for (y = 0; (y < h); y++) { in gdImageCopy() 2189 for (y = srcY; (y < (srcY + h)); y++) { in gdImageCopy() 2211 for (y = srcY; y < (srcY + h); y++) { in gdImageCopy() 2258 for (y = srcY; y < (srcY + h); y++) { in gdImageCopyMerge() 2299 for (y = srcY; (y < (srcY + h)); y++) { in gdImageCopyMergeGray() 2666 for (y = miny; y <= maxy; y++) { in gdImageFilledPolygon() [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 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 …]
|
H A D | gd_gd.c | 168 int x, y; in gdImageCreateFromGdCtx() local 181 for (y = 0; y < sy; y++) { in gdImageCreateFromGdCtx() 187 im->tpixels[y][x] = pix; in gdImageCreateFromGdCtx() 191 for (y = 0; y < sy; y++) { in gdImageCreateFromGdCtx() 199 im->pixels[y][x] = ch; in gdImageCreateFromGdCtx() 249 int x, y; in _gdImageGd() local 253 for (y = 0; y < im->sy; y++) { in _gdImageGd() 257 gdPutInt(im->tpixels[y][x], out); in _gdImageGd() 259 gdPutC((unsigned char) im->pixels[y][x], out); in _gdImageGd()
|
/PHP-5.4/win32/ |
H A D | param.h | 15 #define howmany(x,y) (((x)+((y)-1))/(y)) argument 16 #define roundup(x,y) ((((x)+((y)-1))/(y))*(y)) argument
|
/PHP-5.4/ext/gd/tests/ |
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 | libgd00100.phpt | 82 $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);
|
H A D | bug49600.phpt | 18 $y = imagettfbbox(32, 0, "$cwd/Tuffy.ttf", $c); 19 if ( abs($x[0] - $y[0]) > 1 20 || abs($x[2] - $y[2]) > 1 21 || abs($x[4] - $y[4]) > 1 22 || abs($x[6] - $y[6]) > 1 ) { 25 var_dump($y);
|
/PHP-5.4/ext/standard/ |
H A D | exec.c | 264 y += mb_len; in php_escape_shell_cmd() 313 cmd[y++] = '^'; in php_escape_shell_cmd() 323 cmd[y] = '\0'; in php_escape_shell_cmd() 348 cmd[y++] = '"'; in php_escape_shell_arg() 350 cmd[y++] = '\''; in php_escape_shell_arg() 361 y += mb_len; in php_escape_shell_arg() 371 cmd[y++] = ' '; in php_escape_shell_arg() 385 if (y > 0 && '\\' == cmd[y - 1]) { in php_escape_shell_arg() 393 cmd[y++] = '"'; in php_escape_shell_arg() 395 cmd[y++] = '\''; in php_escape_shell_arg() [all …]
|
/PHP-5.4/tests/lang/ |
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'; 34 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'; 40 string(9) "changed.y"
|
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'; 47 string(9) "changed.y" 49 string(9) "changed.y"
|
H A D | passByReference_009.phpt | 5 function foo(&$x, &$y) { $x = 1; echo $y ; } 11 function foo2($x, &$y, $z) 14 echo $y; // 1 15 $y = 2;
|
/PHP-5.4/ext/date/tests/ |
H A D | bug27719.phpt | 11 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.4/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});
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_search_variation2.phpt | 23 "y" =>NULL, 59 string(1) "y" 61 string(1) "y" 87 string(1) "y" 88 string(1) "y" 89 string(1) "y" 91 string(1) "y" 93 string(1) "y" 99 string(1) "y" 101 string(1) "y"
|