Home
last modified time | relevance | path

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

12345678910>>...20

/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Inclusions/
H A DHeaderAnalysis.cpp20 Line = Line.ltrim(); in isIf()
21 if (!Line.consume_front("#")) in isIf()
23 Line = Line.ltrim(); in isIf()
29 Line = Line.ltrim(); in isErrorAboutInclude()
30 if (!Line.consume_front("#")) in isErrorAboutInclude()
32 Line = Line.ltrim(); in isErrorAboutInclude()
41 llvm::StringRef Line; in isDontIncludeMeHeader() local
53 Line = Line.ltrim(); in isImportLine()
56 Line = Line.ltrim(); in isImportLine()
86 llvm::StringRef Line; in codeContainsImports() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DMarkup.cpp42 this->Line = Line; in parseLine()
56 if (Line.empty()) in nextNode()
72 Line = Line.drop_front(Line.size()); in nextNode()
92 Line = Line.drop_front(Line.size()); in nextNode()
97 parseTextOutsideMarkup(Line); in nextNode()
98 Line = Line.drop_front(Line.size()); in nextNode()
105 Line = {}; in flush()
126 Line = Line.substr(EndPos); in parseElement()
192 return Line.substr(BeginPos); in parseMultiLineBegin()
198 size_t EndPos = Line.find("}}}"); in parseMultiLineEnd()
[all …]
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.cpp189 std::tie(Str, Line) = getToken(Line); in parse()
213 std::tie(Str, Line) = getToken(Line); in parse()
237 std::tie(Str, Line) = getToken(Line); in parseNumberName()
282 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
296 std::tie(Str, Line) = getToken(Line); in parsePublicOrFunc()
384 std::tie(Str, Line) = getToken(Line); in parse()
389 std::tie(Str, Line) = getToken(Line); in parse()
394 std::tie(Str, Line) = getToken(Line); in parse()
399 std::tie(Str, Line) = getToken(Line); in parse()
450 std::tie(Str, Line) = getToken(Line); in parse()
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/Format/
H A DTokenAnnotator.h48 AnnotatedLine(const UnwrappedLine &Line) in AnnotatedLine() argument
49 : First(Line.Tokens.front().Tok), Level(Line.Level), in AnnotatedLine()
50 PPLevel(Line.PPLevel), in AnnotatedLine()
53 InPPDirective(Line.InPPDirective), in AnnotatedLine()
54 InPragmaDirective(Line.InPragmaDirective), in AnnotatedLine()
55 InMacroBody(Line.InMacroBody), in AnnotatedLine()
60 FirstStartColumn(Line.FirstStartColumn) { in AnnotatedLine()
61 assert(!Line.Tokens.empty()); in AnnotatedLine()
68 addChildren(Line.Tokens.front(), Current); in AnnotatedLine()
222 void annotate(AnnotatedLine &Line);
[all …]
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()
55 PreviousLine = Line; in computeAffectedLines()
105 Line->ChildrenAffected = computeAffectedLines(Line->Children); in nonPPLineAffected()
106 if (Line->ChildrenAffected) in nonPPLineAffected()
119 assert(Line->First); in nonPPLineAffected()
138 Line->First->is(tok::comment) && !Line->First->Next && in nonPPLineAffected()
[all …]
H A DUnwrappedLineFormatter.cpp73 (Line.Level - Line.PPLevel) * Style.IndentWidth in nextLine()
98 if (Line.InPPDirective || Line.IsContinuation) in adjustToUnmodifiedLine()
101 if (Line.First->is(tok::comment) && IndentForLevel[Line.Level] != -1) in adjustToUnmodifiedLine()
345 if (!Line) in tryFitMultipleLinesInOne()
636 if (Line.First->is(tok::kw_do) && Line.Last->isNot(tok::kw_do)) in tryMergeSimpleControlStatement()
692 Line = *J; in tryMergeShortCaseLabels()
697 if (Line->First->isNot(tok::comment) || Level != Line->Level) in tryMergeShortCaseLabels()
732 (Line.First->Next && Line.First->Next->is(tok::kw_else))) { in tryMergeSimpleBlock()
801 if (IsSplitBlock && Line.First == Line.Last && in tryMergeSimpleBlock()
859 if (Line.First == Line.Last && Line.First->isNot(TT_FunctionLBrace) && in tryMergeSimpleBlock()
[all …]
H A DUnwrappedLineParser.cpp40 OS << Prefix << "Line(" << Line.Level << ", FSC=" << Line.FirstStartColumn in printLine()
74 : Line(Line), Stack(Stack) { in ScopedDeclarationState()
210 if (Line.InPPDirective && Line.Level > 0) in parse()
451 (Line->InPPDirective && Line->Level == 1))) { in parseLevel()
1173 ++Line->Level; in parsePPDefine()
2000 auto I = Line->Tokens.begin(), E = Line->Tokens.end(); in parseStructuralElement()
2685 ++Line->Level; in parseUnbracedBody()
2704 --Line->Level; in parseUnbracedBody()
3209 if (Line->Level > 1 || (!Line->InPPDirective && Line->Level > 0)) in parseLabel()
3885 ++Line->Level; in parseJavaEnumBody()
[all …]
H A DUsingDeclarationsSorter.cpp95 const AnnotatedLine *Line; member
99 : Line(Line), Label(Label) {} in UsingDeclaration()
143 if (Declaration.Line->Affected) { in endUsingDeclarationBlock()
171 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
180 if ((*UsingDeclarations)[I].Line == SortedUsingDeclarations[I].Line) in endUsingDeclarationBlock()
183 auto End = (*UsingDeclarations)[I].Line->Last->Tok.getEndLoc(); in endUsingDeclarationBlock()
185 SortedUsingDeclarations[I].Line->First->Tok.getLocation(); in endUsingDeclarationBlock()
219 for (const AnnotatedLine *Line : AnnotatedLines) { in analyze() local
220 const auto *FirstTok = Line->First; in analyze()
221 if (Line->InPPDirective || !Line->startsWith(tok::kw_using) || in analyze()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-cov/
H A DSourceCoverageView.h57 unsigned Line; member
62 : FunctionName(FunctionName), Line(Line), View(std::move(View)) {} in InstantiationView()
66 return LHS.Line < RHS.Line;
74 unsigned Line; member
78 : Regions(Regions), View(std::move(View)), Line(Line) {} in BranchView()
83 return LHS.Line < RHS.Line;
91 unsigned Line; member
95 : Records(Records), View(std::move(View)), Line(Line) {} in MCDCView()
100 return LHS.Line < RHS.Line;
192 StringRef Line; member
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/LineEditor/
H A DLineEditor.cpp262 (Line[LineLen - 1] == '\n' || Line[LineLen - 1] == '\r')) 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()
310 (Line[Line.size() - 1] != '\n' && Line[Line.size() - 1] != '\r')); in readLine()
312 while (!Line.empty() && in readLine()
313 (Line[Line.size() - 1] == '\n' || Line[Line.size() - 1] == '\r')) in readLine()
314 Line.resize(Line.size() - 1); in readLine()
[all …]
/freebsd-14.2/sys/contrib/dev/acpica/components/utilities/
H A Duttrack.c185 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-14.2/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVBinaryReader.cpp470 Line->setAddress(Address); in createInstructions()
472 Instructions.push_back(Line); in createInstructions()
489 << hexValue(Line->getOffset()) << ", (" << Line->getName() in createInstructions()
614 << hexValue(Line->getOffset()) << ", (" << Line->getName() in processLines()
698 << hexValue(Line->getOffset()) << ", (" << Line->getName() in processLines()
719 for (LVLine *Line : *DebugLines) { in processLines()
736 Scope->addElement(Line); in processLines()
740 !Line->getLineNumber()) in processLines()
750 if (Line->getIsLineDebug()) in processLines()
777 [](LVLine *Line) { return !Line->getAddress(); }); in processLines() argument
[all …]
/freebsd-14.2/sys/contrib/device-tree/src/arm/
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 …]
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DLLVMContextImpl.h315 unsigned Line;
535 unsigned Line;
627 unsigned Line;
755 unsigned Line;
780 Line(Line), Type(Type), ScopeLine(ScopeLine),
881 unsigned Line;
1051 unsigned Line;
1066 Line(Line), Type(Type), IsLocalToUnit(IsLocalToUnit),
1111 unsigned Line;
1153 unsigned Line;
[all …]
/freebsd-14.2/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()
/freebsd-14.2/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.txt68 * Line Out Jack
69 * Line In Jack
103 "Line Out Jack", "AOUT1L",
104 "Line Out Jack", "AOUT1R",
105 "Line Out Jack", "AOUT2L",
106 "Line Out Jack", "AOUT2R",
107 "Line Out Jack", "AOUT3L",
111 "AIN1L", "Line In Jack",
112 "AIN1R", "Line In Jack",
113 "AIN2L", "Line In Jack",
[all …]
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp132 static bool ParseError(const char *Err, const std::string &Line) { in ParseError() argument
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()
150 const char *End = Line.c_str() + Line.size(); in ParseDFTLine()
[all …]
/freebsd-14.2/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()
/freebsd-14.2/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";
/freebsd-14.2/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
/freebsd-14.2/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeLineNumber.cpp16 const codeview::LineInfo Line, in NativeLineNumber() argument
20 : Session(Session), Line(Line), ColumnNumber(ColumnNumber), in NativeLineNumber()
24 uint32_t NativeLineNumber::getLineNumber() const { return Line.getStartLine(); } in getLineNumber()
27 return Line.getEndLine(); in getLineNumberEnd()
52 bool NativeLineNumber::isStatement() const { return Line.isStatement(); } in isStatement()
/freebsd-14.2/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DInclusionRewriter.cpp84 void WriteLineInfo(StringRef Filename, int Line,
123 OS << "#line" << ' ' << Line << ' ' << '"'; in WriteLineInfo()
129 OS << '#' << ' ' << Line << ' ' << '"'; in WriteLineInfo()
287 Line += TextToWrite.count(LocalEOL); in OutputContentUpTo()
361 LocalEOL, Line, true); in CommentOutDirective()
407 int Line = 1; // The current input file line number. in Process() local
468 NextToWrite, Line); in Process()
476 NextToWrite, Line); in Process()
511 WriteLineInfo(FileName, Line, FileType); in Process()
529 WriteLineInfo(FileName, Line, FileType); in Process()
[all …]

12345678910>>...20