Home
last modified time | relevance | path

Searched refs:numParts (Results 1 – 9 of 9) sorted by relevance

/external/gptfdisk/
Dgpt.cc81 mainHeader.numParts = 0; in GPTData()
82 numParts = 0; in GPTData()
105 mainHeader.numParts = 0; in GPTData()
106 numParts = 0; in GPTData()
123 numParts = orig.numParts; in operator =()
144 partitions = new GPTPart [numParts]; in operator =()
150 for (i = 0; i < numParts; i++) { in operator =()
252 if (mainHeader.numParts != secondHeader.numParts) { in Verify()
254 cout << "\nProblem: main GPT header's number of partitions (" << mainHeader.numParts in Verify()
256 << secondHeader.numParts << ")\n" in Verify()
[all …]
Dbsd.cc32 numParts = 0; in BSDData()
120 numParts = *temp16; in ReadBSDData()
128 if (foundSig && (numParts <= MAX_BSD_PARTS) && allOK) { in ReadBSDData()
136 partitions = new struct BSDRecord[numParts * sizeof(struct BSDRecord)]; in ReadBSDData()
141 for (i = 0; i < numParts; i++) { in ReadBSDData()
165 for (i = 0; i < numParts; i++) { in ReadBSDData()
179 ReverseBytes(&numParts, 2); in ReverseMetaBytes()
188 for (i = 0; i < numParts; i++) { in DisplayBSDData()
234 if ((i < numParts) && (i >= 0) && (state == bsd) && (partitions != 0)) in GetType()
244 if ((i < numParts) && (i >= 0) && (state == bsd) && (partitions != 0)) in GetFirstSector()
[all …]
Dgpttext.cc165 cout << "Current partition table size is " << numParts << ".\n"; in ResizePartitionTable()
195 (firstFreePart < numParts)) { in CreatePartition()
201 prompt1 << "Partition number (" << firstFreePart + 1 << "-" << numParts in CreatePartition()
204 partNum = GetNumber(firstFreePart + 1, numParts, in CreatePartition()
240 if (firstFreePart >= numParts) in CreatePartition()
339 if (high >= numParts - 1) in SwapPartitions()
341 prompt << "New partition number (1-" << numParts in SwapPartitions()
343 partNum2 = GetNumber(1, numParts, high + 2, prompt.str()) - 1; in SwapPartitions()
502 for (i = 0; i < numParts; i++) { in XFormToMBR()
643 uint32_t numParts; in RecoveryMenu() local
[all …]
Dsgdisk.cc36 int numParts = 0; in android_dump() local
68 numParts = gptData.GetNumParts(); in android_dump()
69 for (int i = 0; i < numParts; i++) { in android_dump()
Dgpt.h55 uint32_t numParts; member
66 uint32_t numParts; // # of partitions the table can hold variable
164 uint32_t GetNumParts(void) {return mainHeader.numParts;} in GetNumParts()
Dgptcl.cc477 int numParts, allOK = 1, i, origPartNum; in BuildMBR() local
482 numParts = CountColons(argument) + 1; in BuildMBR()
483 if (numParts <= (4 - isHybrid)) { in BuildMBR()
485 for (i = 0; i < numParts; i++) { in BuildMBR()
Dbsd.h67 uint16_t numParts; // number of partitions in table variable
Dgptcurses.cc92 for (i = 0; i < numParts; i++) { in MakeSpacesFromParts()
/external/llvm/lib/Support/
DAPFloat.cpp623 unsigned numParts = partCount(); in makeNaN() local
626 if (!fill || fill->getNumWords() < numParts) in makeNaN()
627 APInt::tcSet(significand, 0, numParts); in makeNaN()
630 std::min(fill->getNumWords(), numParts)); in makeNaN()
637 for (part++; part != numParts; ++part) in makeNaN()
650 if (APInt::tcIsZero(significand, numParts)) in makeNaN()