Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpt.cc947 uint32_t sizeOfParts, newCRC; in LoadPartitionTable() local
959 sizeOfParts = header.numParts * header.sizeOfPartitionEntries; in LoadPartitionTable()
960 if (disk.Read(partitions, sizeOfParts) != (int) sizeOfParts) { in LoadPartitionTable()
964 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
987 uint32_t sizeOfParts, newCRC; in CheckTable() local
997 sizeOfParts = header->numParts * header->sizeOfPartitionEntries; in CheckTable()
1002 if (myDisk.Read(partsToCheck, sizeOfParts) != (int) sizeOfParts) { in CheckTable()
1005 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()