Lines Matching refs:partNum
65 int partNum = 0, newPartNum = -1, saveNonGPT = 1, retval = 0, pretend = 0; in DoOptions() local
163 partNum = (int) GetInt(attributeOperation, 1) - 1; in DoOptions()
164 if (partNum < 0) in DoOptions()
165 partNum = newPartNum; in DoOptions()
166 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
167 switch (ManageAttributes(partNum, GetString(attributeOperation, 2), in DoOptions()
181 cerr << "Error: Invalid partition number " << partNum + 1 << "\n"; in DoOptions()
198 partNum = (int) GetInt(partName, 1) - 1; in DoOptions()
199 if (partNum < 0) in DoOptions()
200 partNum = newPartNum; in DoOptions()
201 cout << "partNum is " << partNum << "\n"; in DoOptions()
202 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
205 if (SetName(partNum, (UnicodeString) name.c_str())) { in DoOptions()
208 cerr << "Unable to set partition " << partNum + 1 in DoOptions()
363 partNum = (int) GetInt(typeCode, 1) - 1; in DoOptions()
364 if (partNum < 0) in DoOptions()
365 partNum = newPartNum; in DoOptions()
366 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
369 (ChangePartType(partNum, typeHelper))) { in DoOptions()
372 cerr << "Could not change partition " << partNum + 1 in DoOptions()
387 partNum = (int) GetInt(partGUID, 1) - 1; in DoOptions()
388 if (partNum < 0) in DoOptions()
389 partNum = newPartNum; in DoOptions()
390 if ((partNum >= 0) && (partNum < (int) GetNumParts())) { in DoOptions()
391 SetPartitionGUID(partNum, GetString(partGUID, 2).c_str()); in DoOptions()