Lines Matching refs:GPTPart
149 partitions = new GPTPart [numParts];
993 GPTPart *partsToCheck;
1001 partsToCheck = new GPTPart[header->numParts];
1645 int GPTData::OnePartToMBR(uint32_t gptPart, int mbrPart) {
1652 if (gptPart >= numParts) {
1653 cout << "GPT partition " << gptPart + 1 << " is out of range; omitting it.\n";
1656 if (allOK && (partitions[gptPart].GetLastLBA() == UINT64_C(0))) {
1657 cout << "GPT partition " << gptPart + 1 << " is undefined; omitting it.\n";
1660 if (allOK && (partitions[gptPart].GetFirstLBA() <= UINT32_MAX) &&
1661 (partitions[gptPart].GetLengthLBA() <= UINT32_MAX)) {
1662 if (partitions[gptPart].GetLastLBA() > UINT32_MAX) {
1666 protectiveMBR.MakePart(mbrPart, (uint32_t) partitions[gptPart].GetFirstLBA(),
1667 (uint32_t) partitions[gptPart].GetLengthLBA(),
1668 partitions[gptPart].GetHexType() / 256, 0);
1671 cout << "Partition " << gptPart + 1 << " begins beyond the 32-bit pointer limit of MBR "
1692 GPTPart* newParts;
1711 newParts = new GPTPart [numEntries];
1822 GPTPart temp;
2355 const GPTPart & GPTData::operator[](uint32_t partNum) const {
2457 if (sizeof(GPTPart) != 128) {
2458 cerr << "GPTPart is " << sizeof(GPTPart) << " bytes, should be 128 bytes; aborting!\n";