Home
last modified time | relevance | path

Searched refs:bit (Results 1 – 25 of 443) sorted by relevance

12345678910>>...18

/PHP-8.0/ext/ffi/tests/
H A D032.phpt38 -5 => 3-bit int 3, 3-bit uint 3
39 -4 => 3-bit int -4, 3-bit uint 4
40 -3 => 3-bit int -3, 3-bit uint 5
41 -2 => 3-bit int -2, 3-bit uint 6
43 0 => 3-bit int 0, 3-bit uint 0
44 1 => 3-bit int 1, 3-bit uint 1
45 2 => 3-bit int 2, 3-bit uint 2
46 3 => 3-bit int 3, 3-bit uint 3
47 4 => 3-bit int -4, 3-bit uint 4
48 5 => 3-bit int -3, 3-bit uint 5
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dbug47842.phpt2 Bug #47842 sscanf() does not support 64-bit values
12 echo "sscanf 32-bit signed int '2147483647' (2^31)-1 = ",$int,"\n";
14 echo "sscanf 32-bit unsign int '4294967295' (2^32)-1 = ",$int,"\n";
17 echo "sscanf 64-bit signed int '9223372036854775807' (2^63)-1 = ",$int,"\n";
19 echo "sscanf 64-bit unsign int '18446744073709551615' (2^64)-1 = ",$int,"\n";
28 sscanf 32-bit signed int '2147483647' (2^31)-1 = 2147483647
29 sscanf 32-bit unsign int '4294967295' (2^32)-1 = 4294967295
30 sscanf 64-bit signed int '9223372036854775807' (2^63)-1 = 9223372036854775807
31 sscanf 64-bit unsign int '18446744073709551615' (2^64)-1 = 18446744073709551615
32 printf 64-bit signed int '9223372036854775807' (2^63)-1 = 9223372036854775807
[all …]
H A Dpack64_32.phpt2 64bit pack()/unpack() tests
6 die("skip 32bit test only");
55 64-bit format codes are not available for 32-bit versions of PHP
56 64-bit format codes are not available for 32-bit versions of PHP
57 64-bit format codes are not available for 32-bit versions of PHP
58 64-bit format codes are not available for 32-bit versions of PHP
59 64-bit format codes are not available for 32-bit versions of PHP
60 64-bit format codes are not available for 32-bit versions of PHP
61 64-bit format codes are not available for 32-bit versions of PHP
62 64-bit format codes are not available for 32-bit versions of PHP
H A Dbug38770.phpt2 Bug #38770 (unpack() broken with longs on 64 bit machines)
5 if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only");
/PHP-8.0/ext/pdo_mysql/tests/
H A Dbug75177.phpt2 PDO MySQL Bug #75177 Type 'bit' is fetched as unexpected string
16 $pdo->query("CREATE TABLE $tbl (`bit` bit(8)) ENGINE=InnoDB");
17 $pdo->query("INSERT INTO $tbl (`bit`) VALUES (1)");
18 $pdo->query("INSERT INTO $tbl (`bit`) VALUES (0b011)");
19 $pdo->query("INSERT INTO $tbl (`bit`) VALUES (0b01100)");
24 var_dump($i["bit"]);
/PHP-8.0/ext/standard/tests/math/
H A Dbug30695.phpt2 Bug #30695 (32 bit issues)
11 case !($char_code & 0xffffff80): // 7 bit
14 case !($char_code & 0xfffff800): // 11 bit
18 case !($char_code & 0xffff0000): // 16 bit
23 case !($char_code & 0xffe00000): // 21 bit
29 case !($char_code & 0xfc000000): // 26 bit
35 default: // 31 bit
/PHP-8.0/ext/hash/tests/
H A Dhash_serialize_003.phpt205 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */
206 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */
211 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */
212 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */
217 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */
218 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */
223 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDA7aTo0O2E6MDp7fX0=", /* 64-bit fast LE */
224 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAiO2k6MTtpOjI1O31pOjM7aToxMDE7aTo0O2E6MDp7fX0=", /* 32-bit fast LE */
/PHP-8.0/ext/gd/tests/
H A Dimageinterlace_variation2.phpt2 Testing setting the interlace bit off with imageinterlace() of GD library
15 //setting the interlace bit to on
18 //setting de interlace bit to off
H A Dbug66005.phpt2 Bug #66005 (imagecopy does not support 1bit transparency on truecolor images)
18 // 24 bit with transparent color
21 // 32 bit with full alpha channel
/PHP-8.0/Zend/tests/
H A Dbug70173.phpt2 Bug #70173 (ZVAL_COPY_VALUE_EX broken for 32bit Solaris Sparc)
5 if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platforms only");
H A Dzend_signed_multiply-32bit.phpt2 Zend signed multiply 32-bit
4 <?php if ((1 << 31) > 0) print "skip Running on 64-bit target"; ?>
H A Dzend_signed_multiply-64bit.phpt2 Zend signed multiply 64-bit, variation 1
4 <?php if ((1 << 31) < 0) print "skip Running on 32-bit target"; ?>
H A Dbug62097.phpt2 Bug #62097: fix for bug #54547 is wrong for 32-bit machines
6 die('skip for system with 32-bit wide longs only');
H A Ddval_to_lval_64.phpt2 zend_dval_to_lval preserves low bits (64 bit long)
6 die("skip for machines with 64-bit longs");
H A Dint_overflow_32bit.phpt2 testing integer overflow (32bit)
4 <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
H A Dint_underflow_32bit.phpt2 testing integer underflow (32bit)
4 <?php if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); ?>
H A Dint_underflow_64bit.phpt2 testing integer underflow (64bit)
4 <?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
/PHP-8.0/tests/lang/constants/
H A DPHP_INT_32bit.phpt2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (32-bit)
5 die("skip this test is for 32-bit platforms only"); ?>
H A DPHP_INT_64bit.phpt2 Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit)
5 die("skip this test is for 64-bit platforms only"); ?>
/PHP-8.0/ext/mbstring/tests/
H A Dbug77025.phpt8 var_dump(mb_strpos('Hello', 'e', 0, '8bit'));
9 var_dump(mb_stripos('Hello', 'e', 0, '8bit'));
H A Dmb_list_encodings.phpt7 var_dump(in_array("7bit", mb_list_encodings()));
8 var_dump(in_array("8bit", mb_list_encodings()));
/PHP-8.0/ext/pdo_sqlite/tests/
H A Dbug_63916-2.phpt2 Bug #63916 PDO::PARAM_INT casts to 32bit int internally even on 64bit builds in pdo_sqlite
6 if (PHP_INT_SIZE > 4) die('skip 32-bit only');
/PHP-8.0/ext/opcache/tests/jit/
H A Dadd_012.phpt2 JIT ADD: 012 register allocation for 64-bit constant
9 <?php if (PHP_INT_SIZE != 8) die("skip: 64-bit only"); ?>
/PHP-8.0/ext/gd/libgd/
H A Dgd_xbm.c44 int bit, x = 0, y = 0; in gdImageCreateFromXbm() local
142 for (bit = 1; bit <= max_bit; bit = bit << 1) { in gdImageCreateFromXbm()
143 gdImageSetPixel(im, x++, y, (b & bit) ? 1 : 0); in gdImageCreateFromXbm()
/PHP-8.0/ext/ftp/tests/
H A Dfilesize_large.phpt2 Verify php can handle filesizes >32bit
7 die('skip 64-bit only');

Completed in 25 milliseconds

12345678910>>...18