Lines Matching refs:partNum
65 int partNum = 0, newPartNum = -1, saveNonGPT = 1, retval = 0, pretend = 0; in DoOptions() local
162 partNum = (int) GetInt(attributeOperation, 1) - 1; in DoOptions()
163 if (partNum < 0) in DoOptions()
164 partNum = newPartNum; in DoOptions()
165 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
166 switch (ManageAttributes(partNum, GetString(attributeOperation, 2), in DoOptions()
180 cerr << "Error: Invalid partition number " << partNum + 1 << "\n"; in DoOptions()
197 partNum = (int) GetInt(partName, 1) - 1; in DoOptions()
198 if (partNum < 0) in DoOptions()
199 partNum = newPartNum; in DoOptions()
200 cout << "partNum is " << partNum << "\n"; in DoOptions()
201 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
204 if (SetName(partNum, (UnicodeString) name.c_str())) { in DoOptions()
207 cerr << "Unable to set partition " << partNum + 1 in DoOptions()
359 partNum = (int) GetInt(typeCode, 1) - 1; in DoOptions()
360 if (partNum < 0) in DoOptions()
361 partNum = newPartNum; in DoOptions()
362 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
365 (ChangePartType(partNum, typeHelper))) { in DoOptions()
368 cerr << "Could not change partition " << partNum + 1 in DoOptions()
383 partNum = (int) GetInt(partGUID, 1) - 1; in DoOptions()
384 if (partNum < 0) in DoOptions()
385 partNum = newPartNum; in DoOptions()
386 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
387 SetPartitionGUID(partNum, GetString(partGUID, 2).c_str()); in DoOptions()