Home
last modified time | relevance | path

Searched refs:TotalLength (Results 1 – 25 of 25) 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.cpp142 assert(End->TotalLength >= Begin->TotalLength); in CodePointsBetween()
143 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
DContinuationIndenter.cpp38 return End->TotalLength - Tok.TotalLength + 1; in getLengthToMatchingParen()
44 return Tok.NextOperator->TotalLength - Tok.TotalLength; in getLengthToNextOperator()
175 (State.Column + State.Line->Last->TotalLength - Current.TotalLength + 2 > in mustBreak()
386 (Previous.TotalLength - Previous.MatchingParen->TotalLength > 10))) { in addTokenOnCurrentLine()
DTokenAnnotator.cpp1695 Line.First->TotalLength = in calculateFormattingInformation()
1749 : LastOfChild.TotalLength + 1; in calculateFormattingInformation()
1756 Current->TotalLength = Prev->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
1758 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
2521 << " L=" << Tok->TotalLength << " PPK=" << Tok->PackingKind in printDebugInfo()
DFormatToken.h204 unsigned TotalLength = 0; member
/external/llvm-project/clang/lib/Format/
DUnwrappedLineFormatter.cpp220 Limit = TheLine->Last->TotalLength > Limit in tryFitMultipleLinesInOne()
222 : Limit - TheLine->Last->TotalLength; in tryFitMultipleLinesInOne()
269 I[i + 1]->Last->TotalLength < Limit; in tryFitMultipleLinesInOne()
274 Limit -= I[i + 1]->Last->TotalLength; in tryFitMultipleLinesInOne()
322 TheLine->Last->TotalLength <= Style.ColumnLimit) in tryFitMultipleLinesInOne()
342 TheLine->Last->TotalLength <= Style.ColumnLimit) in tryFitMultipleLinesInOne()
420 if (1 + I[1]->Last->TotalLength > Limit) in tryMergeSimplePPDirective()
445 if (1 + I[1]->Last->TotalLength > Limit) in tryMergeSimpleControlStatement()
502 Length += I[1 + NumStmts]->Last->TotalLength + 1; // 1 for the space. in tryMergeShortCaseLabels()
677 return 1 + I[1]->Last->TotalLength + 1 + I[2]->Last->TotalLength <= Limit; in nextTwoLinesFitInto()
[all …]
DFormatToken.cpp149 assert(End->TotalLength >= Begin->TotalLength); in CodePointsBetween()
150 return End->TotalLength - Begin->TotalLength + Begin->ColumnWidth; in CodePointsBetween()
DContinuationIndenter.cpp104 return End->TotalLength - Tok.TotalLength + 1; in getLengthToMatchingParen()
110 return Tok.NextOperator->TotalLength - Tok.TotalLength; in getLengthToNextOperator()
390 (State.Column + State.Line->Last->TotalLength - Previous.TotalLength > in mustBreak()
667 (Previous.TotalLength - Previous.MatchingParen->TotalLength > 10))) in addTokenOnCurrentLine()
1604 CurrentScopeOpener.TotalLength - Current.TotalLength - 1; in moveStatePastScopeCloser()
DTokenAnnotator.cpp2471 Line.First->TotalLength = in calculateFormattingInformation()
2525 : LastOfChild.TotalLength + 1; in calculateFormattingInformation()
2532 Current->TotalLength = Prev->TotalLength + Style.ColumnLimit; in calculateFormattingInformation()
2534 Current->TotalLength = Prev->TotalLength + Current->ColumnWidth + in calculateFormattingInformation()
4102 << " Name=" << Tok->Tok.getName() << " L=" << Tok->TotalLength in printDebugInfo()
DFormatToken.h367 unsigned TotalLength = 0; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h28 uint32_t TotalLength; member
31 bool isDWARF64() const { return TotalLength == UINT32_MAX; } in isDWARF64()
34 return isDWARF64() ? TotalLength64 : TotalLength; in getLength()
40 TotalLength = UINT32_MAX; in setLength()
42 TotalLength = Len; in setLength()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp23 TotalLength = Version = PrologueLength = 0; in clear()
34 << format(" total_length: 0x%8.8" PRIx64 "\n", TotalLength) in dump()
72 TotalLength = debug_line_data.getU32(offset_ptr); in parse()
73 if (TotalLength == UINT32_MAX) { in parse()
75 TotalLength = debug_line_data.getU64(offset_ptr); in parse()
76 } else if (TotalLength > 0xffffff00) { in parse()
260 debug_line_offset + Prologue.TotalLength + Prologue.sizeofTotalLength(); in parse()
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.cpp163 P.TotalLength = 41; in createBasicPrologue()
167 P.TotalLength = 42; in createBasicPrologue()
171 P.TotalLength = 50; in createBasicPrologue()
179 P.TotalLength += 4; in createBasicPrologue()
182 P.TotalLength += getContentsSize(); in createBasicPrologue()
315 Asm.emitInt64(Prologue->TotalLength); in writePrologue()
317 Asm.emitInt32(Prologue->TotalLength); in writePrologue()
DDWARFDebugLineTest.cpp162 EXPECT_EQ(Prologue.TotalLength, UnitLength); in checkDefaultPrologue()
280 Expected->Prologue.sizeofTotalLength() + Expected->Prologue.TotalLength; in TEST_P()
422 Prologue.TotalLength + 1 + Prologue.sizeofTotalLength(); in TEST_P()
461 uint64_t ExpectedEnd = Prologue.TotalLength + Prologue.sizeofTotalLength() - in TEST_P()
559 ++Prologue.TotalLength; in TEST_F()
940 return Prologue.TotalLength + Prologue.sizeofTotalLength(); in editPrologue()
969 return Prologue.TotalLength + Prologue.sizeofTotalLength(); in editPrologue()
1011 return Prologue.TotalLength + Prologue.sizeofTotalLength(); in editPrologue()
1283 Prologue.TotalLength += 2; in TEST_F()
1518 Prologue.TotalLength += BodyLength + 1; in setupTable()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp89 TotalLength = PrologueLength = 0; in clear()
103 << format(" total_length: 0x%8.8" PRIx64 "\n", TotalLength) in dump()
307 TotalLength = DebugLineData.getRelocatedValue(4, OffsetPtr); in parse()
308 if (TotalLength == dwarf::DW_LENGTH_DWARF64) { in parse()
310 TotalLength = DebugLineData.getU64(OffsetPtr); in parse()
311 } else if (TotalLength >= dwarf::DW_LENGTH_lo_reserved) { in parse()
315 PrologueOffset, TotalLength); in parse()
529 uint64_t ProgramLength = Prologue.TotalLength + Prologue.sizeofTotalLength(); in parse()
1134 return TotalLength == dwarf::DW_LENGTH_DWARF64 || in totalLengthIsValid()
1135 TotalLength < dwarf::DW_LENGTH_lo_reserved; in totalLengthIsValid()
[all …]
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h41 uint64_t TotalLength; member
81 return TotalLength + sizeofTotalLength() - getLength(); in getStatementTableLength()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h68 uint64_t TotalLength; member
118 return TotalLength + sizeofTotalLength() - getLength(); in getStatementTableLength()
/external/llvm-project/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp106 TotalLength = PrologueLength = 0; in clear()
124 TotalLength) in dump()
367 std::tie(TotalLength, FormParams.Format) = in parse()
371 DWARFDataExtractor(DebugLineData, Cursor.tell() + TotalLength); in parse()
751 uint64_t ProgramLength = Prologue.TotalLength + Prologue.sizeofTotalLength(); in parse()
1441 return TotalLength != 0u; in totalLengthIsValid()
1493 Offset = OldOffset + P.TotalLength + P.sizeofTotalLength(); in moveToNextTable()
/external/llvm/lib/MC/
DMCAssembler.cpp398 unsigned TotalLength = BundlePadding + static_cast<unsigned>(FSize); in writeFragmentPadding() local
399 if (F.alignToBundleEnd() && TotalLength > getBundleAlignSize()) { in writeFragmentPadding()
408 unsigned DistanceToBoundary = TotalLength - getBundleAlignSize(); in writeFragmentPadding()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAssembler.cpp475 unsigned TotalLength = BundlePadding + static_cast<unsigned>(FSize); in writeFragmentPadding() local
476 if (EF.alignToBundleEnd() && TotalLength > getBundleAlignSize()) { in writeFragmentPadding()
485 unsigned DistanceToBoundary = TotalLength - getBundleAlignSize(); in writeFragmentPadding()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DDWARFYAML.cpp168 IO.mapRequired("TotalLength", InitialLength.TotalLength); in mapping()
DDWARFEmitter.cpp66 writeInteger((uint32_t)Length.TotalLength, OS, IsLittleEndian); in writeInitialLength()
/external/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h68 uint64_t TotalLength; member
/external/llvm-project/llvm/lib/MC/
DMCAssembler.cpp483 unsigned TotalLength = BundlePadding + static_cast<unsigned>(FSize); in writeFragmentPadding() local
484 if (EF.alignToBundleEnd() && TotalLength > getBundleAlignSize()) { in writeFragmentPadding()
493 unsigned DistanceToBoundary = TotalLength - getBundleAlignSize(); in writeFragmentPadding()
/external/llvm-project/clang/lib/Serialization/
DASTReader.cpp8997 unsigned TotalLength = asImpl().readUInt32(); in readAPValue() local
8998 Result.MakeArray(InitLength, TotalLength); in readAPValue()