Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpt.cc538 uint32_t oldCRC, newCRC, hSize; in CheckHeaderCRC() local
570 newCRC = chksum_crc32((unsigned char*) temp, hSize); in CheckHeaderCRC()
579 return (oldCRC == newCRC); in CheckHeaderCRC()
1065 uint32_t sizeOfParts, newCRC; in LoadPartitionTable() local
1085 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
1086 mainPartsCrcOk = secondPartsCrcOk = (newCRC == header.partitionEntriesCRC); in LoadPartitionTable()
1108 uint32_t sizeOfParts, newCRC; in CheckTable() local
1126 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()
1127 allOK = (newCRC == header->partitionEntriesCRC); in CheckTable()
1132 if (newCRC != otherHeader->partitionEntriesCRC) { in CheckTable()