Searched refs:crc (Results 1 – 10 of 10) sorted by relevance
/PHP-7.4/ext/standard/ |
H A D | crc32.c | 51 crc = __crc32d(crc, *(uint64_t *)p); in crc32_aarch64() 56 crc = __crc32w(crc, *(uint32_t *)p); in crc32_aarch64() 61 crc = __crc32h(crc, *(uint16_t *)p); in crc32_aarch64() 66 crc = __crc32b(crc, *p); in crc32_aarch64() 68 return crc; in crc32_aarch64() 80 register uint32_t crc; in PHP_NAMED_FUNCTION() local 86 crc = crcinit^0xFFFFFFFF; in PHP_NAMED_FUNCTION() 90 crc = crc32_aarch64(crc, p, nr); in PHP_NAMED_FUNCTION() 91 RETURN_LONG(crc^0xFFFFFFFF); in PHP_NAMED_FUNCTION() 96 crc = ((crc >> 8) & 0x00FFFFFF) ^ crc32tab[(crc ^ (*p)) & 0xFF ]; in PHP_NAMED_FUNCTION() [all …]
|
H A D | crc32.h | 26 #define CRC32(crc, ch) (crc = (crc >> 8) ^ crc32tab[(crc ^ (ch)) & 0xff]) argument
|
/PHP-7.4/ext/zip/tests/ |
H A D | bug49072.phpt | 14 $r = $o->getStream('file1'); // this file has a wrong crc
|
/PHP-7.4/ext/zlib/tests/ |
H A D | bug71417.phpt | 19 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error 34 // gzip: test-zlib-inflate.gz: invalid compressed data--crc error
|
/PHP-7.4/ext/phar/ |
H A D | zip.c | 860 uint32_t crc = (uint32_t) ~0; in phar_zip_changed_apply_int() local 861 CRC32(crc, perms.perms[0]); in phar_zip_changed_apply_int() 862 CRC32(crc, perms.perms[1]); in phar_zip_changed_apply_int() 863 PHAR_SET_32(perms.crc32, ~crc); in phar_zip_changed_apply_int()
|
H A D | phar.c | 2346 uint32_t crc = ~0; in phar_postprocess_file() local 2413 CRC32(crc, php_stream_getc(fp)); in phar_postprocess_file() 2418 if (~crc == crc32) { in phar_postprocess_file()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 391 add_ascii_assoc_long(return_value, "crc", (zend_long) (sb)->crc); \ 404 add_ascii_assoc_long(return_value, "crc", (zend_long) (sb)->crc); \
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_compile.c | 8766 int crc = memcmp(name, slot+IMM2_SIZE, CU2BYTES(length)); in add_name_to_table() local 8767 if (crc == 0 && slot[IMM2_SIZE+length] != 0) in add_name_to_table() 8768 crc = -1; /* Current name is a substring */ in add_name_to_table() 8775 if (crc < 0) in add_name_to_table()
|
/PHP-7.4/ext/fileinfo/tests/ |
H A D | magic私はガラスを食べられます | 15713 # 137 P N G \r \n ^Z \n [4-byte length] I H D R [HEAD data] [HEAD crc] ...
|
H A D | magic | 15713 # 137 P N G \r \n ^Z \n [4-byte length] I H D R [HEAD data] [HEAD crc] ...
|
Completed in 197 milliseconds