Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpt.cc449 uint32_t oldCRC, newCRC, hSize; in CheckHeaderCRC() local
481 newCRC = chksum_crc32((unsigned char*) temp, hSize); in CheckHeaderCRC()
490 return (oldCRC == newCRC); in CheckHeaderCRC()
947 uint32_t sizeOfParts, newCRC; in LoadPartitionTable() local
964 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
965 mainPartsCrcOk = secondPartsCrcOk = (newCRC == header.partitionEntriesCRC); in LoadPartitionTable()
987 uint32_t sizeOfParts, newCRC; in CheckTable() local
1005 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()
1006 allOK = (newCRC == header->partitionEntriesCRC); in CheckTable()
1011 if (newCRC != otherHeader->partitionEntriesCRC) { in CheckTable()