Searched defs:origPartNum (Results 1 - 1 of 1) sorted by relevance

/external/gptfdisk/
H A Dgptcl.cc477 int numParts, allOK = 1, i, origPartNum; local
486 origPartNum = GetInt(argument, i + 1) - 1;
487 if (IsUsedPartNum(origPartNum) && (partitions[origPartNum].IsSizedForMBR() == MBR_SIZED_GOOD)) {
489 newPart.SetLocation(operator[](origPartNum).GetFirstLBA(),
490 operator[](origPartNum).GetLengthLBA());
492 newPart.SetType((uint8_t)(operator[](origPartNum).GetHexType() / 0x0100));
495 cerr << "Original partition " << origPartNum + 1 << " does not exist or is too big! Aborting operation!\n"; local

Completed in 45 milliseconds