/PHP-5.3/ext/gd/tests/ |
H A D | lines.phpt | 22 for ($x=1; $x<5; $x++) { 23 $p3 = $p3 && (imagecolorat($im, $x,5)==0x00ff00); 53 $x=1; 57 $p3 = $p3 && (imagecolorat($im, $x,$y)==0x00ff00); 58 $x++; 70 for ($x=0; $x<6; $x++) { 72 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00); 83 for ($x=0; $x<6; $x++) { 85 $p3 = $p3 && (imagecolorat($im, $x,$y)!=0x00ff00); 96 for ($x=0; $x<5; $x++) { [all …]
|
/PHP-5.3/Zend/tests/ |
H A D | closure_009.phpt | 6 $x = function ($x) use ($a) { 10 echo $x.':'.$a."\n"; 12 $y = function ($x) use (&$a) { 16 echo $x.':'.$a."\n"; 18 $x(1); 19 $x(2); 20 $x(3);
|
H A D | closure_018.phpt | 7 public function test(&$x) { 9 $lambda = function &() use (&$x) { 10 return $x = $x * $x; 20 var_dump($x = $test->test($y)); 21 var_dump($y, $x);
|
/PHP-5.3/ext/hash/ |
H A D | hash_gost.c | 92 x[0] = x[2]; \ 93 x[1] = x[3]; \ 94 x[2] = x[4]; \ 95 x[3] = x[5]; \ 96 x[4] = x[6]; \ 97 x[5] = x[7]; \ 104 x[0] = x[4]; \ 105 x[2] = x[6]; \ 110 x[1] = x[5]; \ 111 x[3] = x[7]; \ [all …]
|
H A D | hash_sha.c | 176 #define W(i) ( tmp=x[(i-3)&15]^x[(i-8)&15]^x[(i-14)&15]^x[i&15], \ 431 #define ROTR32(b,x) ((x >> b) | (x << (32 - b))) argument 432 #define ROTR64(b,x) ((x >> b) | (x << (64 - b))) argument 440 #define SHA256_F2(x) (ROTR32( 2,(x)) ^ ROTR32(13,(x)) ^ ROTR32(22,(x))) argument 442 #define SHA256_F3(x) (ROTR32( 6,(x)) ^ ROTR32(11,(x)) ^ ROTR32(25,(x))) argument 444 #define SHA256_F4(x) (ROTR32( 7,(x)) ^ ROTR32(18,(x)) ^ SHR( 3,(x))) argument 446 #define SHA256_F5(x) (ROTR32(17,(x)) ^ ROTR32(19,(x)) ^ SHR(10,(x))) argument 698 #define SHA512_F2(x) (ROTR64(28, x) ^ ROTR64(34, x) ^ ROTR64(39, x)) argument 700 #define SHA512_F3(x) (ROTR64(14, x) ^ ROTR64(18, x) ^ ROTR64(41, x)) argument 702 #define SHA512_F4(x) (ROTR64( 1, x) ^ ROTR64( 8, x) ^ SHR(7, x)) argument [all …]
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | vprintf_variation14.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 89 1e240 x fffffb2e 4d2 97 1e240 x ff439a5b bc65a5 105 7b x ffffff85 7b 113 1 x 1 1 121 1 x 0 1
|
H A D | vprintf_variation14_64bit.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 89 1e240 x fffffffffffffb2e 4d2 97 1e240 x ffffffffff439a5b bc65a5 105 7b x ffffffffffffff85 7b 113 1 x 1 1 121 1 x 0 1
|
H A D | vsprintf_variation14.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 87 1e240 x fffffb2e 4d2 94 1e240 x ff439a5b bc65a5 101 7b x ffffff85 7b 108 1 x 1 1 115 1 x 0 1
|
H A D | vsprintf_variation14_64bit.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 87 1e240 x fffffffffffffb2e 4d2 94 1e240 x ffffffffff439a5b bc65a5 101 7b x ffffffffffffff85 7b 108 1 x 1 1 115 1 x 0 1
|
H A D | vfprintf_variation14.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 97 1e240 x fffffb2e 4d2 103 1e240 x ff439a5b bc65a5 109 7b x ffffff85 7b 115 1 x 1 1 121 1 x 0 1
|
H A D | vfprintf_variation14_64bit.phpt | 23 '%x %+x %-x 24 %lx %Lx %4x %-4x 25 %10.4x %-10.4x %.4x 26 %\'#2x %\'2x %\'$2x %\'_2x 27 %3$x %4$x %1$x %2$x'; 97 1e240 x fffffffffffffb2e 4d2 103 1e240 x ffffffffff439a5b bc65a5 109 7b x ffffffffffffff85 7b 115 1 x 1 1 121 1 x 0 1
|
/PHP-5.3/ext/interbase/tests/ |
H A D | ibase_affected_rows_001.phpt | 10 $x = ibase_connect($test_base); 12 ibase_query($x, 'INSERT INTO test1 VALUES (1, 100)'); 13 ibase_query($x, 'INSERT INTO test1 VALUES (10000, 100)'); 15 ibase_query($x, 'UPDATE test1 SET i = 10000'); 16 var_dump(ibase_affected_rows($x)); 19 ibase_query($x, 'UPDATE test1 SET i = 10000 WHERE i = 2.0'); 20 var_dump(ibase_affected_rows($x)); 22 ibase_query($x, 'UPDATE test1 SET i ='); 23 var_dump(ibase_affected_rows($x));
|
/PHP-5.3/tests/classes/ |
H A D | static_properties_003.phpt | 6 public static $x = 'C::$x'; 13 var_dump(isset($c->x)); 14 unset($c->x); 15 echo $c->x; 16 $c->x = 1; 18 $c->x =& $ref; 19 var_dump($c->x, C::$x); 33 Strict Standards: Accessing static property C::$x as non static in %s on line 11 35 Strict Standards: Accessing static property C::$x as non static in %s on line 12 37 Notice: Undefined property: C::$x in %s on line 12 [all …]
|
H A D | factory_and_singleton_001.phpt | 8 protected $x; 24 $this->x = $x; 36 return $this->x; 41 return test::$test->x; 56 echo "Create x and y\n"; 57 $x = test::factory(1); 61 var_dump($x->get()); 64 echo "Destruct x\n"; 65 $x = NULL; 86 Create x and y [all …]
|
H A D | factory_and_singleton_002.phpt | 8 protected $x; 24 $this->x = $x; 36 return $this->x; 41 return test::$test->x; 56 echo "Create x and y\n"; 57 $x = test::factory(1); 61 var_dump($x->get()); 64 echo "Destruct x\n"; 65 $x = NULL; 86 Create x and y [all …]
|
H A D | __set__get_005.phpt | 9 protected $x; 13 if (isset($this->x[$name])) { 14 return $this->x[$name]; 24 $this->x[$name] = $val; 30 protected $x; 34 if (!isset($this->x[$name])) { 35 $this->x[$name] = new Test(); 37 return $this->x[$name]; 42 $this->x[$name] = $val; 59 ["x":protected]=>
|
/PHP-5.3/ext/standard/tests/math/ |
H A D | mt_rand_basic.phpt | 39 for ($x = 0; $x < count($min); $x++) { 41 $res = mt_rand($min[$x], $max[$x]); 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 69 for ($x = 0; $x < count($min); $x++) { 71 $res = mt_rand($min[$x], 100); 73 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 74 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 80 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
H A D | rand_basic.phpt | 39 for ($x = 0; $x < count($min); $x++) { 41 $res = rand($min[$x], $max[$x]); 43 if (!is_int($res) || $res < intval($min[$x]) || $res > intval($max[$x])) { 44 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 50 echo "PASSED: range min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 69 for ($x = 0; $x < count($min); $x++) { 71 $res = rand($min[$x], 100); 73 if (!is_int($res) || $res < intval($minval[$x]) || $res > 100) { 74 echo "FAILED: res = ", $res, " min = ", intval($min[$x]), " max = ", intval($max[$x]), "\n"; 80 echo "PASSED range min = ", intval($min[$x]), " max = 100\n";
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd.c | 621 for (x = 0; x < to->sx; x++) { in gdImagePaletteCopy() 1919 for (x=x1; x>=0 && gdImageGetPixel(im,x, y)==oc; x--) { in gdImageFill() 1989 for (x=x1; x>=0 && (!pts[y][x] && gdImageGetPixel(im,x,y)==oc); x--) { in _gdImageFillTiled() 2015 skip: for(x++; x<=x2 && (pts[y][x] || gdImageGetPixel(im,x, y)!=oc); x++); in _gdImageFillTiled() 2145 for (x = x1; (x <= x2); x++) { in gdImageFilledRectangle() 2167 for (x = 0; (x < w); x++) { in gdImageCopy() 2175 for (x = 0; (x < w); x++) { in gdImageCopy() 2191 for (x = srcX; x < (srcX + w); x++) { in gdImageCopy() 2213 for (x = srcX; x < (srcX + w); x++) { in gdImageCopy() 2260 for (x = srcX; x < (srcX + w); x++) { in gdImageCopyMerge() [all …]
|
H A D | gd_filter.c | 18 int x, y; in gdImageNegate() local 31 for (x=0; x<src->sx; ++x) { in gdImageNegate() 51 int x, y; in gdImageGrayScale() local 63 for (x=0; x<src->sx; ++x) { in gdImageGrayScale() 84 int x, y; in gdImageBrightness() local 100 for (x=0; x<src->sx; ++x) { in gdImageBrightness() 129 int x, y; in gdImageContrast() local 146 for (x=0; x<src->sx; ++x) { in gdImageContrast() 201 for (x=0; x<src->sx; ++x) { in gdImageColor() 258 for(x=0; x<src->sx; x++) { in gdImageConvolution() [all …]
|
/PHP-5.3/ext/reflection/tests/ |
H A D | bug39067.phpt | 7 private $x; 11 private $x; 15 private $x; 19 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 22 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 25 var_dump($rc->getProperty('x')->getDeclaringClass()->getName()); 28 private $x; 32 public $x; 36 var_dump($rc->getProperty('x')->getDeclaringClass()->getName());
|
/PHP-5.3/ext/pcre/tests/ |
H A D | split.phpt | 7 var_dump(preg_split('/*/', 'x')); 9 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz')); 10 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', -1)); 11 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 0)); 12 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 1)); 13 var_dump(preg_split('/[\s, ]+/', 'x yy,zzz', 2)); 27 string(1) "x" 35 string(1) "x" 43 string(1) "x" 51 string(8) "x yy,zzz" [all …]
|
/PHP-5.3/tests/lang/ |
H A D | passByReference_008.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 7 $x = 'changed.x'; 11 function refVal(&$x, $y) { 12 var_dump($x, $y); 13 $x = 'changed.x'; 40 string(9) "changed.x"
|
H A D | execution_order.phpt | 73 $x = 1; 74 $z = $x - ($x++); 79 $x = 1; 80 $z = ($x++) - $x; 85 $x = 1; 86 $z = $x - (++$x); 91 $x = 1; 92 $z = (++$x) - $x; 98 $x = 1; 100 $z = $x - ($x=$y); [all …]
|
H A D | func_num_args.004.phpt | 5 function valRef($x, &$y) { 6 var_dump($x, $y); 8 $x = 'changed.x'; 13 function refVal(&$x, $y) { 14 var_dump($x, $y); 16 $x = 'changed.x'; 48 string(9) "changed.x"
|