Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/DebugInfo/
DDWARFDebugLine.h35 : TotalLength(0), Version(0), PrologueLength(0), MinInstLength(0), in Prologue()
40 uint32_t TotalLength; member
64 return PrologueLength + sizeof(TotalLength) + sizeof(Version) + in getLength()
69 return TotalLength + sizeof(TotalLength) - getLength(); in getStatementTableLength()
76 TotalLength = Version = PrologueLength = 0; in clear()
DDWARFDebugLine.cpp20 << format(" total_length: 0x%8.8x\n", TotalLength) in dump()
137 prologue->TotalLength = debug_line_data.getU32(offset_ptr); in parsePrologue()
199 const uint32_t end_offset = debug_line_offset + prologue->TotalLength + in parseStatementTable()
200 sizeof(prologue->TotalLength); in parseStatementTable()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ObjectYAML/
DDWARFYAML.h29 uint32_t TotalLength; member
32 bool isDWARF64() const { return TotalLength == UINT32_MAX; } in isDWARF64()
35 return isDWARF64() ? TotalLength64 : TotalLength; in getLength()
41 TotalLength = UINT32_MAX; in setLength()
43 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/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugLine.cpp70 TotalLength = PrologueLength = 0; in clear()
84 << format(" total_length: 0x%8.8" PRIx64 "\n", TotalLength) in dump()
301 TotalLength = DebugLineData.getU32(OffsetPtr); in parse()
302 if (TotalLength == UINT32_MAX) { in parse()
304 TotalLength = DebugLineData.getU64(OffsetPtr); in parse()
305 } else if (TotalLength >= 0xffffff00) { in parse()
309 PrologueOffset, TotalLength); in parse()
510 DebugLineOffset + Prologue.TotalLength + Prologue.sizeofTotalLength(); in parse()
1074 return TotalLength == 0xffffffff || TotalLength < 0xffffff00; in totalLengthIsValid()
1123 Offset = OldOffset + P.TotalLength + P.sizeofTotalLength(); in moveToNextTable()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.cpp155 P.TotalLength = 41; in createBasicPrologue()
159 P.TotalLength = 42; in createBasicPrologue()
163 P.TotalLength = 47; in createBasicPrologue()
171 P.TotalLength += 4; in createBasicPrologue()
288 Asm.emitInt64(Prologue->TotalLength); in writePrologue()
290 Asm.emitInt32(Prologue->TotalLength); in writePrologue()
DDWARFDebugLineTest.cpp178 EXPECT_EQ(Prologue.TotalLength, UnitLength); in checkDefaultPrologue()
257 Expected->Prologue.sizeofTotalLength() + Expected->Prologue.TotalLength; in TEST_P()
366 Prologue.TotalLength + 1 + Prologue.sizeofTotalLength(); in TEST_P()
395 Prologue.TotalLength - 1 + Prologue.sizeofTotalLength(); in TEST_P()
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h41 uint64_t TotalLength; member
81 return TotalLength + sizeofTotalLength() - getLength(); in getStatementTableLength()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugLine.h68 uint64_t TotalLength; member
118 return TotalLength + sizeofTotalLength() - getLength(); in getStatementTableLength()
/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-7.0/llvm/lib/MC/
DMCAssembler.cpp466 unsigned TotalLength = BundlePadding + static_cast<unsigned>(FSize); in writeFragmentPadding() local
467 if (EF.alignToBundleEnd() && TotalLength > getBundleAlignSize()) { in writeFragmentPadding()
476 unsigned DistanceToBoundary = TotalLength - getBundleAlignSize(); in writeFragmentPadding()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ObjectYAML/
DDWARFYAML.cpp169 IO.mapRequired("TotalLength", InitialLength.TotalLength); in mapping()
DDWARFEmitter.cpp67 writeInteger((uint32_t)Length.TotalLength, OS, IsLittleEndian); in writeInitialLength()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/
Ddwarf2yaml.cpp22 InitialLength.TotalLength = Data.getU32(&Offset); in dumpInitialLength()