Home
last modified time | relevance | path

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

/php-src/ext/phar/
H A Dtar.c90 static uint32_t phar_tar_checksum(char *buf, size_t len) /* {{{ */ in phar_tar_checksum() function
117 is_tar = (checksum == phar_tar_checksum(buf, 512)); in phar_is_tar()
259 if (sum1 == 0 && phar_tar_checksum(buf, sizeof(buf)) == 0) { in phar_parse_tarfile()
263 sum2 = phar_tar_checksum(buf, old?sizeof(old_tar_header):sizeof(tar_header)); in phar_parse_tarfile()
266 uint32_t sum3 = phar_tar_checksum(buf, sizeof(tar_header)); in phar_parse_tarfile()
352 if (sum1 == 0 && phar_tar_checksum(buf, sizeof(buf)) == 0) { in phar_parse_tarfile()
792 entry->crc32 = phar_tar_checksum((char *)&header, sizeof(header)); in phar_tar_writeheaders_int()

Completed in 14 milliseconds