/PHP-8.2/ext/phar/tests/tar/ |
H A D | badchecksum.phpt | 2 Phar: tar with bad checksum 13 $a->addFile('hithere', 'contents', null, 'checksum'); 28 phar error: "%sbadchecksum.tar" is a corrupted tar file (checksum mismatch of file "hithere")
|
/PHP-8.2/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-8.2/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() 263 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile() 267 memset(hdr->checksum, ' ', sizeof(hdr->checksum)); in phar_parse_tarfile() 355 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile() 796 memcpy(header.checksum, " ", sizeof(" ")-1); in phar_tar_writeheaders_int() [all …]
|
/PHP-8.2/ext/dba/tests/ |
H A D | dba_cdb_make.phpt | 17 // print md5 checksum of test.cdb which is generated by cdb_make program 29 // write md5 checksum of generated database file
|
H A D | bug38698.phpt | 26 // write md5 checksum of generated database file
|
/PHP-8.2/ext/opcache/ |
H A D | zend_accelerator_util_funcs.c | 460 unsigned int zend_adler32(unsigned int checksum, unsigned char *buf, uint32_t len) in zend_adler32() argument 462 unsigned int s1 = checksum & 0xffff; in zend_adler32() 463 unsigned int s2 = (checksum >> 16) & 0xffff; in zend_adler32() 505 unsigned int checksum = ADLER32_INIT; in zend_accel_script_checksum() local 508 checksum = zend_adler32(checksum, mem, (unsigned char*)persistent_script - mem); in zend_accel_script_checksum() 513 zend_adler32(checksum, mem, persistent_script_check_block_size); in zend_accel_script_checksum() 518 checksum = zend_adler32(checksum, mem, size); in zend_accel_script_checksum() 520 return checksum; in zend_accel_script_checksum()
|
H A D | zend_accelerator_util_funcs.h | 43 unsigned int zend_adler32(unsigned int checksum, unsigned char *buf, uint32_t len);
|
H A D | ZendAccelerator.h | 142 unsigned int checksum; member
|
H A D | zend_file_cache.c | 198 uint32_t checksum; member 1121 info.checksum = zend_adler32(ADLER32_INIT, buf, script->size); 1122 info.checksum = zend_adler32(info.checksum, (unsigned char*)ZSTR_VAL(s), info.str_size); 1855 …tual_checksum = zend_adler32(ADLER32_INIT, mem, info.mem_size + info.str_size)) != info.checksum) { 1856 …s' excepted checksum: 0x%08x actual checksum: 0x%08x\n", filename, info.checksum, actual_checksum); 1933 script->dynamic_members.checksum = zend_accel_script_checksum(script);
|
/PHP-8.2/ext/phar/tests/ |
H A D | bug75102.phpt | 2 Bug #75102 (`PharData` says invalid checksum for valid tar)
|
H A D | bug69453.phpt | 15 UnexpectedValueException: phar error: "%s%ebug69453.tar.phar" is a corrupted tar file (checksum mis…
|
H A D | phar_setdefaultstub.phpt | 321 die("Invalid internal .phar file (checksum error)"); 616 die("Invalid internal .phar file (checksum error)"); 911 die("Invalid internal .phar file (checksum error)");
|
H A D | phar_createdefaultstub.phpt | 301 die("Invalid internal .phar file (checksum error)"); 595 die("Invalid internal .phar file (checksum error)"); 897 die("Invalid internal .phar file (checksum error)");
|
/PHP-8.2/ext/hash/ |
H A D | php_hash_md.h | 39 unsigned char checksum[16]; member
|
H A D | hash_md.c | 313 t = context->checksum[15]; in MD2_Transform() 315 t = context->checksum[i] ^= MD2_S[block[i] ^ t]; in MD2_Transform() 354 MD2_Transform(context, context->checksum); in PHP_MD2Final()
|
/PHP-8.2/win32/build/ |
H A D | mkdist.php | 186 $checksum = 0; 188 $checksum += ord($hdr_data[$i]); 190 $checksum += 32; 192 $checksum += ord($hdr_data[$i]); 198 if ($hdr['checksum'] != $checksum) {
|
/PHP-8.2/ext/zlib/ |
H A D | php_zlib.def | 52 ; checksum functions
|
/PHP-8.2/ext/standard/tests/filters/ |
H A D | gh13264.phpt | 15 // Mess up the checksum
|
/PHP-8.2/ext/fileinfo/ |
H A D | magicdata.patch | 14 0 ustring \xFD7zXZ\x00 XZ compressed data, checksum
|
/PHP-8.2/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-8.2/ext/phar/tests/files/ |
H A D | include_path2.phar | 266 die("Invalid internal .phar file (checksum error)");
|