Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpttext.cc366 int partNum1, partNum2, didIt = 0; in SwapPartitions() local
377 partNum2 = GetNumber(1, numParts, high + 2, prompt.str()) - 1; in SwapPartitions()
378 didIt = GPTData::SwapPartitions(partNum1, partNum2); in SwapPartitions()
Dgpt.h150 int SwapPartitions(uint32_t partNum1, uint32_t partNum2);
Dgpt.cc1989 int GPTData::SwapPartitions(uint32_t partNum1, uint32_t partNum2) { in SwapPartitions() argument
1993 if ((partNum1 < numParts) && (partNum2 < numParts)) { in SwapPartitions()
1994 if (partNum1 != partNum2) { in SwapPartitions()
1996 partitions[partNum1] = partitions[partNum2]; in SwapPartitions()
1997 partitions[partNum2] = temp; in SwapPartitions()