Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpt.cc454 uint32_t oldCRC, newCRC, hSize; in CheckHeaderCRC() local
486 newCRC = chksum_crc32((unsigned char*) temp, hSize); in CheckHeaderCRC()
495 return (oldCRC == newCRC); in CheckHeaderCRC()
952 uint32_t sizeOfParts, newCRC; in LoadPartitionTable() local
972 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
973 mainPartsCrcOk = secondPartsCrcOk = (newCRC == header.partitionEntriesCRC); in LoadPartitionTable()
995 uint32_t sizeOfParts, newCRC; in CheckTable() local
1013 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()
1014 allOK = (newCRC == header->partitionEntriesCRC); in CheckTable()
1019 if (newCRC != otherHeader->partitionEntriesCRC) { in CheckTable()