| /freebsd-12.1/contrib/llvm/tools/clang/lib/Format/ |
| H A D | TokenAnnotator.h | 40 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument 41 : First(Line.Tokens.front().Tok), Level(Line.Level), in AnnotatedLine() 42 MatchingOpeningBlockLineIndex(Line.MatchingOpeningBlockLineIndex), in AnnotatedLine() 44 InPPDirective(Line.InPPDirective), in AnnotatedLine() 48 FirstStartColumn(Line.FirstStartColumn) { in AnnotatedLine() 49 assert(!Line.Tokens.empty()); in AnnotatedLine() 160 void annotate(AnnotatedLine &Line); 161 void calculateFormattingInformation(AnnotatedLine &Line); 177 bool mustBreakForReturnType(const AnnotatedLine &Line) const; 179 void printDebugInfo(const AnnotatedLine &Line); [all …]
|
| H A D | AffectedRangeManager.cpp | 30 AnnotatedLine *Line = *I; in computeAffectedLines() local 31 Line->LeadingEmptyLinesAffected = affectsLeadingEmptyLines(*Line->First); in computeAffectedLines() 35 if (Line->InPPDirective) { in computeAffectedLines() 36 FormatToken *Last = Line->Last; in computeAffectedLines() 43 if (affectsTokenRange(*Line->First, *Last, in computeAffectedLines() 55 PreviousLine = Line; in computeAffectedLines() 106 Line->ChildrenAffected = computeAffectedLines(Line->Children); in nonPPLineAffected() 107 if (Line->ChildrenAffected) in nonPPLineAffected() 138 Line->First->is(tok::comment) && Line->First->Next == nullptr && in nonPPLineAffected() 143 Line->First->is(tok::r_brace) && in nonPPLineAffected() [all …]
|
| H A D | UnwrappedLineParser.cpp | 43 : Line(Line), Stack(Stack) { in ScopedDeclarationState() 56 UnwrappedLine &Line; member in clang::format::__anon0b30d40c0111::ScopedDeclarationState 83 : Line(Line), TokenSource(TokenSource), ResetToken(ResetToken), in ScopedMacroState() 89 Line.Level = 0; in ScopedMacroState() 267 if (Line.InPPDirective && Line.Level > 0) in parse() 555 ++Line->Level; in parseBlock() 830 ++Line->Level; in parsePPDefine() 1714 ++Line->Level; in parseIfThenElse() 1907 if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0)) in parseLabel() 2060 ++Line->Level; in parseJavaEnumBody() [all …]
|
| H A D | UnwrappedLineFormatter.cpp | 60 if (Line.InPPDirective) { in nextLine() 86 if ((!Line.First->is(tok::comment) || IndentForLevel[Line.Level] == -1) && in adjustToUnmodifiedLine() 87 !Line.InPPDirective) in adjustToUnmodifiedLine() 409 AnnotatedLine &Line = **I; in tryMergeSimpleControlStatement() local 455 Line = *J; in tryMergeShortCaseLabels() 460 if (Line->First->isNot(tok::comment) || Level != Line->Level) in tryMergeShortCaseLabels() 478 AnnotatedLine &Line = **I; in tryMergeSimpleBlock() local 490 (Line.First->Next && Line.First->Next->is(tok::kw_else))) in tryMergeSimpleBlock() 1041 Line; Line = NextLine, FirstLine = false) { in format() 1063 Status->Line = in format() [all …]
|
| H A D | UsingDeclarationsSorter.cpp | 69 const AnnotatedLine *Line; member 72 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration() 73 : Line(Line), Label(Label) {} in UsingDeclaration() 120 if (Declaration.Line->Affected) { in endUsingDeclarationBlock() 144 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); in endUsingDeclarationBlock() 145 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock() 154 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock() 156 auto Begin = (*UsingDeclarations)[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock() 157 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock() 159 SortedUsingDeclarations[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock() [all …]
|
| H A D | TokenAnnotator.cpp | 52 : Style(Style), Line(Line), CurrentToken(Line.First), AutoFound(false), in AnnotatingParser() 214 } else if (!Line.MustBeDeclaration && !Line.InPPDirective) { in parseParens() 1679 AnnotatedLine &Line; member in clang::format::__anon963563180111::AnnotatingParser 1950 Line.Type = LT_Invalid; in annotate() 1952 if (Line.Type == LT_Invalid) in annotate() 1961 Line.Type = LT_ObjCDecl; in annotate() 1966 Line.First->CanBreakBefore = Line.First->MustBreakBefore; in annotate() 2056 Line.Level > 0) in mustBreakForReturnType() 2080 Line.First->TotalLength = in calculateFormattingInformation() 2082 : Line.FirstStartColumn + Line.First->ColumnWidth; in calculateFormattingInformation() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/LineEditor/ |
| H A D | LineEditor.cpp | 268 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine() 304 std::string Line; in readLine() local 309 if (Line.empty()) in readLine() 312 return Line; in readLine() 314 Line.append(Buf); in readLine() 315 } while (Line.empty() || in readLine() 316 (Line[Line.size() - 1] != '\n' && Line[Line.size() - 1] != '\r')); in readLine() 318 while (!Line.empty() && in readLine() 319 (Line[Line.size() - 1] == '\n' || Line[Line.size() - 1] == '\r')) in readLine() 320 Line.resize(Line.size() - 1); in readLine() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 279 unsigned Line; 409 unsigned Line; 499 unsigned Line; 613 unsigned Line; 635 Line(Line), Type(Type), ScopeLine(ScopeLine), 731 unsigned Line; 861 unsigned Line; 875 Line(Line), Type(Type), IsLocalToUnit(IsLocalToUnit), 918 unsigned Line; 957 unsigned Line; [all …]
|
| H A D | DebugInfoMetadata.cpp | 37 SubclassData32 = Line; in DILocation() 49 DILocation *DILocation::getImpl(LLVMContext &Context, unsigned Line, in getImpl() argument 674 DEFINE_GETIMPL_STORE(DILexicalBlock, (Line, Column), Ops); in getImpl() 803 (Scope, Name, File, Line)); in getImpl() 805 DEFINE_GETIMPL_STORE(DILabel, (Line), Ops); in getImpl() 1093 DEFINE_GETIMPL_STORE(DIObjCProperty, (Line, Attributes), Ops); in getImpl() 1105 DEFINE_GETIMPL_STORE(DIImportedEntity, (Tag, Line), Ops); in getImpl() 1112 DEFINE_GETIMPL_LOOKUP(DIMacro, (MIType, Line, Name, Value)); in getImpl() 1114 DEFINE_GETIMPL_STORE(DIMacro, (MIType, Line), Ops); in getImpl() 1122 (MIType, Line, File, Elements)); in getImpl() [all …]
|
| /freebsd-12.1/sys/contrib/dev/acpica/components/utilities/ |
| H A D | uttrack.c | 185 UINT32 Line); 192 UINT32 Line); 252 UINT32 Line) in AcpiUtAllocateAndTrack() argument 321 UINT32 Line) in AcpiUtAllocateZeroedAndTrack() argument 342 ACPI_ERROR ((Module, Line, in AcpiUtAllocateZeroedAndTrack() 390 UINT32 Line) in AcpiUtFreeAndTrack() argument 401 ACPI_ERROR ((Module, Line, in AcpiUtFreeAndTrack() 518 UINT32 Line) in AcpiUtTrackAllocation() argument 558 Allocation->Line = Line; in AcpiUtTrackAllocation() 619 UINT32 Line) in AcpiUtRemoveAllocation() argument [all …]
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 631 unsigned Line; 648 this->Line = Line; 1648 unsigned Line; 1908 unsigned Line; 2276 unsigned Line; 2753 unsigned Line; 2821 unsigned Line; 2828 Line(Line), Attributes(Attributes) {} 2910 unsigned Line; 3059 unsigned Line; [all …]
|
| /freebsd-12.1/sys/gnu/dts/arm/ |
| H A D | am3517-evm-ui.dtsi | 18 "Line", "Line In", 19 "Line", "Line Out"; 22 "Line Out", "LOUT", 23 "Line Out", "ROUT", 24 "LLINEIN", "Line In", 25 "RLINEIN", "Line In", 48 "Line", "Line In", 49 "Line", "Line Out"; 52 "Line Out", "LOUT", 53 "Line Out", "ROUT", [all …]
|
| H A D | imx6qdl-phytec-pbab01.dtsi | 52 "Line", "Line In", 53 "Line", "Line Out", 57 "Line Out", "LLOUT", 58 "Line Out", "RLOUT", 66 "LINE1L", "Line In", 67 "LINE1R", "Line In";
|
| /freebsd-12.1/contrib/compiler-rt/lib/xray/ |
| H A D | xray_powerpc64.cc | 38 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local 39 asm volatile("dcbf 0, %0" : : "r"(Line)); in clearCache() 42 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local 43 asm volatile("icbi 0, %0" : : "r"(Line)); in clearCache()
|
| /freebsd-12.1/contrib/llvm/tools/llvm-cov/ |
| H A D | SourceCoverageView.h | 58 unsigned Line; member 61 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView() 63 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView() 67 return LHS.Line < RHS.Line; 153 StringRef Line; member 156 LineRef(StringRef Line, int64_t LineNo) : Line(Line), LineNo(LineNo) {} in LineRef() 189 const LineCoverageStats &Line) = 0; 196 const LineCoverageStats &Line, 256 void addInstantiation(StringRef FunctionName, unsigned Line,
|
| H A D | SourceCoverageViewText.cpp | 100 StringRef Line = L.Line; in renderLine() local 116 unsigned End = std::min(S->Col, static_cast<unsigned>(Line.size()) + 1); in renderLine() 120 << Line.substr(Col - 1, End - Col); in renderLine() 136 << Line.substr(Col - 1, Line.size() - Col + 1); in renderLine() 149 raw_ostream &OS, const LineCoverageStats &Line) { in renderLineCoverageColumn() argument 150 if (!Line.isMapped()) { in renderLineCoverageColumn() 154 std::string C = formatCount(Line.getExecutionCount()); in renderLineCoverageColumn() 157 Line.hasMultipleRegions() && getOptions().Colors) in renderLineCoverageColumn() 179 CoverageSegmentArray Segments = Line.getLineSegments(); in renderRegionMarkers() 189 if (S->Count == Line.getExecutionCount()) in renderRegionMarkers() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | InclusionRewriter.cpp | 82 void WriteLineInfo(StringRef Filename, int Line, 123 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo() 129 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo() 290 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo() 300 Line++; in OutputContentUpTo() 335 LocalEOL, Line, true); in CommentOutDirective() 471 Line); in Process() 506 NextToWrite, Line); in Process() 514 NextToWrite, Line); in Process() 587 WriteLineInfo(FileName, Line, FileType); in Process() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Support/ |
| H A D | SymbolRemappingReader.cpp | 37 StringRef Line = *LineIt; in read() local 38 Line = Line.ltrim(' '); in read() 40 if (Line.startswith("#") || Line.empty()) in read() 44 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); in read() 48 "found '" + Line + "'"); in read()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Support/ |
| H A D | SymbolRemappingReader.h | 72 SymbolRemappingParseError(StringRef File, int64_t Line, Twine Message) in SymbolRemappingParseError() argument 73 : File(File), Line(Line), Message(Message.str()) {} in SymbolRemappingParseError() 76 OS << File << ':' << Line << ": " << Message; in log() 83 int64_t getLineNum() const { return Line; } in getLineNum() 90 int64_t Line; variable
|
| /freebsd-12.1/contrib/llvm/tools/llvm-pdbutil/ |
| H A D | PrettyCompilandDumper.cpp | 76 while (auto Line = Lines->getNext()) { in start() local 78 uint32_t LineStart = Line->getLineNumber(); in start() 79 uint32_t LineEnd = Line->getLineNumberEnd(); in start() 82 PDB_ColorItem StatementColor = Line->isStatement() in start() 89 uint32_t ColumnStart = Line->getColumnNumber(); in start() 90 uint32_t ColumnEnd = Line->getColumnNumberEnd(); in start() 99 if (Line->getLength() > 0) { in start() 100 uint64_t AddrStart = Line->getVirtualAddress(); in start() 101 uint64_t AddrEnd = AddrStart + Line->getLength() - 1; in start() 105 Printer << " (" << Line->getLength() << " bytes)"; in start() [all …]
|
| /freebsd-12.1/contrib/compiler-rt/lib/ubsan/ |
| H A D | ubsan_value.h | 47 u32 Line; 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() 64 return SourceLocation(Filename, Line, OldColumn); in acquire() 76 unsigned getLine() const { return Line; } in getLine()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/Coverage/ |
| H A D | CoverageMapping.h | 383 unsigned Line; member 396 : Line(Line), Col(Col), Count(0), HasCount(false), in CoverageSegment() 401 : Line(Line), Col(Col), Count(Count), HasCount(true), in Line() function 420 unsigned Line; variable 424 InstantiationGroup(unsigned Line, unsigned Col, in InstantiationGroup() argument 426 : Line(Line), Col(Col), Instantiations(std::move(Instantiations)) {} in InstantiationGroup() 436 unsigned getLine() const { return Line; } in getLine() 592 unsigned Line; variable 609 unsigned getLine() const { return Line; } in getLine() 629 Line(Line), Segments(), Stats() { in LineCoverageIterator() [all …]
|
| /freebsd-12.1/sys/contrib/dev/acpica/compiler/ |
| H A D | aslascii.c | 212 Status.Line = 1; in FlIsFileAsciiSource() 253 Byte, Status.Line, Status.Offset); in FlIsFileAsciiSource() 267 Byte, Status.Line, Status.Offset); in FlIsFileAsciiSource() 276 Status.Line++; in FlIsFileAsciiSource() 358 Status->Line++; in FlConsumeAnsiComment() 395 Status->Line++; in FlConsumeNewComment()
|
| H A D | prexpress.c | 161 char *Line); 216 char *Line) in PrExpandMacros() argument 272 return (Line); in PrExpandMacros() 371 char *Line, in PrResolveIntegerExpression() argument 379 "**** Resolve #if: %s\n", AslGbl_CurrentLineNumber, Line); in PrResolveIntegerExpression() 383 ExpandedLine = PrExpandMacros (Line); in PrResolveIntegerExpression()
|
| /freebsd-12.1/contrib/llvm/lib/DebugInfo/Symbolize/ |
| H A D | DIPrinter.cpp | 39 void DIPrinter::printContext(const std::string &FileName, int64_t Line) { in printContext() argument 50 std::max(static_cast<int64_t>(1), Line - PrintSourceContext / 2); in printContext() 59 if (L == Line) in printContext() 82 OS << Filename << ":" << Info.Line << ":" << Info.Column << "\n"; in print() 83 printContext(Filename, Info.Line); in print() 89 OS << " Line: " << Info.Line << "\n"; in print()
|