/PHP-7.1/ext/phar/tests/tar/ |
H A D | badchecksum.phpt | 2 Phar: tar with bad checksum 13 $a->addFile('hithere', 'contents', null, 'checksum'); 29 phar error: "%sbadchecksum.tar" is a corrupted tar file (checksum mismatch of file "hithere")
|
/PHP-7.1/ext/phar/tests/tar/files/ |
H A D | corrupt_tarmaker.php.inc | 112 $checksum = 256; // 8 * ord(' '); 113 $checksum += array_reduce($checkheader, '_pear2tarchecksum'); 115 if ($corrupt === 'checksum') $checksum++; 116 $checksum = pack('a8', sprintf('%6s ', decoct($checksum))); 118 fwrite($this->tmp, $block . $checksum . $blockend, 512);
|
H A D | tarmaker.php.inc | 105 $checksum = 256; // 8 * ord(' '); 106 $checksum += array_reduce($checkheader, '_pear2tarchecksum'); 108 $checksum = pack('a8', sprintf('%6s ', decoct($checksum))); 110 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
|
H A D | make.dangerous.tar.php.inc | 106 $checksum = 256; // 8 * ord(' '); 107 $checksum += array_reduce($checkheader, '_pear2tarchecksum'); 109 $checksum = pack('a8', sprintf('%6s ', decoct($checksum))); 111 fwrite($this->tmp, (binary)$block . $checksum . $blockend, 512);
|
/PHP-7.1/ext/phar/ |
H A D | tar.h | 48 char checksum[8]; /* checksum for header */ member 72 char checksum[8]; /* checksum for header */ member
|
H A D | tar.c | 103 uint32_t checksum = phar_tar_number(header->checksum, sizeof(header->checksum)); in phar_is_tar() local 105 char save[sizeof(header->checksum)], *bname; in phar_is_tar() 112 memcpy(save, header->checksum, sizeof(header->checksum)); in phar_is_tar() 113 memset(header->checksum, ' ', sizeof(header->checksum)); in phar_is_tar() 114 ret = (checksum == phar_tar_checksum(buf, 512)); in phar_is_tar() 115 memcpy(header->checksum, save, sizeof(header->checksum)); in phar_is_tar() 259 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile() 263 memset(hdr->checksum, ' ', sizeof(hdr->checksum)); in phar_parse_tarfile() 340 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile() 775 strncpy(header.checksum, " ", sizeof(" ")-1); in phar_tar_writeheaders_int() [all …]
|
/PHP-7.1/ext/dba/tests/ |
H A D | dba_cdb_make.phpt | 14 // print md5 checksum of test.cdb which is generated by cdb_make program 26 // write md5 checksum of generated database file
|
H A D | bug38698.phpt | 24 // write md5 checksum of generated database file
|
/PHP-7.1/ext/opcache/ |
H A D | zend_accelerator_util_funcs.h | 40 unsigned int zend_adler32(unsigned int checksum, signed char *buf, uint len);
|
H A D | zend_accelerator_util_funcs.c | 738 unsigned int zend_adler32(unsigned int checksum, signed char *buf, uint len) in zend_adler32() argument 740 unsigned int s1 = checksum & 0xffff; in zend_adler32() 741 unsigned int s2 = (checksum >> 16) & 0xffff; in zend_adler32() 783 unsigned int checksum = ADLER32_INIT; in zend_accel_script_checksum() local 786 checksum = zend_adler32(checksum, mem, (signed char*)persistent_script - mem); in zend_accel_script_checksum() 791 zend_adler32(checksum, mem, persistent_script_check_block_size); in zend_accel_script_checksum() 796 checksum = zend_adler32(checksum, mem, size); in zend_accel_script_checksum() 798 return checksum; in zend_accel_script_checksum()
|
H A D | zend_file_cache.c | 161 uint32_t checksum; member 843 info.checksum = zend_adler32(ADLER32_INIT, buf, script->size); in zend_file_cache_script_store() 844 …info.checksum = zend_adler32(info.checksum, (signed char*)ZSTR_VAL((zend_string*)ZCG(mem)), info.s… in zend_file_cache_script_store() 1424 zend_adler32(ADLER32_INIT, mem, info.mem_size + info.str_size) != info.checksum) { in zend_file_cache_script_load() 1505 script->dynamic_members.checksum = zend_accel_script_checksum(script); in zend_file_cache_script_load()
|
H A D | ZendAccelerator.h | 163 unsigned int checksum; member
|
H A D | ZendAccelerator.c | 1263 …new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script… in store_script_in_file_cache() 1379 …new_persistent_script->dynamic_members.checksum = zend_accel_script_checksum(new_persistent_script… in cache_script_in_shared_memory() 1850 unsigned int checksum = zend_accel_script_checksum(persistent_script); in persistent_compile_file() local 1851 if (checksum != persistent_script->dynamic_members.checksum ) { in persistent_compile_file() 1854 …TR_VAL(persistent_script->script.filename), persistent_script->dynamic_members.checksum, checksum); in persistent_compile_file()
|
H A D | README | 186 Check the cache checksum each N requests. 188 Because calculating the checksum impairs performance, this directive should
|
/PHP-7.1/win32/build/ |
H A D | mkdist.php | 191 $checksum = 0; 193 $checksum += ord($hdr_data{$i}); 195 $checksum += 32; 197 $checksum += ord($hdr_data{$i}); 203 if ($hdr['checksum'] != $checksum) {
|
/PHP-7.1/ext/hash/ |
H A D | php_hash_md.h | 91 unsigned char checksum[16]; member
|
H A D | hash_md.c | 651 t = context->checksum[15]; in MD2_Transform() 653 t = context->checksum[i] ^= MD2_S[block[i] ^ t]; in MD2_Transform() 692 MD2_Transform(context, context->checksum); in PHP_MD2Final()
|
/PHP-7.1/ext/phar/tests/ |
H A D | bug69453.phpt | 17 UnexpectedValueException: phar error: "%s%ebug69453.tar.phar" is a corrupted tar file (checksum mis…
|
H A D | phar_createdefaultstub.phpt | 302 die("Invalid internal .phar file (checksum error)"); 596 die("Invalid internal .phar file (checksum error)"); 898 die("Invalid internal .phar file (checksum error)");
|
H A D | phar_setdefaultstub.phpt | 322 die("Invalid internal .phar file (checksum error)"); 617 die("Invalid internal .phar file (checksum error)"); 912 die("Invalid internal .phar file (checksum error)");
|
/PHP-7.1/ext/zlib/ |
H A D | php_zlib.def | 50 ; checksum functions
|
/PHP-7.1/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 266 die("Invalid internal .phar file (checksum error)");
|
H A D | openssl.phar | 266 die("Invalid internal .phar file (checksum error)");
|
/PHP-7.1/ext/phar/tests/files/ |
H A D | include_path2.phar | 266 die("Invalid internal .phar file (checksum error)");
|
H A D | nophar.phar | 266 die("Invalid internal .phar file (checksum error)");
|