Home
last modified time | relevance | path

Searched refs:y (Results 26 – 50 of 369) sorted by relevance

12345678910>>...15

/PHP-5.5/ext/gd/libgd/
H A Dgd_gd.c168 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()
H A Dgd_color.c20 int x,y; in gdImageColorMatch() local
40 for( y=0; y<im1->sy; y++ ) { in gdImageColorMatch()
41 color = im2->pixels[y][x]; in gdImageColorMatch()
42 rgb = im1->tpixels[y][x]; in gdImageColorMatch()
H A Dxbm.c45 int bit, x = 0, y = 0; in gdImageCreateFromXbm() local
140 gdImageSetPixel(im, x++, y, (b & bit) ? 1 : 0); in gdImageCreateFromXbm()
143 y++; in gdImageCreateFromXbm()
144 if (y == im->sy) { in gdImageCreateFromXbm()
176 int x, y, c, b, sx, sy, p; in gdImageXbmCtx() local
208 for (y = 0; y < sy; y++) { in gdImageXbmCtx()
210 if (gdImageGetPixel(image, x, y) == fg) { in gdImageXbmCtx()
213 if ((b == 128) || (x == sx && y == sy)) { in gdImageXbmCtx()
/PHP-5.5/ext/fileinfo/tests/
H A Dbug68819_001.phpt9y--a-------a-----a--a--------a----s--------a-------------a-------a--------a----s--------------a---…
/PHP-5.5/ext/pdo_sqlite/tests/
H A Dbug44327_2.phpt15 $y = $x->fetch();
16 var_dump($y, @$y->queryString);
23 $y = $x->fetch(PDO::FETCH_LAZY);
24 var_dump($y, $y->queryString);
/PHP-5.5/ext/pcre/tests/
H A Dpcre_extra.phpt6 var_dump(preg_match('/\y/', '\y'));
7 var_dump(preg_match('/\y/X', '\y'));
/PHP-5.5/ext/date/lib/
H A Dtm2unixtime.c48 (*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()
444 res += do_years(time->y); in timelib_update_ts()
[all …]
/PHP-5.5/ext/fileinfo/libmagic/
H A Dcdf_time.c41 #define isleap(y) ((((y) % 4) == 0) && \ argument
42 ((((y) % 100) != 0) || (((y) % 400) == 0)))
55 int y; in cdf_getdays() local
57 for (y = CDF_BASE_YEAR; y < year; y++) in cdf_getdays()
58 days += isleap(y) + 365; in cdf_getdays()
/PHP-5.5/Zend/
H A Dzend_strtod.c551 ULong *x, y; in multadd() local
619 ULong x = *y; in lo0bits()
656 *y = x; in lo0bits()
758 Long x, y; in s2b() local
761 for(k = 0, y = 1; x > y; y <<= 1, k++) ; in s2b()
1045 y = *--xa;
1139 x[0] = y; in d2b()
2047 ULong y, z; in zend_strtod() local
2079 y = z = 0; in zend_strtod()
2082 y = 10*y + c - '0'; in zend_strtod()
[all …]
/PHP-5.5/Zend/tests/
H A Dindirect_property_access.phpt11 public $y = 'foo';
18 var_dump((new bar)->y); // foo
19 var_dump((new $x)->y); // foo
20 var_dump((new $bar->y)->x); // 1
H A Dclosure_009.phpt12 $y = function ($x) use (&$a) {
21 $y(4);
22 $y(5);
23 $y(6);
H A Dclosure_018.phpt18 $y = 2;
19 var_dump($test->test($y));
20 var_dump($x = $test->test($y));
21 var_dump($y, $x);
/PHP-5.5/ext/reflection/tests/
H A Dbug38465.phpt16 public function y($a = self::Y, $b = Baz::B, $c = 99) {}
51 Bar::y($a = 2)
52 Bar::y($b = 3)
53 Bar::y($c = 99)
59 Bar::y($a = 2)
60 Bar::y($b = 3)
61 Bar::y($c = 99)
/PHP-5.5/ext/gd/tests/
H A Dbug66356.phpt12 var_dump(imagecrop($img, array("x" => "a", "y" => 0, "width" => 10, "height" => 10)));
14 $arr = array("x" => "a", "y" => "12b", "width" => 10, "height" => 10);
19 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => -1, "height" => 10)));
22 var_dump(imagecrop($img, array("x" => -20, "y" => -20, "width" => 10, "height" => 10)));
25 var_dump(imagecrop($img, array("x" => 0x7fffff00, "y" => 0, "width" => 10, "height" => 10)));
28 var_dump(imagecrop($img, array("x" => 0, "y" => 0, "width" => 65535, "height" => 65535)));
36 [y] => 12b
/PHP-5.5/tests/classes/
H A Dfactory_and_singleton_001.phpt56 echo "Create x and y\n";
58 $y = test::factory(2);
62 var_dump($y->get());
68 var_dump($y->get());
70 echo "Destruct y\n";
71 $y = NULL;
86 Create x and y
95 Destruct y
H A Dfactory_and_singleton_002.phpt56 echo "Create x and y\n";
58 $y = test::factory(2);
62 var_dump($y->get());
68 var_dump($y->get());
70 echo "Destruct y\n";
71 $y = NULL;
86 Create x and y
95 Destruct y
H A Dstatic_properties_003_error1.phpt6 protected static $y = 'C::$y';
11 unset($c->y);
18 Fatal error: Cannot access protected property C::$y in %s on line 8
H A Dstatic_properties_003_error2.phpt6 protected static $y = 'C::$y';
11 echo $c->y;
18 Fatal error: Cannot access protected property C::$y in %s on line 8
H A Dstatic_properties_003_error3.phpt6 protected static $y = 'C::$y';
11 $c->y = 1;
18 Fatal error: Cannot access protected property C::$y in %s on line 8
H A Dstatic_properties_003_error4.phpt6 protected static $y = 'C::$y';
11 $c->y =& $ref;
18 Fatal error: Cannot access protected property C::$y in %s on line 8
/PHP-5.5/sapi/embed/
H A Dphp_embed.h36 #define PHP_EMBED_START_BLOCK(x,y) { \ argument
38 php_embed_init(x, y PTSRMLS_CC); \
47 #define PHP_EMBED_START_BLOCK(x,y) { \ argument
48 php_embed_init(x, y); \
/PHP-5.5/ext/date/tests/
H A Dbug48678.phpt7 $y = unserialize(serialize($x));
8 print_r($y);
12 [y] => 3
30 [y] => 3
H A Ddate-lenient.phpt6 print_r( date_parse_from_format( 'm/d/y', $date ) );
7 print_r( date_parse_from_format( 'm/d/y+', $date ) );
8 print_r( date_parse_from_format( '+m/d/y', $date ) );
9 print_r( date_parse_from_format( 'm/d/y++', $date ) );
12 print_r( date_parse_from_format( 'm/d/y+', $date ) );
13 print_r( date_parse_from_format( '+m/d/y', $date ) );
/PHP-5.5/ext/soap/tests/
H A Dserver007.phpt7 function Add($x,$y) {
8 return $x+$y;
10 function Sub($x,$y) {
11 return $x-$y;
/PHP-5.5/ext/standard/tests/password/
H A Dpassword_needs_rehash.phpt14 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
17 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
20 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
23 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…
27 var_dump(password_needs_rehash('$2y$'.$cost.'$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y…
30 var_dump(password_needs_rehash('$2y$10$MTIzNDU2Nzg5MDEyMzQ1Nej0NmcAWSLR.oP7XOR9HD/vjUuOj100y', PASS…

Completed in 68 milliseconds

12345678910>>...15