Lines Matching refs:partitions
98 if (partitions[i].IsUsed()) { in MakeSpacesFromParts()
100 tempSpace->firstLBA = partitions[i].GetFirstLBA(); in MakeSpacesFromParts()
101 tempSpace->lastLBA = partitions[i].GetLastLBA(); in MakeSpacesFromParts()
102 tempSpace->origPart = &partitions[i]; in MakeSpacesFromParts()
333 printw("Partition GUID code: %s (%s)\n", partitions[partNum].GetType().AsString().c_str(), in ShowInfo()
334 partitions[partNum].GetTypeName().c_str()); in ShowInfo()
335 printw("Partition unique GUID: %s\n", partitions[partNum].GetUniqueGUID().AsString().c_str()); in ShowInfo()
336 printw("First sector: %lld (at %s)\n", partitions[partNum].GetFirstLBA(), in ShowInfo()
337 BytesToIeee(partitions[partNum].GetFirstLBA(), blockSize).c_str()); in ShowInfo()
338 printw("Last sector: %lld (at %s)\n", partitions[partNum].GetLastLBA(), in ShowInfo()
339 BytesToIeee(partitions[partNum].GetLastLBA(), blockSize).c_str()); in ShowInfo()
340 size = partitions[partNum].GetLastLBA() - partitions[partNum].GetFirstLBA() + 1; in ShowInfo()
342 printw("Attribute flags: %016x\n", partitions[partNum].GetAttributes().GetAttributes()); in ShowInfo()
344 partitions[partNum].GetDescription().extract(0, NAME_SIZE , temp, NAME_SIZE ); in ShowInfo()
347 printw("Partition name: '%s'\n", partitions[partNum].GetDescription().c_str()); in ShowInfo()
361 partitions[partNum].GetDescription().extract(0, NAME_SIZE , temp, NAME_SIZE ); in ChangeName()
364 printw("Current partition name is '%s'\n", partitions[partNum].GetDescription().c_str()); in ChangeName()
369 partitions[partNum].SetName((string) temp); in ChangeName()
384 …printw("Current type is %04x (%s)\n", partitions[partNum].GetType().GetHexType(), partitions[partN… in ChangeType()
385 …printw("Hex code or GUID (L to show codes, Enter = %04x): ", partitions[partNum].GetType().GetHexT… in ChangeType()
391 tempType = partitions[partNum].GetType().GetHexType(); in ChangeType()
393 partitions[partNum].SetType(tempType); in ChangeType()
395 …} while ((temp[0] == 'L') || (temp[0] == 'l') || (partitions[partNum].GetType() == (GUIDData) "0x0… in ChangeType()