Home
last modified time | relevance | path

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

/third_party/gptfdisk/
Dgpt.cc545 uint32_t oldCRC, newCRC, hSize; in CheckHeaderCRC() local
577 newCRC = chksum_crc32((unsigned char*) temp, hSize); in CheckHeaderCRC()
586 return (oldCRC == newCRC); in CheckHeaderCRC()
1091 uint32_t sizeOfParts, newCRC; in LoadPartitionTable() local
1111 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
1112 mainPartsCrcOk = secondPartsCrcOk = (newCRC == header.partitionEntriesCRC); in LoadPartitionTable()
1134 uint32_t sizeOfParts, newCRC; in CheckTable() local
1152 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()
1153 allOK = (newCRC == header->partitionEntriesCRC); in CheckTable()
1158 if (newCRC != otherHeader->partitionEntriesCRC) { in CheckTable()