Home
last modified time | relevance | path

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

123456789

/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DLineTable.h121 Collection Lines; ///< All line entries in the line table. variable
168 bool empty() const { return Lines.empty(); } in empty()
169 void clear() { Lines.clear(); } in clear()
175 if (Lines.empty()) in first()
177 return Lines.front(); in first()
184 if (Lines.empty()) in last()
186 return Lines.back(); in last()
189 Lines.push_back(LE); in push()
192 return !Lines.empty(); in isValid()
195 return Lines.size(); in size()
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DDefinitionBlockSeparator.cpp32 SmallVectorImpl<AnnotatedLine *> &Lines, tooling::Replacements &Result, in separateBlocks() argument
76 for (unsigned I = 0; I < Lines.size(); ++I) { in separateBlocks()
77 const auto &CurrentLine = Lines[I]; in separateBlocks()
96 IsAccessSpecifierToken(Lines[OpeningLineIndex - 1]->First))) { in separateBlocks()
106 const auto &Line = Lines[LineIndex]; in separateBlocks()
115 Lines[OpeningLineIndex - 1]->Last->opensScope() || in separateBlocks()
131 return FoundEnumKeyword && I + 1 < Lines.size() && in separateBlocks()
132 Lines[I + 1]->First->is(tok::l_brace); in separateBlocks()
140 if (Lines[OpeningLineIndex]->First->is(TT_CSharpGenericTypeConstraint)) in separateBlocks()
144 assert(OperateIndex < Lines.size()); in separateBlocks()
[all …]
H A DBreakableToken.cpp403 unsigned BreakableComment::getLineCount() const { return Lines.size(); } in getLineCount()
480 .split(Lines, UseCRLF ? "\r\n" : "\n"); in BreakableBlockComment()
483 Content.resize(Lines.size()); in BreakableBlockComment()
484 Content[0] = Lines[0]; in BreakableBlockComment()
485 ContentColumn.resize(Lines.size()); in BreakableBlockComment()
488 Tokens.resize(Lines.size()); in BreakableBlockComment()
489 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment()
501 if (Lines.size() >= 2 && Content[1].starts_with("**") && in BreakableBlockComment()
507 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment()
530 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 ArrayRef<AnnotatedLine *>::iterator I = Lines.begin(); in computeAffectedLines()
25 ArrayRef<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/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/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
152 Name Regions Miss Cover Lines Miss Cover
168 Name Regions Miss Cover Lines Miss Cover
176 Name Regions Miss Cover Lines Miss Cover
240 Name Regions Miss Cover Lines Miss Cover
251 Name Regions Miss Cover Lines Miss Cover
268 Name Regions Miss Cover Lines Miss Cover
[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.cpp119 YAMLLinesSubsection() : YAMLSubsectionBase(DebugSubsectionKind::Lines) {} in YAMLLinesSubsection()
128 const DebugLinesSubsectionRef &Lines);
130 SourceLineInfo Lines; member
144 const DebugInlineeLinesSubsectionRef &Lines);
277 IO.mapRequired("Lines", Obj.Lines); in mapping()
324 IO.mapRequired("CodeSize", Lines.CodeSize); in map()
326 IO.mapRequired("Flags", Lines.Flags); in map()
327 IO.mapRequired("RelocOffset", Lines.RelocOffset); in map()
328 IO.mapRequired("RelocSegment", Lines.RelocSegment); in map()
329 IO.mapRequired("Blocks", Lines.Blocks); in map()
[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/clang/lib/Driver/
H A DDistro.cpp30 SmallVector<StringRef, 16> Lines; in DetectOsRelease() local
31 File.get()->getBuffer().split(Lines, "\n"); in DetectOsRelease()
35 for (StringRef Line : Lines) in DetectOsRelease()
56 SmallVector<StringRef, 16> Lines; in DetectLsbRelease() local
57 File.get()->getBuffer().split(Lines, "\n"); in DetectLsbRelease()
60 for (StringRef Line : Lines) in DetectLsbRelease()
190 SmallVector<StringRef, 8> Lines; in DetectDistro() local
191 Data.split(Lines, "\n"); in DetectDistro()
192 for (const StringRef &Line : Lines) { in DetectDistro()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DSymbolCache.cpp471 if (SS.kind() != DebugSubsectionKind::Lines) in findLineTable()
474 DebugLinesSubsectionRef Lines; in findLineTable() local
476 if (auto EC = Lines.initialize(Reader)) { in findLineTable()
481 uint32_t RelocSegment = Lines.header()->RelocSegment; in findLineTable()
482 uint32_t RelocOffset = Lines.header()->RelocOffset; in findLineTable()
483 for (const LineColumnEntry &Group : Lines) { in findLineTable()
499 (Lines.hasColumnInfo()) ? Group.Columns.front().StartColumn : 0; in findLineTable()
508 if (Lines.hasColumnInfo() && ColIt != ColsEnd) { in findLineTable()
516 uint64_t EndAddr = StartAddr + Lines.header()->CodeSize; in findLineTable()
518 ColNum = (Lines.hasColumnInfo()) ? Group.Columns.back().StartColumn : 0; in findLineTable()
[all …]
H A DNativeEnumLineNumbers.cpp21 : Lines(std::move(LineNums)), Index(0) {} in NativeEnumLineNumbers()
24 return static_cast<uint32_t>(Lines.size()); in getChildCount()
31 return std::make_unique<NativeLineNumber>(Lines[N]); in getChildAtIndex()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DHost.cpp176 SmallVector<StringRef, 32> Lines; in getHostCPUNameForARM() local
177 ProcCpuinfoContent.split(Lines, '\n'); in getHostCPUNameForARM()
184 for (StringRef Line : Lines) { in getHostCPUNameForARM()
350 for (auto I : Lines) in getHostCPUNameForARM()
356 for (auto I : Lines) in getHostCPUNameForARM()
463 SmallVector<StringRef, 32> Lines; in getHostCPUNameForS390x() local
464 ProcCpuinfoContent.split(Lines, '\n'); in getHostCPUNameForS390x()
468 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUNameForS390x()
469 if (Lines[I].starts_with("features")) { in getHostCPUNameForS390x()
470 size_t Pos = Lines[I].find(':'); in getHostCPUNameForS390x()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugInlineeLinesSubsection.h77 bool valid() const { return Lines.valid(); }
80 Iterator begin() const { return Lines.begin(); }
81 Iterator end() const { return Lines.end(); }
85 LinesArray Lines;
H A DDebugLinesSubsection.h90 return S->kind() == DebugSubsectionKind::Lines; in classof()
113 std::vector<LineNumberEntry> Lines; member
122 return S->kind() == DebugSubsectionKind::Lines; in classof()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp83 void NotifyDebug(uint64_t CodeAddr, DILineInfoTable Lines);
282 DILineInfoTable Lines = Context->getLineInfoForAddressRange( in notifyObjectLoaded() local
285 NotifyDebug(*AddrOrErr, Lines); in notifyObjectLoaded()
439 DILineInfoTable Lines) { in NotifyDebug() argument
443 if (Lines.empty()) in NotifyDebug()
451 rec.NrEntry = Lines.size(); in NotifyDebug()
454 DILineInfoTable::iterator Begin = Lines.begin(); in NotifyDebug()
455 DILineInfoTable::iterator End = Lines.end(); in NotifyDebug()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewReader.cpp242 DebugInlineeLinesSubsectionRef &Lines, const llvm::pdb::SymbolGroup *SG) { in collectInlineeInfo() argument
243 for (const InlineeSourceLine &Line : Lines) { in collectInlineeInfo()
254 if (Lines.hasExtraFiles()) { in collectInlineeInfo()
273 DebugInlineeLinesSubsectionRef Lines; in traverseInlineeLines() local
274 if (Error E = Lines.initialize(SR)) in traverseInlineeLines()
277 return collectInlineeInfo(Lines); in traverseInlineeLines()
702 case DebugSubsectionKind::Lines: in traverseSymbolSection()
750 DebugLinesSubsectionRef Lines; in traverseSymbolSection() local
751 if (Error E = Lines.initialize(Reader)) in traverseSymbolSection()
773 uint16_t Segment = Lines.header()->RelocSegment; in traverseSymbolSection()
[all …]
/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/lib/Support/
H A DSignals.cpp196 SmallVector<StringRef, 32> Lines; in collectAddressSymbols() local
197 Output.split(Lines, "\n"); in collectAddressSymbols()
198 auto *CurLine = Lines.begin(); in collectAddressSymbols()
218 if (CurLine == Lines.end()) in collectAddressSymbols()
228 if (CurLine == Lines.end()) in collectAddressSymbols()
/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()

123456789