Home
last modified time | relevance | path

Searched refs:Line (Results 1 – 25 of 526) sorted by relevance

12345678910>>...22

/src/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderAnalysis.cpp19 bool isIf(llvm::StringRef Line) { in isIf() argument
20 Line = Line.ltrim(); in isIf()
21 if (!Line.consume_front("#")) in isIf()
23 Line = Line.ltrim(); in isIf()
24 return Line.starts_with("if"); in isIf()
28 bool isErrorAboutInclude(llvm::StringRef Line) { in isErrorAboutInclude() argument
29 Line = Line.ltrim(); in isErrorAboutInclude()
30 if (!Line.consume_front("#")) in isErrorAboutInclude()
32 Line = Line.ltrim(); in isErrorAboutInclude()
33 if (!Line.starts_with("error")) in isErrorAboutInclude()
[all …]
/src/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp38 void MarkupParser::parseLine(StringRef Line) { in parseLine() argument
42 this->Line = Line; in parseLine()
56 if (Line.empty()) in nextNode()
60 if (std::optional<StringRef> MultilineEnd = parseMultiLineEnd(Line)) { in nextNode()
66 advanceTo(Line, MultilineEnd->end()); in nextNode()
71 llvm::append_range(InProgressMultiline, Line); in nextNode()
72 Line = Line.drop_front(Line.size()); in nextNode()
77 if (std::optional<MarkupNode> Element = parseElement(Line)) { in nextNode()
78 parseTextOutsideMarkup(takeTo(Line, Element->Text.begin())); in nextNode()
80 advanceTo(Line, Element->Text.end()); in nextNode()
[all …]
/src/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp132 std::optional<Record::Kind> Record::classify(llvm::StringRef Line) { in classify() argument
133 Token Tok = consume<Token>(Line); in classify()
146 Tok = consume<Token>(Line); in classify()
163 return Record::Line; in classify()
175 std::optional<ModuleRecord> ModuleRecord::parse(llvm::StringRef Line) { in parse() argument
177 if (consume<Token>(Line) != Token::Module) in parse()
180 llvm::Triple::OSType OS = consume<llvm::Triple::OSType>(Line); in parse()
184 llvm::Triple::ArchType Arch = consume<llvm::Triple::ArchType>(Line); in parse()
189 std::tie(Str, Line) = getToken(Line); in parse()
204 std::optional<InfoRecord> InfoRecord::parse(llvm::StringRef Line) { in parse() argument
[all …]
/src/contrib/llvm-project/clang/lib/Format/
H A DAffectedRangeManager.cpp29 AnnotatedLine *Line = *I; in computeAffectedLines() local
30 assert(Line->First); in computeAffectedLines()
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()
52 if (nonPPLineAffected(Line, PreviousLine, Lines)) in computeAffectedLines()
55 PreviousLine = Line; in computeAffectedLines()
102 AnnotatedLine *Line, const AnnotatedLine *PreviousLine, in nonPPLineAffected() argument
105 Line->ChildrenAffected = computeAffectedLines(Line->Children); in nonPPLineAffected()
[all …]
H A DTokenAnnotator.h49 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument
50 : First(Line.Tokens.front().Tok), Type(LT_Other), Level(Line.Level), in AnnotatedLine()
51 PPLevel(Line.PPLevel), in AnnotatedLine()
52 MatchingOpeningBlockLineIndex(Line.MatchingOpeningBlockLineIndex), in AnnotatedLine()
53 MatchingClosingBlockLineIndex(Line.MatchingClosingBlockLineIndex), in AnnotatedLine()
54 InPPDirective(Line.InPPDirective), in AnnotatedLine()
55 InPragmaDirective(Line.InPragmaDirective), in AnnotatedLine()
56 InMacroBody(Line.InMacroBody), in AnnotatedLine()
57 MustBeDeclaration(Line.MustBeDeclaration), MightBeFunctionDecl(false), in AnnotatedLine()
60 ReturnTypeWrapped(false), IsContinuation(Line.IsContinuation), in AnnotatedLine()
[all …]
H A DUnwrappedLineFormatter.cpp23 bool startsExternCBlock(const AnnotatedLine &Line) { in startsExternCBlock() argument
24 const FormatToken *Next = Line.First->getNextNonComment(); in startsExternCBlock()
26 return Line.startsWith(tok::kw_extern) && Next && Next->isStringLiteral() && in startsExternCBlock()
59 void nextLine(const AnnotatedLine &Line) { in nextLine() argument
60 Offset = getIndentOffset(Line); in nextLine()
63 if (Line.Level >= IndentForLevel.size()) in nextLine()
64 IndentForLevel.resize(Line.Level + 1, -1); in nextLine()
66 (Line.InPPDirective || in nextLine()
68 Line.Type == LT_CommentAbovePPDirective))) { in nextLine()
71 Indent = Line.InMacroBody in nextLine()
[all …]
H A DUnwrappedLineParser.cpp38 void printLine(llvm::raw_ostream &OS, const UnwrappedLine &Line, in printLine() argument
40 OS << Prefix << "Line(" << Line.Level << ", FSC=" << Line.FirstStartColumn in printLine()
41 << ")" << (Line.InPPDirective ? " MACRO" : "") << ": "; in printLine()
43 for (std::list<UnwrappedLineNode>::const_iterator I = Line.Tokens.begin(), in printLine()
44 E = Line.Tokens.end(); in printLine()
67 LLVM_ATTRIBUTE_UNUSED static void printDebugInfo(const UnwrappedLine &Line) { in printDebugInfo() argument
68 printLine(llvm::dbgs(), Line); in printDebugInfo()
73 ScopedDeclarationState(UnwrappedLine &Line, llvm::BitVector &Stack, in ScopedDeclarationState() argument
75 : Line(Line), Stack(Stack) { in ScopedDeclarationState()
76 Line.MustBeDeclaration = MustBeDeclaration; in ScopedDeclarationState()
[all …]
H A DUsingDeclarationsSorter.cpp95 const AnnotatedLine *Line; member
98 UsingDeclaration(const AnnotatedLine *Line, const std::string &Label) in UsingDeclaration()
99 : Line(Line), Label(Label) {} in UsingDeclaration()
143 if (Declaration.Line->Affected) { in endUsingDeclarationBlock()
170 (*UsingDeclarations)[I].Line->First->WhitespaceRange.getBegin(); in endUsingDeclarationBlock()
171 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
180 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock()
182 auto Begin = (*UsingDeclarations)[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
183 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
185 SortedUsingDeclarations[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
[all …]
/src/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h57 unsigned Line; member
60 InstantiationView(StringRef FunctionName, unsigned Line, in InstantiationView()
62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
66 return LHS.Line < RHS.Line;
73 unsigned Line; member
75 BranchView(unsigned Line, SmallVector<CountedRegion, 0> Regions) in BranchView()
76 : Regions(std::move(Regions)), Line(Line) {} in BranchView()
78 unsigned getLine() const { return Line; } in getLine()
81 return LHS.Line < RHS.Line;
88 unsigned Line; member
[all …]
/src/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp254 const char *Line = ::el_gets(Data->EL, &LineLen); in readLine() local
257 if (!Line || LineLen == 0) in readLine()
262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) in readLine()
267 ::history(Data->Hist, &HE, H_ENTER, Line); in readLine()
269 return std::string(Line, LineLen); in readLine()
298 std::string Line; in readLine() local
303 if (Line.empty()) in readLine()
306 return Line; in readLine()
308 Line.append(Buf); in readLine()
309 } while (Line.empty() || in readLine()
[all …]
/src/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c185 UINT32 Line);
192 UINT32 Line);
252 UINT32 Line) in AcpiUtAllocateAndTrack() argument
262 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
272 ACPI_WARNING ((Module, Line, in AcpiUtAllocateAndTrack()
279 Allocation, Size, ACPI_MEM_MALLOC, Component, Module, Line); in AcpiUtAllocateAndTrack()
321 UINT32 Line) in AcpiUtAllocateZeroedAndTrack() argument
331 ACPI_WARNING ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
342 ACPI_ERROR ((Module, Line, in AcpiUtAllocateZeroedAndTrack()
348 ACPI_MEM_CALLOC, Component, Module, Line); in AcpiUtAllocateZeroedAndTrack()
[all …]
/src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp498 LVLineAssembler *Line = createLineAssembler(); in createInstructions() local
499 Line->setAddress(Address); in createInstructions()
500 Line->setName(StringRef(Stream.str()).trim()); in createInstructions()
501 Instructions.push_back(Line); in createInstructions()
516 for (const LVLine *Line : Instructions) in createInstructions()
518 << hexValue(Line->getOffset()) << ", (" << Line->getName() in createInstructions()
603 for (const LVLine *Line : *DebugLines) { in processLines()
604 dbgs() << format_decimal(Index, 5) << ": " << hexValue(Line->getOffset()) in processLines()
605 << ", (" << Line->getLineNumber() << ")" in processLines()
641 for (const LVLine *Line : InstructionLines) in processLines()
[all …]
/src/sys/contrib/device-tree/src/arm/ti/omap/
H A Dam3517-evm-ui.dtsi15 "Line", "Line In",
16 "Line", "Line Out";
19 "Line Out", "LOUT",
20 "Line Out", "ROUT",
21 "LLINEIN", "Line In",
22 "RLINEIN", "Line In",
45 "Line", "Line In",
46 "Line", "Line Out";
49 "Line Out", "LOUT",
50 "Line Out", "ROUT",
[all …]
/src/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_powerpc64.cpp37 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local
38 asm volatile("dcbf 0, %0" : : "r"(Line)); in clearCache()
41 for (intptr_t Line = StartLine; Line < EndLine; Line += LineSize) in clearCache() local
42 asm volatile("icbi 0, %0" : : "r"(Line)); in clearCache()
/src/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h317 unsigned Line;
323 MDNodeKeyImpl(unsigned Line, unsigned Column, Metadata *Scope,
325 : Line(Line), Column(Column), Scope(Scope), InlinedAt(InlinedAt),
328 : Line(L->getLine()), Column(L->getColumn()), Scope(L->getRawScope()),
332 return Line == RHS->getLine() && Column == RHS->getColumn() &&
338 return hash_combine(Line, Column, Scope, InlinedAt, ImplicitCode);
537 unsigned Line;
549 MDNodeKeyImpl(unsigned Tag, MDString *Name, Metadata *File, unsigned Line,
555 : Tag(Tag), Name(Name), File(File), Line(Line), Scope(Scope),
562 Line(N->getLine()), Scope(N->getRawScope()),
[all …]
/src/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineDebugify.cpp76 unsigned Line = DVI->getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() local
77 assert(Line != 0 && "debugify should not insert line 0 locations"); in applyDebugifyMetadataToMachineFunction()
78 Line2Var[Line] = DVI->getVariable(); in applyDebugifyMetadataToMachineFunction()
79 if (!EarliestDVI || Line < EarliestDVI->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
89 unsigned Line = DVR.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() local
90 assert(Line != 0 && "debugify should not insert line 0 locations"); in applyDebugifyMetadataToMachineFunction()
91 Line2Var[Line] = DVR.getVariable(); in applyDebugifyMetadataToMachineFunction()
92 if (!EarliestDVR || Line < EarliestDVR->getDebugLoc().getLine()) in applyDebugifyMetadataToMachineFunction()
125 unsigned Line = MI.getDebugLoc().getLine(); in applyDebugifyMetadataToMachineFunction() local
126 if (!Line2Var.count(Line)) in applyDebugifyMetadataToMachineFunction()
[all …]
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DSymbolRemappingReader.cpp37 StringRef Line = *LineIt; in read() local
38 Line = Line.ltrim(' '); in read()
40 if (Line.starts_with("#") || Line.empty()) in read()
44 Line.split(Parts, ' ', /*MaxSplits*/-1, /*KeepEmpty*/false); in read()
48 "found '" + Line + "'"); in read()
/src/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp132 static bool ParseError(const char *Err, const std::string &Line) { in ParseError() argument
133 Printf("DataFlowTrace: parse error: %s: Line: %s\n", Err, Line.c_str()); in ParseError()
139 static bool ParseDFTLine(const std::string &Line, size_t *FunctionNum, in ParseDFTLine() argument
141 if (!Line.empty() && Line[0] != 'F') in ParseDFTLine()
143 size_t SpacePos = Line.find(' '); in ParseDFTLine()
145 return ParseError("no space in the trace line", Line); in ParseDFTLine()
146 if (Line.empty() || Line[0] != 'F') in ParseDFTLine()
147 return ParseError("the trace line doesn't start with 'F'", Line); in ParseDFTLine()
148 *FunctionNum = std::atol(Line.c_str() + 1); in ParseDFTLine()
149 const char *Beg = Line.c_str() + SpacePos + 1; in ParseDFTLine()
[all …]
/src/sys/contrib/device-tree/Bindings/sound/
H A Dmt2701-cs42448.txt21 "Line Out Jack", "AOUT1L",
22 "Line Out Jack", "AOUT1R",
23 "Line Out Jack", "AOUT2L",
24 "Line Out Jack", "AOUT2R",
25 "Line Out Jack", "AOUT3L",
26 "Line Out Jack", "AOUT3R",
27 "Line Out Jack", "AOUT4L",
28 "Line Out Jack", "AOUT4R",
H A Dfsl-asoc-card.txt70 * Line Out Jack
71 * Line In Jack
105 "Line Out Jack", "AOUT1L",
106 "Line Out Jack", "AOUT1R",
107 "Line Out Jack", "AOUT2L",
108 "Line Out Jack", "AOUT2R",
109 "Line Out Jack", "AOUT3L",
110 "Line Out Jack", "AOUT3R",
111 "Line Out Jack", "AOUT4L",
112 "Line Out Jack", "AOUT4R",
[all …]
/src/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVLine.cpp113 for (LVLine *Line : *Targets) in findIn()
114 if (equals(Line)) in findIn()
115 return Line; in findIn()
120 bool LVLine::equals(const LVLine *Line) const { in equals()
121 return LVElement::equals(Line); in equals()
193 bool LVLineDebug::equals(const LVLine *Line) const { in equals()
194 if (!LVLine::equals(Line)) in equals()
196 return getFilenameIndex() == Line->getFilenameIndex(); in equals()
214 bool LVLineAssembler::equals(const LVLine *Line) const { in equals()
215 return LVLine::equals(Line); in equals()
/src/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp103 Row.Line += Data.getSLEB128(&Offset); in parse()
110 Row.Line += LineDelta; in parse()
143 int64_t LineDelta = (int64_t)line_entry.Line - PrevLine; in encode()
155 PrevLine = (int64_t)line_entry.Line; in encode()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
199 Out.writeULEB(Prev.Line); in encode()
212 if (Curr.Line > Prev.Line) in encode()
213 LineDelta = Curr.Line - Prev.Line; in encode()
214 else if (Prev.Line > Curr.Line) in encode()
215 LineDelta = -((int32_t)(Prev.Line - Curr.Line)); in encode()
/src/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSymbolRemappingReader.h72 SymbolRemappingParseError(StringRef File, int64_t Line, const 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
/src/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp85 void WriteLineInfo(StringRef Filename, int Line,
118 void InclusionRewriter::WriteLineInfo(StringRef Filename, int Line, in WriteLineInfo() argument
124 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo()
130 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo()
268 StringRef LocalEOL, int &Line, in OutputContentUpTo() argument
289 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
338 unsigned &NextToWrite, int &Line, in CommentOutDirective() argument
341 SM.getFileOffset(StartToken.getLocation()), LocalEOL, Line, in CommentOutDirective()
363 LocalEOL, Line, true); in CommentOutDirective()
409 int Line = 1; // The current input file line number. in Process() local
[all …]
/src/sys/contrib/device-tree/src/arm64/tesla/
H A Dfsd-evb.dts40 simple-audio-card,widgets = "Line", "Line Out",
41 "Line", "Line In";
42 simple-audio-card,routing = "Line Out", "LLOUT",
43 "Line Out", "RLOUT",
44 "MIC2L", "Line In",
45 "MIC2R", "Line In";

12345678910>>...22