Home
last modified time | relevance | path

Searched refs:TotalLength (Results 1 – 8 of 8) sorted by relevance

/external/clang/lib/Format/
DUnwrappedLineFormatter.cpp184 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne()
186 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne()
256 if (1 + I[1]->Last->TotalLength > Limit) in tryMergeSimplePPDirective()
276 if (1 + I[1]->Last->TotalLength > Limit) in tryMergeSimpleControlStatement()
310 Length += I[1 + NumStmts]->Last->TotalLength + 1; // 1 for the space. in tryMergeShortCaseLabels()
420 return 1 + I[1]->Last->TotalLength + 1 + I[2]->Last->TotalLength <= Limit; in nextTwoLinesFitInto()
439 unsigned LengthA = A.Last->TotalLength + B.First->SpacesRequiredBefore; in join()
441 Tok->TotalLength += LengthA; in join()
547 Previous.Children[0]->Last->TotalLength + State.Column + 2 > in formatChildren()
559 State.Column += 1 + Previous.Children[0]->Last->TotalLength; in formatChildren()
[all …]
DFormatToken.cpp141 assert(End->TotalLength >= Begin->TotalLength); in CodePointsBetween()
142 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
DContinuationIndenter.cpp38 return End->TotalLength - Tok.TotalLength + 1; in getLengthToMatchingParen()
162 (State.Column + State.Line->Last->TotalLength - Current.TotalLength + 2 > in mustBreak()
354 (Previous.TotalLength - Previous.MatchingParen->TotalLength > 10))) { in addTokenOnCurrentLine()
DTokenAnnotator.cpp1595 Line.First->TotalLength = in calculateFormattingInformation()
1649 : LastOfChild.TotalLength + 1; in calculateFormattingInformation()
1656 Current->TotalLength = Prev->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
1658 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
2384 << " L=" << Tok->TotalLength << " PPK=" << Tok->PackingKind in printDebugInfo()
DFormatToken.h203 unsigned TotalLength = 0; member
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp25 TotalLength = Version = PrologueLength = 0; in clear()
36 << format(" total_length: 0x%8.8" PRIx64 "\n", TotalLength) in dump()
74 TotalLength = debug_line_data.getU32(offset_ptr); in parse()
75 if (TotalLength == UINT32_MAX) { in parse()
77 TotalLength = debug_line_data.getU64(offset_ptr); in parse()
78 } else if (TotalLength > 0xffffff00) { in parse()
269 const uint32_t end_offset = debug_line_offset + Prologue.TotalLength + in parse()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h41 uint64_t TotalLength; member
81 return TotalLength + sizeofTotalLength() - getLength(); in getStatementTableLength()
/external/llvm/lib/MC/
DMCAssembler.cpp662 unsigned TotalLength = BundlePadding + static_cast<unsigned>(FSize); in writeFragmentPadding() local
663 if (F.alignToBundleEnd() && TotalLength > getBundleAlignSize()) { in writeFragmentPadding()
672 unsigned DistanceToBoundary = TotalLength - getBundleAlignSize(); in writeFragmentPadding()