/PHP-8.2/ext/standard/tests/strings/ |
H A D | crc32.phpt | 2 crc32() function 7 printf("%u\n", crc32($i)); 9 printf("%u\n", crc32("1234567890123456")); 10 printf("%u\n", crc32("1234567890123456abc")); 11 printf("%u\n", crc32("12345678901234561234567890123456")); 12 printf("%u\n", crc32("12345678901234561234567890123456abc")); 13 printf("%u\n", crc32("123456789012345612345678901234561234567890123456")); 14 printf("%u\n", crc32("123456789012345612345678901234561234567890123456abc")); 15 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456")); 16 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456abc")); [all …]
|
H A D | crc32_basic.phpt | 2 Test crc32() function : basic functionality 6 * Testing crc32() : basic functionality 9 echo "*** Testing crc32() : basic functionality ***\n"; 15 // Calling crc32() with all possible arguments 18 var_dump( is_int(crc32($str)) ); 21 printf("%u\n", crc32($str) ); 26 *** Testing crc32() : basic functionality ***
|
H A D | bug36306.phpt | 2 Bug #36306 (crc32() 64bit) 6 /* as an example how to write crc32 tests 8 display crc32 like a signed integer. 12 echo dechex(crc32("platform independent")) . "\n";
|
H A D | crc32_variation4.phpt | 2 Test crc32() function : usage variations - heredoc strings 11 * Testing crc32() : with different heredoc strings passed to the str argument 14 echo "*** Testing crc32() : with different heredoc strings ***\n"; 79 var_dump( crc32($str) ); 86 *** Testing crc32() : with different heredoc strings ***
|
H A D | crc32_variation2.phpt | 2 Test crc32() function : usage variations - single quoted strings 11 * Testing crc32() : with different strings in single quotes passed to the function 14 echo "*** Testing crc32() : with different strings in single quotes ***\n"; 63 var_dump( crc32($str) ); 70 *** Testing crc32() : with different strings in single quotes ***
|
H A D | crc32_variation3.phpt | 2 Test crc32() function : usage variations - double quoted strings 11 * Testing crc32() : with different strings in double quotes passed to the function 14 echo "*** Testing crc32() : with different strings in double quotes ***\n"; 65 var_dump( crc32($str) ); 72 *** Testing crc32() : with different strings in double quotes ***
|
/PHP-8.2/ext/phar/ |
H A D | pharzip.h | 27 char crc32[4]; /* crc-32 4 bytes */ member 39 char crc32[4]; /* crc-32 4 bytes */ member 46 char crc32[4]; /* crc-32 4 bytes */ member 141 char crc32[4]; /* CRC Long CRC-32 of the remaining data */ member 157 char crc32[4]; /* crc-32 4 bytes */ member
|
H A D | zip.c | 63 read = php_stream_read(fp, (char *) &(h.unix3.crc32), sizeof(h.unix3) - sizeof(h.header)); in phar_zip_process_extra() 384 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile() 605 …if (entry.crc32 != PHAR_GET_32(local.crc32) || entry.uncompressed_filesize != PHAR_GET_32(local.un… in phar_parse_zipfile() 881 PHAR_SET_32(perms.crc32, php_crc32_bulk_end(crc)); in phar_zip_changed_apply_int() 943 entry->crc32 = php_crc32_bulk_end(newcrc32); in phar_zip_changed_apply_int() 1015 PHAR_SET_32(central.crc32, entry->crc32); in phar_zip_changed_apply_int() 1016 PHAR_SET_32(local.crc32, entry->crc32); in phar_zip_changed_apply_int()
|
/PHP-8.2/ext/phar/tests/ |
H A D | 014.phpt | 12 // wrong crc32 15 $files['a'] = array('cont'=>'a', 'crc32'=>crc32('aX')); 23 …/a): Failed to open stream: phar error: internal corruption of phar "%s" (crc32 mismatch on file "…
|
H A D | 010.phpt | 15 $manifest = pack('V', 1) . 'a' . pack('VVVVVV', 0, time(), 0, crc32(''), 0x00000000, 0);
|
/PHP-8.2/ext/hash/tests/ |
H A D | crc32.phpt | 5 echo "crc32\n"; 6 echo hash('crc32', ''), "\n"; 7 echo hash('crc32', 'a'), "\n"; 8 echo hash('crc32', 'abc'), "\n"; 9 echo hash('crc32', 'message digest'), "\n"; 10 echo hash('crc32', 'abcdefghijklmnopqrstuvwxyz'), "\n"; 13 echo hash('crc32', '1234567890123456'), "\n"; 14 echo hash('crc32', '1234567890123456abc'), "\n"; 15 echo hash('crc32', '12345678901234561234567890123456'), "\n"; 16 echo hash('crc32', '12345678901234561234567890123456abc'), "\n"; [all …]
|
H A D | hash_file_basic1.phpt | 28 echo "crc32: " . hash_file('crc32', $file) . "\n"; 62 crc32: 61664d33
|
H A D | hash_hmac_error.phpt | 24 var_dump(hash_hmac('crc32', $data, $key));
|
H A D | hash_hmac_file_error.phpt | 21 var_dump(hash_hmac_file('crc32', $file, $key, TRUE));
|
H A D | hash_init_error.phpt | 17 var_dump(hash_init('crc32', HASH_HMAC));
|
H A D | hash_algos.phpt | 74 string(5) "crc32"
|
H A D | hash_pbkdf2_error.phpt | 25 var_dump(hash_pbkdf2('crc32', $password, $salt, 1));
|
/PHP-8.2/ext/phar/tests/zip/files/ |
H A D | corrupt_zipmaker.php.inc | 92 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 99 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 106 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 110 case 'crc32' : 113 … pack("VVVvv", $crc32 + 1, $complength, $uncomplength, strlen($filename), 0x00) . 120 … pack("VVVvv", $crc32, $complength + 1, $uncomplength, strlen($filename), 0x00) . 141 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 1) . 148 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 155 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 191 case 'crc32' : [all …]
|
/PHP-8.2/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 13 $crc32= NULL; 24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 37 if (empty($crc32))$crc32= crc32((binary)$cont); 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
/PHP-8.2/ext/phar/tests/files/ |
H A D | phar_test.inc | 13 $crc32= NULL; 24 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 37 if (empty($crc32))$crc32= crc32((binary)$cont); 42 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
/PHP-8.2/ext/opcache/tests/jit/ |
H A D | gh11917.phpt | 9 echo crc32(json_encode(bitwise_small_split($a))) . "\n"; 10 echo crc32(json_encode(bitwise_small_split($a))) . "\n"; 11 echo crc32(json_encode(bitwise_small_split($a))) . "\n"; 12 echo crc32(json_encode(bitwise_small_split($a))) . "\n";
|
/PHP-8.2/ext/zlib/ |
H A D | php_zlib.def | 54 crc32
|
/PHP-8.2/Zend/tests/ |
H A D | bug78340.phpt | 15 $this->ino= crc32($path);
|
/PHP-8.2/ext/standard/ |
H A D | crc32.c | 150 PHP_FUNCTION(crc32) in PHP_FUNCTION() argument
|
H A D | config.w32 | 27 crc32.c crypt.c crypt_freesec.c crypt_blowfish.c crypt_sha256.c \
|