Home
last modified time | relevance | path

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

/external/gptfdisk/
Dgpttext.cc350 int partNum1, partNum2, didIt = 0; in SwapPartitions() local
356 partNum1 = GetPartNum(); in SwapPartitions()
362 didIt = GPTData::SwapPartitions(partNum1, partNum2); in SwapPartitions()
Dgpt.h152 int SwapPartitions(uint32_t partNum1, uint32_t partNum2);
Dgpt.cc1959 int GPTData::SwapPartitions(uint32_t partNum1, uint32_t partNum2) { in SwapPartitions() argument
1963 if ((partNum1 < numParts) && (partNum2 < numParts)) { in SwapPartitions()
1964 if (partNum1 != partNum2) { in SwapPartitions()
1965 temp = partitions[partNum1]; in SwapPartitions()
1966 partitions[partNum1] = partitions[partNum2]; in SwapPartitions()