/external/llvm/tools/llvm-cov/ |
D | CoverageReport.cpp | 22 struct Column { struct 32 Column(StringRef Str, unsigned Width) in Column() argument 35 Column &set(TrimKind Value) { in set() argument 40 Column &set(AlignmentKind Value) { in set() argument 48 raw_ostream &operator<<(raw_ostream &OS, const Column &Value) { in operator <<() 54 void Column::render(raw_ostream &OS) const { in render() 82 static Column column(StringRef Str, unsigned Width) { in column() 83 return Column(Str, Width); in column() 87 static Column column(StringRef Str, unsigned Width, const T &Value) { in column() 88 return Column(Str, Width).set(Value); in column() [all …]
|
/external/clang/lib/Format/ |
D | FormatToken.cpp | 92 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken() 104 unsigned Column = 0; in formatAfterToken() local 113 ExtraSpaces += Format->ColumnSizes[Column] - ItemLengths[Item]; in formatAfterToken() 114 ++Column; in formatAfterToken() 119 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken() 120 Column = 0; in formatAfterToken() 242 unsigned Column = 0; in precomputeFormattingInfos() local 245 if (MustBreakBeforeItem[i] || Column == Columns) { in precomputeFormattingInfos() 247 Column = 0; in precomputeFormattingInfos() 249 if (Column == Columns - 1) in precomputeFormattingInfos() [all …]
|
D | ContinuationIndenter.cpp | 81 State.Column = FirstIndent; in getInitialState() 134 if (Current.is(TT_FunctionDeclarationName) && State.Column < 6) { in canBreak() 171 getLengthToMatchingParen(Previous) + State.Column - 1 > in mustBreak() 175 (State.Column + State.Line->Last->TotalLength - Current.TotalLength + 2 > in mustBreak() 187 State.Column + getLengthToNextOperator(Current) > Style.ColumnLimit && in mustBreak() 188 (State.Column > NewLineColumn || in mustBreak() 192 if (State.Column <= NewLineColumn) in mustBreak() 292 State.Column = EndColumn; in addTokenToState() 297 State.Column += EndColumn - StartColumn; in addTokenToState() 319 State.Stack.back().VariablePos = State.Column; in addTokenOnCurrentLine() [all …]
|
D | FormatTokenLexer.cpp | 30 LessStashed(false), Column(0), TrailingWhitespace(0), in FormatTokenLexer() 426 Column = 0; in getNextToken() 430 Column = 0; in getNextToken() 434 Column = 0; in getNextToken() 437 ++Column; in getNextToken() 440 Column += Style.TabWidth - Column % Style.TabWidth; in getNextToken() 470 Column = 0; in getNextToken() 477 FormatTok->OriginalColumn = Column; in getNextToken() 518 encoding::columnWidthWithTabs(Text, Column, Style.TabWidth, Encoding); in getNextToken() 519 Column += FormatTok->ColumnWidth; in getNextToken() [all …]
|
D | ContinuationIndenter.h | 312 unsigned Column; member 361 if (Column != Other.Column) 362 return Column < Other.Column;
|
/external/compiler-rt/lib/ubsan/ |
D | ubsan_value.h | 48 u32 Column; variable 51 SourceLocation() : Filename(), Line(), Column() {} in SourceLocation() 52 SourceLocation(const char *Filename, unsigned Line, unsigned Column) in SourceLocation() argument 53 : Filename(Filename), Line(Line), Column(Column) {} in SourceLocation() 62 (__sanitizer::atomic_uint32_t *)&Column, ~u32(0), in acquire() 70 return Column == ~u32(0); in isDisabled() 78 unsigned getColumn() const { return Column; } in getColumn()
|
/external/swiftshader/third_party/LLVM/include/llvm/DebugInfo/ |
D | DIContext.h | 30 uint32_t Column; variable 32 DILineInfo() : FileName("<invalid>"), Line(0), Column(0) {} in DILineInfo() 34 : FileName(fileName), Line(line), Column(column) {} in DILineInfo() 38 uint32_t getColumn() const { return Column; } in getColumn() 41 return Line == RHS.Line && Column == RHS.Column &&
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | FormattedStream.cpp | 23 static unsigned CountColumns(unsigned Column, const char *Ptr, size_t Size) { in CountColumns() argument 28 ++Column; in CountColumns() 30 Column = 0; in CountColumns() 33 Column += (8 - (Column & 0x7)) & 0x7; in CountColumns() 36 return Column; in CountColumns()
|
/external/llvm/lib/Support/ |
D | FormattedStream.cpp | 25 unsigned &Column = Position.first; in UpdatePosition() local 31 ++Column; in UpdatePosition() 36 Column = 0; in UpdatePosition() 40 Column += (8 - (Column & 0x7)) & 0x7; in UpdatePosition()
|
D | YAMLParser.cpp | 197 unsigned Column; member 537 unsigned Column; member in llvm::yaml::Scanner 776 Column = 0; in init() 905 Column += Final - Current; in advanceWhile() 934 ++Column; in scan_ns_uri_char() 950 ++Column; in consume() 958 Column += Distance; in skip() 973 Column = 0; in consumeLineBreakIfPresent() 986 SK.Column = AtColumn; in saveSimpleKeyCandidate() 996 if (i->Line != Line || i->Column + 1024 < Column) { in removeStaleSimpleKeyCandidates() [all …]
|
/external/toolchain-utils/crosperf/ |
D | results_report.py | 18 from cros_utils.tabulator import Column 160 new_column.extend(Column(LiteralResult(i), Format(), str(i + 1)) 230 columns = [Column(RawResult(), Format()), 231 Column(MinResult(), Format()), 232 Column(MaxResult(), Format()), 233 Column(AmeanResult(), Format()), 234 Column(StdResult(), Format(), 'StdDev'), 235 Column(CoeffVarResult(), CoeffVarFormat(), 'StdDev/Mean'), 236 Column(GmeanRatioResult(), RatioFormat(), 'GmeanSpeedup'), 237 Column(PValueResult(), PValueFormat(), 'p-value')] [all …]
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
D | Table.java | 31 private final List<Column> columns; 39 this.columns = new ArrayList<Table.Column>(); in Table() 59 columns.add(new Column(columns.size(), header, style, renderer, in add() 103 for (final Column c : columns) { in header() 112 for (final Column c : columns) { in footer() 124 for (final Column c : columns) { in body() 141 private static class Column { class in Table 151 Column(final int idx, final String header, final String style, in Column() method in Table.Column
|
/external/toolchain-utils/cros_utils/ |
D | tabulator_test.py | 98 tabulator.Column(tabulator.AmeanResult(), tabulator.Format()), 99 tabulator.Column(tabulator.AmeanRatioResult(), 115 tabulator.Column(tabulator.AmeanResult(), tabulator.Format()), 116 tabulator.Column(tabulator.MinResult(), tabulator.Format()), 117 tabulator.Column(tabulator.AmeanRatioResult(), 119 tabulator.Column(tabulator.AmeanRatioResult(),
|
D | tabulator.py | 745 class Column(object): class 1148 Column(AmeanResult(), Format()), 1149 Column(AmeanRatioResult(), PercentFormat()), 1150 Column(AmeanRatioResult(), ColorBoxFormat()), 1182 columns = [Column(LiteralResult(), Format(), 'Literal'), 1183 Column(AmeanResult(), Format()), Column(StdResult(), Format()), 1184 Column(CoeffVarResult(), CoeffVarFormat()), 1185 Column(NonEmptyCountResult(), Format()), 1186 Column(AmeanRatioResult(), PercentFormat()), 1187 Column(AmeanRatioResult(), RatioFormat()), [all …]
|
/external/clang/lib/CodeGen/ |
D | CodeGenAction.cpp | 226 unsigned &Line, unsigned &Column) const; 335 unsigned Column = D.getColumnNo(); in InlineAsmDiagHandler2() local 336 B << SourceRange(Loc.getLocWithOffset(Range.first - Column), in InlineAsmDiagHandler2() 337 Loc.getLocWithOffset(Range.second - Column)); in InlineAsmDiagHandler2() 430 unsigned &Line, unsigned &Column) const { in getBestLocationFromDebugLoc() 436 D.getLocation(&Filename, &Line, &Column); in getBestLocationFromDebugLoc() 441 DILoc = SourceMgr.translateFileLineCol(FE, Line, Column ? Column : 1); in getBestLocationFromDebugLoc() 460 << Filename << Line << Column; in getBestLocationFromDebugLoc() 471 unsigned Line, Column; in UnsupportedDiagHandler() local 474 Line, Column); in UnsupportedDiagHandler() [all …]
|
/external/tinyxml/ |
D | xmltest.cpp | 398 XmlTest( "Location tracking: Declaration col", declaration->Column(), 5 ); in main() 400 XmlTest( "Location tracking: room col", room->Column(), 45 ); in main() 402 XmlTest( "Location tracking: doors col", doors->Column(), 51 ); in main() 404 XmlTest( "Location tracking: Comment col", comment->Column(), 3 ); in main() 406 XmlTest( "Location tracking: text col", text->Column(), 24 ); in main() 408 XmlTest( "Location tracking: door0 col", door0->Column(), 5 ); in main() 410 XmlTest( "Location tracking: door1 col", door1->Column(), 5 ); in main() 432 XmlTest( "Location tracking: Tab 8: room col", room->Column(), 49 ); in main() 434 XmlTest( "Location tracking: Tab 8: doors col", doors->Column(), 55 ); in main() 514 XmlTest( "UTF-8: Russian value column.", 5, element->Column() ); in main() [all …]
|
/external/llvm/include/llvm/DebugInfo/ |
D | DIContext.h | 33 uint32_t Column; member 36 : FileName("<invalid>"), FunctionName("<invalid>"), Line(0), Column(0) {} in DILineInfo() 39 return Line == RHS.Line && Column == RHS.Column &&
|
/external/clang/lib/Frontend/ |
D | LogDiagnosticPrinter.cpp | 56 if (DE.Column != 0) { in EmitDiagEntry() 59 EmitInteger(OS, DE.Column) << '\n'; in EmitDiagEntry() 142 DE.Line = DE.Column = 0; in HandleDiagnostic() 158 DE.Column = PLoc.getColumn(); in HandleDiagnostic()
|
/external/llvm/lib/DebugInfo/PDB/DIA/ |
D | DIALineNumber.cpp | 29 DWORD Column = 0; in getColumnNumber() local 30 return (S_OK == LineNumber->get_columnNumber(&Column)) ? Column : 0; in getColumnNumber()
|
/external/llvm/lib/IR/ |
D | DebugInfoMetadata.cpp | 23 unsigned Column, ArrayRef<Metadata *> MDs) in DILocation() argument 29 assert(Column < (1u << 16) && "Expected 16-bit column"); in DILocation() 32 SubclassData16 = Column; in DILocation() 35 static void adjustColumn(unsigned &Column) { in adjustColumn() argument 37 if (Column >= (1u << 16)) in adjustColumn() 38 Column = 0; in adjustColumn() 42 unsigned Column, Metadata *Scope, in getImpl() argument 46 adjustColumn(Column); in getImpl() 51 DILocationInfo::KeyTy(Line, Column, Scope, InlinedAt))) in getImpl() 64 DILocation(Context, Storage, Line, Column, Ops), in getImpl() [all …]
|
D | DiagnosticInfo.cpp | 156 unsigned *Column) const { in getLocation() 161 *Column = L->getColumn(); in getLocation() 167 unsigned Column = 0; in getLocationStr() local 169 getLocation(&Filename, &Line, &Column); in getLocationStr() 170 return (Filename + ":" + Twine(Line) + ":" + Twine(Column)).str(); in getLocationStr()
|
/external/llvm/include/llvm/MC/ |
D | MCCodeView.h | 35 uint16_t Column; variable 43 : FunctionId(functionid), FileNum(fileNum), Line(line), Column(column), in MCCVLoc() 59 unsigned getColumn() const { return Column; } in getColumn() 75 Column = column; in setColumn()
|
/external/swiftshader/third_party/LLVM/include/llvm/MC/ |
D | MCDwarf.h | 83 unsigned Column; variable 104 : FileNum(fileNum), Line(line), Column(column), Flags(flags), Isa(isa), in MCDwarfLoc() 118 unsigned getColumn() const { return Column; } in getColumn() 136 void setColumn(unsigned column) { Column = column; } in setColumn()
|
/external/clang/unittests/Tooling/ |
D | TestVisitor.h | 123 void DisallowMatch(Twine Match, unsigned Line, unsigned Column) { in DisallowMatch() argument 124 DisallowedMatches.push_back(MatchCandidate(Match, Line, Column)); in DisallowMatch() 131 void ExpectMatch(Twine Match, unsigned Line, unsigned Column) { in ExpectMatch() argument 132 ExpectedMatches.push_back(ExpectedMatch(Match, Line, Column)); in ExpectMatch()
|
/external/clang/include/clang/Frontend/ |
D | CommandLineSourceLoc.h | 28 unsigned Column; member 40 if (!ColSplit.second.getAsInteger(10, PSL.Column) && in FromString()
|