Home
last modified time | relevance | path

Searched refs:crc32 (Results 26 – 46 of 46) sorted by relevance

12

/PHP-5.3/ext/phar/
H A Dzip.c63 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()
573 …ry.filename_len != PHAR_GET_16(local.filename_len) || entry.crc32 != PHAR_GET_32(local.crc32) || e… in phar_parse_zipfile()
816 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply()
876 entry->crc32 = ~newcrc32; in phar_zip_changed_apply()
948 PHAR_SET_32(central.crc32, entry->crc32); in phar_zip_changed_apply()
949 PHAR_SET_32(local.crc32, entry->crc32); in phar_zip_changed_apply()
H A Dshortarc.php271 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
H A Dphar.c1106 PHAR_GET_32(buffer, entry.crc32);
2408 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip T… argument
2449 memcpy(&(local.crc32), &(desc.crc32), 12);
2452 memcpy(&(local.crc32), &desc, 12);
2456 …->filename_len != PHAR_ZIP_16(local.filename_len) || entry->crc32 != PHAR_ZIP_32(local.crc32) || e…
2482 if (~crc == crc32) {
2848 entry->crc32 = ~newcrc32;
3044 phar_set_32(entry_buffer+12, entry->crc32);
H A Dphar_internal.h257 php_uint32 crc32; member
635 int phar_postprocess_file(phar_entry_data *idata, php_uint32 crc32, char **error, int process_zip T…
H A Dutil.c963 if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) { in phar_open_entry_fp()
981 if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 1 TSRMLS_CC)) { in phar_open_entry_fp()
1028 if (FAILURE == phar_postprocess_file(&dummy, entry->crc32, error, 0 TSRMLS_CC)) { in phar_open_entry_fp()
1082 entry->crc32 = 0; in phar_create_writeable_entry()
1115 entry->crc32 = 0; in phar_create_writeable_entry()
H A Dtar.c752 entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); in phar_tar_writeheaders()
754 if (FAILURE == phar_tar_octal(header.checksum, entry->crc32, sizeof(header.checksum)-1)) { in phar_tar_writeheaders()
H A Dstream.c311 …ile->is_crc_checked && phar_postprocess_file(idata, idata->internal_file->crc32, &error, 2 TSRMLS_… in phar_wrapper_open_url()
H A Dphar_object.c4634 RETURN_LONG(entry_obj->ent.entry->crc32);
/PHP-5.3/ext/zlib/
H A Dzlib.c801 ZLIBG(crc) = crc32(0L, Z_NULL, 0); in php_deflate_string()
817 ZLIBG(crc) = crc32(ZLIBG(crc), (const Bytef *) str, str_length); in php_deflate_string()
931 uLong crc = crc32(0L, Z_NULL, 0); in PHP_FUNCTION()
933 crc = crc32(crc, (const Bytef *) data, data_len); in PHP_FUNCTION()
/PHP-5.3/ext/phar/tests/
H A Dphar_setdefaultstub.phpt321 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 Dphar_createdefaultstub.phpt301 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.3/ext/phar/tests/files/
H A Dinclude_path2.phar265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
H A Dnophar.phar265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
H A Dopenssl.phar265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
/PHP-5.3/ext/phar/tests/cache_list/files/
H A Dnophar.phar265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
H A Dopenssl.phar265 if ($entry[3] != sprintf("%u", crc32((binary)$data) & 0xffffffff)) {
/PHP-5.3/ext/standard/
H A Dconfig.m4577 PHP_NEW_EXTENSION(standard, array.c base64.c basic_functions.c browscap.c crc32.c crypt.c \
H A Dbasic_functions.c2700 PHP_NAMED_FE(crc32,php_if_crc32, arginfo_crc32)
/PHP-5.3/win32/
H A Dphp5dll.dsp375 SOURCE=..\ext\standard\crc32.c
H A Dphp5dllts.dsp1803 SOURCE=..\ext\standard\crc32.c
/PHP-5.3/
H A DNEWS3761 - Fixed bug #45028 (CRC32 output endianness is different between crc32() and
5746 - Fixed bug #36306 (crc32() differ on 32-bit and 64-bit platforms)

Completed in 132 milliseconds

12