/php-src/ext/zlib/tests/ |
H A D | 001.phpt | 8 $packed=gzdeflate($original); 9 echo strlen($packed)." ".strlen($original)."\n"; 10 $unpacked=gzinflate($packed); 15 $packed=gzdeflate($original, 9); 16 echo strlen($packed)." ".strlen($original)."\n"; 17 $unpacked=gzinflate($packed, 40000); 21 $packed=gzdeflate($original); 22 echo strlen($packed)." ".strlen($original)."\n"; 23 $unpacked=gzinflate($packed);
|
H A D | 002.phpt | 8 $packed=gzcompress($original); 9 echo strlen($packed)." ".strlen($original)."\n"; 10 $unpacked=gzuncompress($packed); 15 $packed=gzcompress($original, 9); 16 echo strlen($packed)." ".strlen($original)."\n"; 17 $unpacked=gzuncompress($packed, 40000);
|
H A D | gzinflate_length.phpt | 8 $packed=gzdeflate($original); 9 echo strlen($packed)." ".strlen($original)."\n"; 10 $unpacked=gzinflate($packed, strlen($original)); 13 $unpacked=gzinflate($packed, strlen($original)*10); 16 $unpacked=gzinflate($packed, 1);
|
H A D | 003.phpt | 8 $packed = gzencode($original); 9 echo strlen($packed)." ".strlen($original). "\n"; 10 if (strcmp($original, gzdecode($packed)) == 0) echo "Strings are equal";
|
/php-src/ext/ffi/tests/ |
H A D | 021.phpt | 2 FFI 021: packed enums 16 test(1, "enum __attribute__((packed)) {a2, b2}"); 24 test(1, "enum __attribute__((packed)) {a8=0, b8=0xff}"); 25 test(2, "enum __attribute__((packed)) {a9=0, b9=0x100}"); 27 test(1, "enum __attribute__((packed)) {a10=-1, b10=0x7f}"); 28 test(2, "enum __attribute__((packed)) {a11=-1, b11=0x80}"); 32 test(2, "enum __attribute__((packed)) {a8=0, b8=0xffff}"); 48 test(1, "enum __attribute__((packed)) {a14=-0x80}"); 49 test(2, "enum __attribute__((packed)) {a14=-0x81}"); 50 test(2, "enum __attribute__((packed)) {a14=-0x8000}"); [all …]
|
H A D | 022.phpt | 25 test_size(5, "struct __attribute__((packed)) {char a; uint32_t b;}"); 26 test_size(5, "struct __attribute__((packed)) {uint32_t a; char b;}"); 39 test_align(1, "union __attribute__((packed)) {char a; uint32_t b;}"); 40 test_align(1, "union __attribute__((packed)) {uint32_t a; char b;}"); 42 test_size(8, "struct {char a __attribute__((packed)); uint32_t b;}"); 43 test_size(5, "struct {char a; uint32_t b __attribute__((packed));}"); 44 test_size(5, "struct {uint32_t a __attribute__((packed)); char b;}"); 45 test_size(8, "struct {uint32_t a; char b __attribute__((packed));}"); 47 test_align(4, "struct {char a __attribute__((packed)); uint32_t b;}"); 49 test_align(1, "struct {uint32_t a __attribute__((packed)); char b;}"); [all …]
|
H A D | 031.phpt | 21 test_size( 1, "struct __attribute__((packed)) {int a:2; int b:2;}"); 23 test_size( 9, "struct __attribute__((packed)) {int a:2; unsigned long long :64; int b:2;}"); 25 test_size( 1, "union __attribute__((packed)) {int a:2; int b:8;}");
|
/php-src/ext/standard/tests/network/ |
H A D | inet.phpt | 6 $packed = chr(127) . chr(0) . chr(0) . chr(1); 7 var_dump(inet_ntop($packed)); 9 $packed = chr(255) . chr(255) . chr(255) . chr(0); 10 var_dump(inet_ntop($packed)); 27 var_dump(bin2hex($packed = inet_pton($val))); 28 var_dump(inet_ntop($packed));
|
H A D | inet_ipv6.phpt | 6 $packed = str_repeat(chr(0), 15) . chr(1); 7 if (@inet_ntop($packed) === false) { 28 $packed = inet_pton($address); 29 var_dump(inet_ntop($packed));
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_b.phpt | 188 array(1) packed refcount(%d){ 193 array(1) packed refcount(%d){ 198 array(1) packed refcount(%d){ 203 array(1) packed refcount(%d){ 208 array(2) packed refcount(%d){ 210 array(2) packed refcount(%d){ 232 array(1) packed refcount(%d){ 237 array(1) packed refcount(%d){ 242 array(2) packed refcount(%d){ 249 array(2) packed refcount(%d){ [all …]
|
H A D | debug_zval_dump_refs.phpt | 19 array(1) packed refcount(2){ 25 array(2) packed refcount(2){ 35 array(1) packed refcount(2){ 41 array(1) packed refcount(2){
|
H A D | debug_zval_dump_b_64bit.phpt | 192 array(1) packed refcount(%d){ 197 array(1) packed refcount(%d){ 202 array(1) packed refcount(%d){ 207 array(1) packed refcount(%d){ 212 array(2) packed refcount(%d){ 214 array(2) packed refcount(%d){ 236 array(1) packed refcount(%d){ 241 array(1) packed refcount(%d){ 246 array(2) packed refcount(%d){ 253 array(2) packed refcount(%d){ [all …]
|
/php-src/ext/snmp/tests/ |
H A D | ipv6.phpt | 11 $packed = str_repeat(chr(0), 15) . chr(1); 12 if (@inet_ntop($packed) === false) {
|
H A D | bug64124.phpt | 11 $packed = str_repeat(chr(0), 15) . chr(1); 12 if (@inet_ntop($packed) === false) {
|
/php-src/Zend/tests/ |
H A D | gh11189_1.phpt | 2 …ceeding memory limit in zend_hash_do_resize leaves the array in an invalid state (not packed array) 20 $a = ["not packed" => 1];
|
H A D | gh11244-001.phpt | 2 GH-11244: Modifying a copied by-ref iterated array resets the array position (packed)
|
H A D | gh11244-002.phpt | 2 GH-11244: Modifying a copied by-ref iterated array resets the array position (not packed)
|
H A D | gh11244-003.phpt | 2 GH-11244: Modifying a copied by-ref iterated array resets the array position (not packed with holes)
|
/php-src/ext/json/tests/ |
H A D | 009.phpt | 2 json_encode() with non-packed array that should be encoded as an array rather than object
|
/php-src/ext/standard/tests/array/ |
H A D | array_slice_variation11.phpt | 23 echo "\n-- Call array_slice() on array with packed keys--\n"; 63 -- Call array_slice() on array with packed keys--
|
H A D | packed_001.phpt | 2 array_keys() and array_values() w/ packed optimization
|
/php-src/ext/standard/tests/serialize/ |
H A D | __serialize_007.phpt | 2 No packed -> mixed reallocation while populating __unserialize() array
|
/php-src/ext/zend_test/tests/ |
H A D | hash_fill_packed_nr_elements.phpt | 2 Test hash packed fill number of elements
|
/php-src/Zend/tests/foreach/ |
H A D | foreach_by_ref_repacking_insert.phpt | 2 Perform a packed to hash insert when the iterator is at the end of the array
|
/php-src/ext/opcache/tests/jit/ |
H A D | gh12527.phpt | 2 GH-12527: Incorrect hash/packed inference
|