Home
last modified time | relevance | path

Searched refs:checksum (Results 1 – 22 of 22) sorted by relevance

/PHP-5.4/ext/phar/tests/tar/
H A Dbadchecksum.phpt2 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-5.4/ext/phar/tests/tar/files/
H A Dcorrupt_tarmaker.php.inc112 $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 Dtarmaker.php.inc105 $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 Dmake.dangerous.tar.php.inc106 $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-5.4/ext/phar/
H A Dtar.h48 char checksum[8]; /* checksum for header */ member
72 char checksum[8]; /* checksum for header */ member
H A Dtar.c103 php_uint32 checksum = phar_tar_number(header->checksum, sizeof(header->checksum)); in phar_is_tar() local
105 char save[sizeof(header->checksum)]; 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()
248 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile()
252 memset(hdr->checksum, ' ', sizeof(hdr->checksum)); in phar_parse_tarfile()
323 sum1 = phar_tar_number(hdr->checksum, sizeof(hdr->checksum)); in phar_parse_tarfile()
751 strncpy(header.checksum, " ", sizeof(" ")-1); in phar_tar_writeheaders()
[all …]
/PHP-5.4/ext/dba/tests/
H A Ddba_cdb_make.phpt14 // print md5 checksum of test.cdb which is generated by cdb_make program
26 // write md5 checksum of generated database file
H A Dbug38698.phpt24 // write md5 checksum of generated database file
/PHP-5.4/win32/build/
H A Dmkdist.php170 $checksum = 0;
172 $checksum += ord($hdr_data{$i});
174 $checksum += 32;
176 $checksum += ord($hdr_data{$i});
182 if ($hdr['checksum'] != $checksum) {
/PHP-5.4/ext/hash/
H A Dphp_hash_md.h91 unsigned char checksum[16]; member
H A Dhash_md.c651 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-5.4/ext/zlib/
H A Dphp_zlib.def49 ; checksum functions
/PHP-5.4/ext/phar/tests/
H A Dbug69453.phpt17 …th message 'phar error: "%s/bug69453.tar.phar" is a corrupted tar file (checksum mismatch of file …
H A Dphar_createdefaultstub.phpt302 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 Dphar_setdefaultstub.phpt322 die("Invalid internal .phar file (checksum error)");
617 die("Invalid internal .phar file (checksum error)");
912 die("Invalid internal .phar file (checksum error)");
/PHP-5.4/ext/phar/tests/cache_list/files/
H A Dnophar.phar266 die("Invalid internal .phar file (checksum error)");
H A Dopenssl.phar266 die("Invalid internal .phar file (checksum error)");
/PHP-5.4/ext/phar/tests/files/
H A Dinclude_path2.phar266 die("Invalid internal .phar file (checksum error)");
H A Dnophar.phar266 die("Invalid internal .phar file (checksum error)");
H A Dopenssl.phar266 die("Invalid internal .phar file (checksum error)");
/PHP-5.4/
H A DREADME.RELEASE_PROCESS121 Note: Remember to update the MD5 checksum information.
/PHP-5.4/ext/fileinfo/tests/
H A Dmagic2463 >24 belong 0 no checksum
2464 >24 belong 1 SHA-1 checksum
2465 >24 belong 2 MD5 checksum
7109 >>>>>>>>>80 ulelong >0 \b, checksum 0x%x
7110 #>>>>>>>>>80 ulelong =0 \b, checksum 0x%x=0 (usual)
7283 #>0x464 lelong &0x0000010 (gdt checksum)
11869 # to the MacBinary III format. The checksum is really the way to
11898 # 124 beshort # checksum
15660 # is a checksum that could (presumably) have any leading digit,

Completed in 103 milliseconds