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
967 sizeOfParts = header.numParts * header.sizeOfPartitionEntries; in LoadPartitionTable()
968 if (disk.Read(partitions, sizeOfParts) != (int) sizeOfParts) { in LoadPartitionTable()
972 newCRC = chksum_crc32((unsigned char*) partitions, sizeOfParts); in LoadPartitionTable()
995 uint32_t sizeOfParts, newCRC; in CheckTable() local
1005 sizeOfParts = header->numParts * header->sizeOfPartitionEntries; in CheckTable()
1010 if (myDisk.Read(partsToCheck, sizeOfParts) != (int) sizeOfParts) { in CheckTable()
1013 newCRC = chksum_crc32((unsigned char*) partsToCheck, sizeOfParts); in CheckTable()