Lines Matching refs:space
90 // unpartitioned space on the disk.
210 // Identify the spaces on the disk, a "space" being defined as a partition
225 // Returns a pointer to the space being displayed
227 Space *space;
233 space = firstSpace;
234 while ((space != NULL) && (i < spaceNum)) {
235 space = space->nextSpace;
238 if ((space != NULL) && (lineNum < (LINES - 5))) {
240 if (space->partNum == -1) { // space is empty
242 printw("%s", BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str());
244 printw("free space");
245 } else { // space holds a partition
247 printw("%d", space->partNum + 1);
249 printw("%s", BytesToIeee((space->lastLBA - space->firstLBA + 1), blockSize).c_str());
251 printw("%s", space->origPart->GetTypeName().c_str());
254 space->origPart->GetDescription().extract(0, 39, temp, 39);
257 printw("%s", space->origPart->GetDescription().c_str());
261 return space;
264 // Display the partitions, being sure that the space #selected is displayed
265 // and highlighting that space.
266 // Returns the number of the space being shown (should be selected, but will
281 if (i < numSpaces) { // real space; show it
431 // Create a new partition in the space pointed to by currentSpace.
570 // Change the currently-selected space....
616 if (currentSpace->partNum == -1) { // empty space is selected