Home
last modified time | relevance | path

Searched refs:IndentLevel (Results 1 – 25 of 61) sorted by relevance

123

/external/clang/lib/Format/
DBreakableToken.h75 BreakableToken(const FormatToken &Tok, unsigned IndentLevel, in BreakableToken() argument
78 : Tok(Tok), IndentLevel(IndentLevel), InPPDirective(InPPDirective), in BreakableToken()
82 const unsigned IndentLevel; variable
98 BreakableSingleLineToken(const FormatToken &Tok, unsigned IndentLevel,
120 BreakableStringLiteral(const FormatToken &Tok, unsigned IndentLevel,
139 BreakableLineComment(const FormatToken &Token, unsigned IndentLevel,
165 BreakableBlockComment(const FormatToken &Token, unsigned IndentLevel,
DWhitespaceManager.h50 unsigned IndentLevel, unsigned Spaces,
78 unsigned Newlines, unsigned IndentLevel,
109 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn,
134 unsigned IndentLevel; member
202 void appendIndentText(std::string &Text, unsigned IndentLevel,
DBreakableToken.cpp145 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, in BreakableSingleLineToken() argument
148 : BreakableToken(Tok, IndentLevel, InPPDirective, Encoding, Style), in BreakableSingleLineToken()
156 const FormatToken &Tok, unsigned IndentLevel, unsigned StartColumn, in BreakableStringLiteral() argument
159 : BreakableSingleLineToken(Tok, IndentLevel, StartColumn, Prefix, Postfix, in BreakableStringLiteral()
182 Prefix, InPPDirective, 1, IndentLevel, LeadingSpaces); in insertBreak()
201 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, in BreakableLineComment() argument
203 : BreakableSingleLineToken(Token, IndentLevel, StartColumn, in BreakableLineComment()
230 Postfix, Prefix, InPPDirective, /*Newlines=*/1, IndentLevel, StartColumn); in insertBreak()
253 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, in BreakableBlockComment() argument
256 : BreakableToken(Token, IndentLevel, InPPDirective, Encoding, Style) { in BreakableBlockComment()
[all …]
DWhitespaceManager.cpp30 unsigned IndentLevel, int Spaces, unsigned StartOfTokenColumn, in Change() argument
40 IsStartOfDeclName(IsStartOfDeclName), IndentLevel(IndentLevel), in Change()
51 unsigned IndentLevel, unsigned Spaces, in replaceWhitespace() argument
58 Change(/*CreateReplacement=*/true, Tok.WhitespaceRange, IndentLevel, in replaceWhitespace()
80 unsigned Newlines, unsigned IndentLevel, int Spaces) { in replaceWhitespaceInToken() argument
86 IndentLevel, Spaces, std::max(0, Spaces), Newlines, PreviousPostfix, in replaceWhitespaceInToken()
489 appendIndentText(ReplacementText, C.IndentLevel, std::max(0, C.Spaces), in generateChanges()
530 unsigned IndentLevel, unsigned Spaces, in appendIndentText() argument
550 unsigned Indentation = IndentLevel * Style.IndentWidth; in appendIndentText()
DContinuationIndenter.h149 ParenState(unsigned Indent, unsigned IndentLevel, unsigned LastSpace, in ParenState()
151 : Indent(Indent), IndentLevel(IndentLevel), LastSpace(LastSpace), in ParenState()
164 unsigned IndentLevel; member
/external/llvm-project/llvm/tools/llvm-pdbutil/
DLinePrinter.h96 explicit PrintScope(LinePrinter &P, uint32_t IndentLevel) in PrintScope()
97 : P(P), IndentLevel(IndentLevel) {} in PrintScope()
99 : P(Other.P), IndentLevel(Other.IndentLevel), LabelWidth(LabelWidth) {} in PrintScope()
102 uint32_t IndentLevel; member
121 Amount = Scope->IndentLevel; in AutoIndent()
DFormatUtil.cpp74 uint32_t IndentLevel, uint32_t GroupSize, in typesetItemList() argument
85 Result += std::string(formatv("{0}", fmt_repeat(' ', IndentLevel))); in typesetItemList()
91 std::string llvm::pdb::typesetStringList(uint32_t IndentLevel, in typesetStringList() argument
95 Result += std::string(formatv("\n{0}{1}", fmt_repeat(' ', IndentLevel), S)); in typesetStringList()
187 std::string llvm::pdb::formatSectionCharacteristics(uint32_t IndentLevel, in formatSectionCharacteristics() argument
256 return typesetItemList(Opts, IndentLevel, FlagsPerLine, Separator); in formatSectionCharacteristics()
DMinimalSymbolDumper.cpp28 static std::string formatLocalSymFlags(uint32_t IndentLevel, in formatLocalSymFlags() argument
45 return typesetItemList(Opts, 4, IndentLevel, " | "); in formatLocalSymFlags()
48 static std::string formatExportFlags(uint32_t IndentLevel, ExportFlags Flags) { in formatExportFlags() argument
60 return typesetItemList(Opts, 4, IndentLevel, " | "); in formatExportFlags()
63 static std::string formatCompileSym2Flags(uint32_t IndentLevel, in formatCompileSym2Flags() argument
79 return typesetItemList(Opts, 4, IndentLevel, " | "); in formatCompileSym2Flags()
82 static std::string formatCompileSym3Flags(uint32_t IndentLevel, in formatCompileSym3Flags() argument
102 return typesetItemList(Opts, 4, IndentLevel, " | "); in formatCompileSym3Flags()
105 static std::string formatFrameProcedureOptions(uint32_t IndentLevel, in formatFrameProcedureOptions() argument
135 return typesetItemList(Opts, 4, IndentLevel, " | "); in formatFrameProcedureOptions()
[all …]
DFormatUtil.h56 uint32_t IndentLevel, uint32_t C, uint32_t FlagsPerLine,
60 std::string typesetItemList(ArrayRef<std::string> Opts, uint32_t IndentLevel,
63 std::string typesetStringList(uint32_t IndentLevel,
DBytesOutputStyle.cpp325 uint32_t Digits, uint32_t IndentLevel, in iterateOneModule() argument
339 AutoIndent Indent2(P, IndentLevel); in iterateOneModule()
354 static void iterateModules(PDBFile &File, LinePrinter &P, uint32_t IndentLevel, in iterateModules() argument
369 iterateOneModule(File, P, Modules, opts::bytes::ModuleIndex, 1, IndentLevel, in iterateModules()
375 iterateOneModule(File, P, Modules, I, Digits, IndentLevel, Callback); in iterateModules()
/external/llvm-project/llvm/utils/TableGen/
DPredicateExpander.h31 unsigned IndentLevel; variable
40 IndentLevel(1U), TargetName(Target) {} in PredicateExpander()
44 unsigned getIndentLevel() const { return IndentLevel; } in getIndentLevel()
51 void setIndentLevel(unsigned Level) { IndentLevel = Level; } in setIndentLevel()
52 void increaseIndentLevel() { ++IndentLevel; } in increaseIndentLevel()
53 void decreaseIndentLevel() { --IndentLevel; } in decreaseIndentLevel()
DPredicateExpander.cpp429 unsigned IndentLevel = getIndentLevel(); in expandPrologue() local
431 OS.indent(IndentLevel * 2); in expandPrologue()
438 OS.indent((1 + IndentLevel) * 2); in expandPrologue()
445 OS.indent(IndentLevel * 2); in expandPrologue()
493 unsigned IndentLevel = getIndentLevel(); in expandBody() local
494 OS.indent(IndentLevel * 2); in expandBody()
496 OS.indent(IndentLevel * 2); in expandBody()
498 OS.indent(IndentLevel * 2); in expandBody()
504 OS.indent(IndentLevel * 2); in expandBody()
517 OS.indent(IndentLevel * 2); in expandBody()
/external/python/cpython2/Tools/bgen/bgen/
DbgenOutput.py79 def IndentLevel(by = 1): function
94 IndentLevel(-by)
102 IndentLevel()
122 IndentLevel()
203 IndentLevel()
DbgenObjectDefinition.py51 IndentLevel()
193 IndentLevel()
271 IndentLevel()
338 IndentLevel()
DbgenGeneratorGroup.py22 IndentLevel()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormat.h211 uint32_t IndentLevel; // Number of characters to indent each line.
221 : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
232 uint32_t IndentLevel = 0, bool Upper = false) {
233 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
241 uint32_t IndentLevel = 0, bool Upper = false) {
242 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
/external/llvm-project/llvm/include/llvm/Support/
DFormat.h220 uint32_t IndentLevel; // Number of characters to indent each line.
230 : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
241 uint32_t IndentLevel = 0, bool Upper = false) {
242 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
250 uint32_t IndentLevel = 0, bool Upper = false) {
251 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
DScopedPrinter.h70 ScopedPrinter(raw_ostream &OS) : OS(OS), IndentLevel(0) {} in ScopedPrinter()
74 void indent(int Levels = 1) { IndentLevel += Levels; }
77 IndentLevel = std::max(0, IndentLevel - Levels);
80 void resetIndent() { IndentLevel = 0; } in resetIndent()
82 int getIndentLevel() { return IndentLevel; } in getIndentLevel()
88 for (int i = 0; i < IndentLevel; ++i) in printIndent()
349 int IndentLevel; variable
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormat.h220 uint32_t IndentLevel; // Number of characters to indent each line.
230 : Bytes(B), FirstByteOffset(O), IndentLevel(IL), NumPerLine(NPL),
241 uint32_t IndentLevel = 0, bool Upper = false) {
242 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
250 uint32_t IndentLevel = 0, bool Upper = false) {
251 return FormattedBytes(Bytes, IndentLevel, FirstByteOffset, NumPerLine,
DScopedPrinter.h70 ScopedPrinter(raw_ostream &OS) : OS(OS), IndentLevel(0) {} in ScopedPrinter()
74 void indent(int Levels = 1) { IndentLevel += Levels; }
77 IndentLevel = std::max(0, IndentLevel - Levels);
80 void resetIndent() { IndentLevel = 0; } in resetIndent()
82 int getIndentLevel() { return IndentLevel; } in getIndentLevel()
88 for (int i = 0; i < IndentLevel; ++i) in printIndent()
349 int IndentLevel; variable
/external/llvm/include/llvm/Support/
DScopedPrinter.h71 ScopedPrinter(raw_ostream &OS) : OS(OS), IndentLevel(0) {} in ScopedPrinter()
75 void indent(int Levels = 1) { IndentLevel += Levels; }
78 IndentLevel = std::max(0, IndentLevel - Levels);
81 void resetIndent() { IndentLevel = 0; } in resetIndent()
87 for (int i = 0; i < IndentLevel; ++i) in printIndent()
339 int IndentLevel; variable
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DPlistDiagnostics.cpp492 unsigned IndentLevel = InputIndentLevel; in printCoverage() local
494 Indent(o, IndentLevel) << "<key>ExecutedLines</key>\n"; in printCoverage()
495 Indent(o, IndentLevel) << "<dict>\n"; in printCoverage()
496 IndentLevel++; in printCoverage()
502 Indent(o, IndentLevel) << "<key>" << FileKey << "</key>\n"; in printCoverage()
503 Indent(o, IndentLevel) << "<array>\n"; in printCoverage()
504 IndentLevel++; in printCoverage()
506 Indent(o, IndentLevel); in printCoverage()
509 IndentLevel--; in printCoverage()
510 Indent(o, IndentLevel) << "</array>\n"; in printCoverage()
[all …]
/external/llvm-project/clang/lib/Format/
DWhitespaceManager.h170 return std::make_tuple(Tok->IndentLevel, Tok->NestingLevel, in indentAndNestingLevel()
219 void appendIndentText(std::string &Text, unsigned IndentLevel,
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp3124 CharUnits Offset, unsigned IndentLevel) { in PrintOffset() argument
3126 OS.indent(IndentLevel * 2); in PrintOffset()
3131 unsigned IndentLevel) { in PrintBitFieldOffset() argument
3144 OS.indent(IndentLevel * 2); in PrintBitFieldOffset()
3147 static void PrintIndentNoOffset(raw_ostream &OS, unsigned IndentLevel) { in PrintIndentNoOffset() argument
3149 OS.indent(IndentLevel * 2); in PrintIndentNoOffset()
3155 unsigned IndentLevel, in DumpRecordLayout() argument
3162 PrintOffset(OS, Offset, IndentLevel); in DumpRecordLayout()
3170 IndentLevel++; in DumpRecordLayout()
3180 PrintOffset(OS, Offset, IndentLevel); in DumpRecordLayout()
[all …]
/external/llvm-project/clang/lib/AST/
DRecordLayoutBuilder.cpp3413 CharUnits Offset, unsigned IndentLevel) { in PrintOffset() argument
3415 OS.indent(IndentLevel * 2); in PrintOffset()
3420 unsigned IndentLevel) { in PrintBitFieldOffset() argument
3433 OS.indent(IndentLevel * 2); in PrintBitFieldOffset()
3436 static void PrintIndentNoOffset(raw_ostream &OS, unsigned IndentLevel) { in PrintIndentNoOffset() argument
3438 OS.indent(IndentLevel * 2); in PrintIndentNoOffset()
3444 unsigned IndentLevel, in DumpRecordLayout() argument
3451 PrintOffset(OS, Offset, IndentLevel); in DumpRecordLayout()
3459 IndentLevel++; in DumpRecordLayout()
3469 PrintOffset(OS, Offset, IndentLevel); in DumpRecordLayout()
[all …]

123