Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpt.cc952 uint32_t sizeOfParts, newCRC; in LoadPartitionTable() local
964 sizeOfParts = header.numParts * header.sizeOfPartitionEntries; in LoadPartitionTable()
965 if (disk.Read(partitions, sizeOfParts) != (int) sizeOfParts) { in LoadPartitionTable()
969 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
992 uint32_t sizeOfParts, newCRC; in CheckTable() local
1002 sizeOfParts = header->numParts * header->sizeOfPartitionEntries; in CheckTable()
1007 if (myDisk.Read(partsToCheck, sizeOfParts) != (int) sizeOfParts) { in CheckTable()
1010 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()