/PHP-5.5/win32/ |
H A D | php5dll.dsp | 363 SOURCE=..\ext\standard\crc32.c
|
H A D | php5dllts.dsp | 1791 SOURCE=..\ext\standard\crc32.c
|
/PHP-5.5/ext/zlib/ |
H A D | php_zlib.def | 51 crc32
|
/PHP-5.5/ext/zip/lib/ |
H A D | zip_filerange_crc.c | 51 *crcp = crc32(0L, Z_NULL, 0); in _zip_filerange_crc() 65 *crcp = crc32(*crcp, buf, n); in _zip_filerange_crc()
|
H A D | zip_source_crc.c | 88 ctx->crc = crc32(0, NULL, 0); in crc_read() 124 ctx->crc = crc32(ctx->crc, data, n); in crc_read()
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | crc32_basic.phpt | 2 Test crc32() function : basic functionality 11 /* Prototype : string crc32(string $str) 12 * Description: Calculate the crc32 polynomial of a string 13 * Source code: ext/standard/crc32.c 18 * Testing crc32() : basic functionality 21 echo "*** Testing crc32() : basic functionality ***\n"; 27 // Calling crc32() with all possible arguments 30 var_dump( is_int(crc32($str)) ); 33 printf("%u\n", crc32($str) ); 38 *** Testing crc32() : basic functionality ***
|
H A D | crc32_error.phpt | 2 Test crc32() function : error conditions 11 /* Prototype : string crc32(string $str) 12 * Description: Calculate the crc32 polynomial of a string 13 * Source code: ext/standard/crc32.c 18 * Testing crc32() : error conditions 21 echo "*** Testing crc32() : error conditions ***\n"; 24 echo "\n-- Testing crc32() function with Zero arguments --\n"; 25 var_dump( crc32() ); 31 var_dump( crc32($str, $extra_arg) ); 36 *** Testing crc32() : error conditions *** [all …]
|
H A D | crc32_variation1.phpt | 2 Test crc32() function : usage variations - unexpected values 11 /* Prototype : string crc32(string $str) 12 * Description: Calculate the crc32 polynomial of a string 13 * Source code: ext/standard/crc32.c 18 * Testing crc32() : with unexpected values for str argument 21 echo "*** Testing crc32() : with unexpected values for str argument ***\n"; 92 var_dump( crc32($value) ); 102 *** Testing crc32() : with unexpected values for str argument *** 137 Warning: crc32() expects parameter 1 to be string, array given in %s on line %d 142 Warning: crc32() expects parameter 1 to be string, array given in %s on line %d [all …]
|
H A D | crc32_variation2.phpt | 2 Test crc32() function : usage variations - single quoted strings 10 /* Prototype : string crc32(string $str) 11 * Description: Calculate the crc32 polynomial of a string 12 * Source code: ext/standard/crc32.c 17 * Testing crc32() : with different strings in single quotes passed to the function 20 echo "*** Testing crc32() : with different strings in single quotes ***\n"; 69 var_dump( crc32($str) ); 76 *** Testing crc32() : with different strings in single quotes ***
|
H A D | crc32_variation3.phpt | 2 Test crc32() function : usage variations - double quoted strings 10 /* Prototype : string crc32(string $str) 11 * Description: Calculate the crc32 polynomial of a string 12 * Source code: ext/standard/crc32.c 17 * Testing crc32() : with different strings in double quotes passed to the function 20 echo "*** Testing crc32() : with different strings in double quotes ***\n"; 71 var_dump( crc32($str) ); 78 *** Testing crc32() : with different strings in double quotes ***
|
H A D | crc32_variation4.phpt | 2 Test crc32() function : usage variations - heredoc strings 10 /* Prototype : string crc32(string $str) 11 * Description: Calculate the crc32 polynomial of a string 12 * Source code: ext/standard/crc32.c 17 * Testing crc32() : with different heredoc strings passed to the str argument 20 echo "*** Testing crc32() : with different heredoc strings ***\n"; 85 var_dump( crc32($str) ); 92 *** Testing crc32() : with different heredoc strings ***
|
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";
|
/PHP-5.5/ext/standard/ |
H A D | basic_functions.c | 2727 PHP_NAMED_FE(crc32,php_if_crc32, arginfo_crc32)
|
H A D | config.m4 | 596 PHP_NEW_EXTENSION(standard, array.c base64.c basic_functions.c browscap.c crc32.c crypt.c \
|
H A D | config.w32 | 12 crc32.c crypt.c crypt_freesec.c crypt_blowfish.c crypt_sha256.c \
|
/PHP-5.5/ext/phar/ |
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() 371 entry.crc32 = PHAR_GET_32(zipentry.crc32); in phar_parse_zipfile() 575 …ry.filename_len != PHAR_GET_16(local.filename_len) || entry.crc32 != PHAR_GET_32(local.crc32) || e… in phar_parse_zipfile() 808 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply() 868 entry->crc32 = ~newcrc32; in phar_zip_changed_apply() 940 PHAR_SET_32(central.crc32, entry->crc32); in phar_zip_changed_apply() 941 PHAR_SET_32(local.crc32, entry->crc32); in phar_zip_changed_apply()
|
H A D | util.c | 740 if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) { in phar_open_entry_fp() 758 if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) { in phar_open_entry_fp() 805 if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 0 TSRMLS_CC)) { in phar_open_entry_fp() 824 entry->crc32 = 0; in phar_create_writeable_entry() 857 entry->crc32 = 0; in phar_create_writeable_entry()
|
/PHP-5.5/ext/phar/tests/zip/files/ |
H A D | corrupt_zipmaker.php.inc | 93 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 100 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 107 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 111 case 'crc32' : 114 pack("VVVvv", $crc32 + 1, $complength, $uncomplength, strlen($filename), 0x00) . 121 pack("VVVvv", $crc32, $complength + 1, $uncomplength, strlen($filename), 0x00) . 142 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 1) . 149 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 156 pack("VVVvv", $crc32, $complength, $uncomplength, strlen($filename), 0x00) . 192 case 'crc32' : [all …]
|
/PHP-5.5/ext/phar/tests/ |
H A D | phar_setdefaultstub.phpt | 321 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) { 616 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) { 911 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | phar_createdefaultstub.phpt | 301 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) { 595 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) { 897 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | nophar.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | phar_test.inc | 15 $crc32= NULL; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 39 if (empty($crc32))$crc32= crc32((binary)$cont); 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|
H A D | include_path2.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
H A D | openssl.phar | 265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | phar_test.inc | 15 $crc32= NULL; 26 foreach(array('comp','crc32','clen','ulen','time','flags','perm','meta','cont') as $what) 39 if (empty($crc32))$crc32= crc32((binary)$cont); 44 …$manifest .= pack('VVVVVV', $ulen, $time, $clen, $crc32, $flags|$perm, strlen($meta)) . (binary)$m…
|