Home
last modified time | relevance | path

Searched refs:Lines (Results 1 – 25 of 199) sorted by relevance

12345678

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLineTable.h120 Collection Lines; ///< All line entries in the line table. variable
167 bool empty() const { return Lines.empty(); } in empty()
168 void clear() { Lines.clear(); } in clear()
174 if (Lines.empty()) in first()
176 return Lines.front(); in first()
183 if (Lines.empty()) in last()
185 return Lines.back(); in last()
188 Lines.push_back(LE); in push()
191 return !Lines.empty(); in isValid()
194 return Lines.size(); in size()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/ADT/
H A DStringMap.h29 std::vector<std::string> Lines; variable
33 Lines.push_back(SS.str());
35 llvm::sort(Lines);
36 Lines.insert(Lines.begin(), "{");
37 Lines.insert(Lines.end(), "}");
40 make_range(Lines.begin(), Lines.end()))
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.cpp416 unsigned BreakableComment::getLineCount() const { return Lines.size(); } in getLineCount()
493 .split(Lines, UseCRLF ? "\r\n" : "\n"); in BreakableBlockComment()
496 Content.resize(Lines.size()); in BreakableBlockComment()
497 Content[0] = Lines[0]; in BreakableBlockComment()
498 ContentColumn.resize(Lines.size()); in BreakableBlockComment()
501 Tokens.resize(Lines.size()); in BreakableBlockComment()
502 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment()
514 if (Lines.size() >= 2 && Content[1].starts_with("**") && in BreakableBlockComment()
520 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment()
543 for (size_t i = 1, e = Lines.size(); i < e; ++i) { in BreakableBlockComment()
[all …]
H A DAffectedRangeManager.cpp23 SmallVectorImpl<AnnotatedLine *> &Lines) { in computeAffectedLines() argument
24 SmallVectorImpl<AnnotatedLine *>::iterator I = Lines.begin(); in computeAffectedLines()
25 SmallVectorImpl<AnnotatedLine *>::iterator E = Lines.end(); in computeAffectedLines()
52 if (nonPPLineAffected(Line, PreviousLine, Lines)) in computeAffectedLines()
103 SmallVectorImpl<AnnotatedLine *> &Lines) { in nonPPLineAffected() argument
145 Lines[Line->MatchingOpeningBlockLineIndex]->Affected; in nonPPLineAffected()
H A DAffectedRangeManager.h34 bool computeAffectedLines(SmallVectorImpl<AnnotatedLine *> &Lines);
56 SmallVectorImpl<AnnotatedLine *> &Lines);
H A DUnwrappedLineFormatter.h38 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines,
49 const SmallVectorImpl<AnnotatedLine *> &Lines,
/freebsd/contrib/libfido2/fuzz/
H A Dfunctions.txt2 Name Regions Miss Cover Lines Miss Cover
16 Name Regions Miss Cover Lines Miss Cover
85 Name Regions Miss Cover Lines Miss Cover
96 Name Regions Miss Cover Lines Miss Cover
151 Name Regions Miss Cover Lines Miss Cover
167 Name Regions Miss Cover Lines Miss Cover
175 Name Regions Miss Cover Lines Miss Cover
236 Name Regions Miss Cover Lines Miss Cover
247 Name Regions Miss Cover Lines Miss Cover
264 Name Regions Miss Cover Lines Mis
[all...]
/freebsd/contrib/llvm-project/clang/lib/ExtractAPI/
H A DAPIIgnoresList.cpp37 SmallVector<StringRef, 32> Lines; in create() local
47 Buffer->getBuffer().split(Lines, '\n', /*MaxSplit*/ -1, in create()
54 transform(Lines, Lines.begin(), [](StringRef Line) { return Line.trim(); }); in create()
55 sort(Lines); in create()
56 return APIIgnoresList(std::move(Lines), std::move(symbolBufferList)); in create()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLDebugSections.cpp121 YAMLLinesSubsection() : YAMLSubsectionBase(DebugSubsectionKind::Lines) {} in YAMLLinesSubsection()
130 const DebugLinesSubsectionRef &Lines);
132 SourceLineInfo Lines; member
146 const DebugInlineeLinesSubsectionRef &Lines);
279 IO.mapRequired("Lines", Obj.Lines); in mapping()
325 IO.mapTag("!Lines", true); in map()
326 IO.mapRequired("CodeSize", Lines.CodeSize); in map()
328 IO.mapRequired("Flags", Lines.Flags); in map()
329 IO.mapRequired("RelocOffset", Lines in map()
583 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugLinesSubsectionRef & Lines) fromCodeViewSubsection() argument
621 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugInlineeLinesSubsectionRef & Lines) fromCodeViewSubsection() argument
799 visitLines(DebugLinesSubsectionRef & Lines,const StringsAndChecksumsRef & State) visitLines() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DDebugLinesSubsection.cpp54 : DebugSubsectionRef(DebugSubsectionKind::Lines) {} in DebugLinesSubsectionRef()
73 : DebugSubsection(DebugSubsectionKind::Lines), Checksums(Checksums) {} in DebugLinesSubsection()
86 B.Lines.push_back(LNE); in addLineInfo()
94 assert(B.Lines.size() == B.Columns.size()); in addLineAndColumnInfo()
115 assert(B.Lines.size() == B.Columns.size() || B.Columns.empty()); in commit()
117 BlockHeader.NumLines = B.Lines.size(); in commit()
126 if (auto EC = Writer.writeArray(ArrayRef(B.Lines))) in commit()
141 Size += B.Lines.size() * sizeof(LineNumberEntry); in calculateSerializedSize()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp166 SmallVector<StringRef, 32> Lines; in getHostCPUNameForARM() local
167 ProcCpuinfoContent.split(Lines, "\n"); in getHostCPUNameForARM()
173 for (unsigned I = 0, E = Lines.size(); I != E; ++I) { in getHostCPUNameForARM()
174 if (Lines[I].starts_with("CPU implementer")) in getHostCPUNameForARM()
175 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUNameForARM()
176 if (Lines[I].starts_with("Hardware")) in getHostCPUNameForARM()
177 Hardware = Lines[I].substr(8).ltrim("\t :"); in getHostCPUNameForARM()
178 if (Lines[I].starts_with("CPU part")) in getHostCPUNameForARM()
179 Part = Lines[I].substr(8).ltrim("\t :"); in getHostCPUNameForARM()
318 for (auto I : Lines) in getHostCPUNameForARM()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DDistro.cpp31 SmallVector<StringRef, 16> Lines; in DetectOsRelease() local
32 File.get()->getBuffer().split(Lines, "\n"); in DetectOsRelease()
36 for (StringRef Line : Lines) in DetectOsRelease()
57 SmallVector<StringRef, 16> Lines; in DetectLsbRelease() local
58 File.get()->getBuffer().split(Lines, "\n"); in DetectLsbRelease()
61 for (StringRef Line : Lines) in DetectLsbRelease()
183 SmallVector<StringRef, 8> Lines; in DetectDistro() local
184 Data.split(Lines, "\n"); in DetectDistro()
185 for (const StringRef &Line : Lines) { in DetectDistro()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp467 if (SS.kind() != DebugSubsectionKind::Lines) in findLineTable()
470 DebugLinesSubsectionRef Lines; in findLineTable() local
472 if (auto EC = Lines.initialize(Reader)) { in findLineTable()
477 uint32_t RelocSegment = Lines.header()->RelocSegment; in findLineTable()
478 uint32_t RelocOffset = Lines.header()->RelocOffset; in findLineTable()
479 for (const LineColumnEntry &Group : Lines) { in findLineTable()
495 (Lines.hasColumnInfo()) ? Group.Columns.front().StartColumn : 0; in findLineTable()
504 if (Lines.hasColumnInfo() && ColIt != ColsEnd) { in findLineTable()
512 uint64_t EndAddr = StartAddr + Lines.header()->CodeSize; in findLineTable()
514 ColNum = (Lines.hasColumnInfo()) ? Group.Columns.back().StartColumn : 0; in findLineTable()
[all …]
H A DNativeEnumLineNumbers.cpp23 : Lines(std::move(LineNums)), Index(0) {} in NativeEnumLineNumbers()
26 return static_cast<uint32_t>(Lines.size()); in getChildCount()
33 return std::make_unique<NativeLineNumber>(Lines[N]); in getChildAtIndex()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugInlineeLinesSubsection.h76 bool valid() const { return Lines.valid(); }
79 Iterator begin() const { return Lines.begin(); }
80 Iterator end() const { return Lines.end(); }
84 LinesArray Lines;
H A DDebugLinesSubsection.h89 return S->kind() == DebugSubsectionKind::Lines; in classof()
112 std::vector<LineNumberEntry> Lines; member
121 return S->kind() == DebugSubsectionKind::Lines; in classof()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp79 void NotifyDebug(uint64_t CodeAddr, DILineInfoTable Lines);
279 DILineInfoTable Lines = Context->getLineInfoForAddressRange( in notifyObjectLoaded() local
282 NotifyDebug(*AddrOrErr, Lines); in notifyObjectLoaded()
436 DILineInfoTable Lines) { in NotifyDebug() argument
440 if (Lines.empty()) in NotifyDebug()
448 rec.NrEntry = Lines.size(); in NotifyDebug()
451 DILineInfoTable::iterator Begin = Lines.begin(); in NotifyDebug()
452 DILineInfoTable::iterator End = Lines.end(); in NotifyDebug()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp247 DebugInlineeLinesSubsectionRef &Lines, const llvm::pdb::SymbolGroup *SG) {
248 for (const InlineeSourceLine &Line : Lines) { in collectInlineeInfo()
259 if (Lines.hasExtraFiles()) { in collectInlineeInfo()
278 DebugInlineeLinesSubsectionRef Lines; in traverseInlineeLines()
279 if (Error E = Lines.initialize(SR)) in traverseInlineeLines()
282 return collectInlineeInfo(Lines); in traverseInlineeLines()
707 case DebugSubsectionKind::Lines: in traverseSymbolSection()
756 DebugLinesSubsectionRef Lines; in traverseSymbolSection()
757 if (Error E = Lines.initialize(Reader)) in traverseSymbolSection() local
779 uint16_t Segment = Lines in traverseSymbolSection()
249 collectInlineeInfo(DebugInlineeLinesSubsectionRef & Lines,const llvm::pdb::SymbolGroup * SG) collectInlineeInfo() argument
280 DebugInlineeLinesSubsectionRef Lines; traverseInlineeLines() local
964 __anonf382f8f70702(int32_t Modi, const SymbolGroup &SG, DebugInlineeLinesSubsectionRef &Lines) createScopes() argument
1077 __anonf382f8f70902(int32_t Modi, const SymbolGroup &SG, DebugLinesSubsectionRef &Lines) createScopes() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSignals.cpp217 SmallVector<StringRef, 32> Lines; in printSymbolizedStackTrace()
218 Output.split(Lines, "\n"); in printSymbolizedStackTrace()
219 auto CurLine = Lines.begin(); in printSymbolizedStackTrace()
235 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
243 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
216 SmallVector<StringRef, 32> Lines; printSymbolizedStackTrace() local
H A DSpecialCaseList.cpp126 SmallVector<StringRef, 16> Lines; parse() local
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
H A DOProfileJITEventListener.cpp115 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); in notifyObjectLoaded() local
117 size_t num_entries = Lines.size(); in notifyObjectLoaded()
122 for (auto& It : Lines) { in notifyObjectLoaded()
126 const_cast<char *>(Lines.front().second.FileName.c_str()); in notifyObjectLoaded()
/freebsd/lib/libc/net/
H A Dnsparser.y67 | Lines
70 Lines
72 | Lines Entry
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/Symbolize/
H A DDIPrinter.cpp36 if (Lines <= 0) in load()
71 const int Lines; member in llvm::symbolize::SourceCode
76 SourceCode(StringRef FileName, int64_t Line, int Lines, in SourceCode() argument
79 : Line(Line), Lines(Lines), in SourceCode()
80 FirstLine(std::max(static_cast<int64_t>(1), Line - Lines / 2)), in SourceCode()
81 LastLine(FirstLine + Lines - 1), in SourceCode()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DLineTable.cpp133 if (Lines.size() == 1) { in encode()
139 for (const auto &line_entry : Lines) { in encode()
193 LineEntry Prev(BaseAddr, 1, Lines.front().Line); in encode()
201 for (const auto &Curr : Lines) { in encode()
255 LT.Lines.push_back(Row); in decode()
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp56 if (opts & Flags::Lines) { in start()
70 auto Lines = Session.findLineNumbers(Symbol, *File); in start() local
71 if (!Lines) in start()
75 while (auto Line = Lines->getNext()) { in start()

12345678