Searched refs:phar_tar_checksum (Results 1 – 1 of 1) sorted by relevance
90 static uint32_t phar_tar_checksum(char *buf, size_t len) /* {{{ */ in phar_tar_checksum() function117 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 8 milliseconds