Home
last modified time | relevance | path

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

12345

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
HDLineTable.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()
170 Lines.push_back(LE); in push()
173 return !Lines.empty(); in isValid()
176 return Lines.size(); in size()
179 assert(i < Lines.size()); in get()
180 return Lines[i]; in get()
183 assert(i < Lines.size()); in get()
184 return Lines[i]; in get()
[all …]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Format/
HDBreakableToken.cpp269 unsigned BreakableComment::getLineCount() const { return Lines.size(); } in getLineCount()
346 .split(Lines, UseCRLF ? "\r\n" : "\n"); in BreakableBlockComment()
349 Content.resize(Lines.size()); in BreakableBlockComment()
350 Content[0] = Lines[0]; in BreakableBlockComment()
351 ContentColumn.resize(Lines.size()); in BreakableBlockComment()
354 Tokens.resize(Lines.size()); in BreakableBlockComment()
355 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment()
367 if (Lines.size() >= 2 && Content[1].startswith("**") && in BreakableBlockComment()
373 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment()
381 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) { in BreakableBlockComment()
[all …]
HDAffectedRangeManager.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()
51 if (nonPPLineAffected(Line, PreviousLine, Lines)) in computeAffectedLines()
103 SmallVectorImpl<AnnotatedLine *> &Lines) { in nonPPLineAffected() argument
144 Lines[Line->MatchingOpeningBlockLineIndex]->Affected; in nonPPLineAffected()
HDAffectedRangeManager.h34 bool computeAffectedLines(SmallVectorImpl<AnnotatedLine *> &Lines);
56 SmallVectorImpl<AnnotatedLine *> &Lines);
HDUnwrappedLineFormatter.h40 unsigned format(const SmallVectorImpl<AnnotatedLine *> &Lines,
50 const SmallVectorImpl<AnnotatedLine *> &Lines,
HDUnwrappedLineFormatter.cpp165 const SmallVectorImpl<AnnotatedLine *> &Lines) in LineJoiner() argument
166 : Style(Style), Keywords(Keywords), End(Lines.end()), Next(Lines.begin()), in LineJoiner()
167 AnnotatedLines(Lines) {} in LineJoiner()
1068 const SmallVectorImpl<AnnotatedLine *> &Lines, bool DryRun, in format() argument
1071 LineJoiner Joiner(Style, Keywords, Lines); in format()
1075 &Lines, AdditionalIndent); in format()
1080 assert(!Lines.empty()); in format()
1082 LevelIndentTracker IndentTracker(Style, Keywords, Lines[0]->Level, in format()
1122 formatFirstToken(TheLine, PreviousLine, Lines, Indent, in format()
1168 formatFirstToken(TheLine, PreviousLine, Lines, in format()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ObjectYAML/
HDCodeViewYAMLDebugSections.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()
326 IO.mapRequired("CodeSize", Lines.CodeSize); in map()
328 IO.mapRequired("Flags", Lines.Flags); in map()
329 IO.mapRequired("RelocOffset", Lines.RelocOffset); in map()
330 IO.mapRequired("RelocSegment", Lines.RelocSegment); in map()
331 IO.mapRequired("Blocks", Lines.Blocks); in map()
[all …]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
HDHost.cpp155 SmallVector<StringRef, 32> Lines; in getHostCPUNameForARM() local
156 ProcCpuinfoContent.split(Lines, "\n"); in getHostCPUNameForARM()
161 for (unsigned I = 0, E = Lines.size(); I != E; ++I) { in getHostCPUNameForARM()
162 if (Lines[I].startswith("CPU implementer")) in getHostCPUNameForARM()
163 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUNameForARM()
164 if (Lines[I].startswith("Hardware")) in getHostCPUNameForARM()
165 Hardware = Lines[I].substr(8).ltrim("\t :"); in getHostCPUNameForARM()
176 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUNameForARM()
177 if (Lines[I].startswith("CPU part")) in getHostCPUNameForARM()
181 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUNameForARM()
[all …]
HDSignals.cpp179 SmallVector<StringRef, 32> Lines; in printSymbolizedStackTrace() local
180 Output.split(Lines, "\n"); in printSymbolizedStackTrace()
181 auto CurLine = Lines.begin(); in printSymbolizedStackTrace()
197 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
205 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
HDSpecialCaseList.cpp130 SmallVector<StringRef, 16> Lines; in parse() local
131 MB->getBuffer().split(Lines, '\n'); in parse()
136 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
HDDebugLinesSubsection.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(makeArrayRef(B.Lines))) in commit()
141 Size += B.Lines.size() * sizeof(LineNumberEntry); in calculateSerializedSize()
HDDebugInlineeLinesSubsection.cpp49 Lines.getExtractor().HasExtraFiles = hasExtraFiles(); in initialize()
50 if (auto EC = Reader.readArray(Lines, Reader.bytesRemaining())) in initialize()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Driver/
HDDistro.cpp42 SmallVector<StringRef, 16> Lines; in DetectDistro() local
43 Data.split(Lines, "\n"); in DetectDistro()
45 for (StringRef Line : Lines) in DetectDistro()
134 SmallVector<StringRef, 8> Lines; in DetectDistro() local
135 Data.split(Lines, "\n"); in DetectDistro()
136 for (const StringRef& Line : Lines) { in DetectDistro()
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
HDDebugInlineeLinesSubsection.h77 bool valid() const { return Lines.valid(); }
80 Iterator begin() const { return Lines.begin(); }
81 Iterator end() const { return Lines.end(); }
85 LinesArray Lines;
HDDebugLinesSubsection.h88 return S->kind() == DebugSubsectionKind::Lines; in classof()
111 std::vector<LineNumberEntry> Lines; member
120 return S->kind() == DebugSubsectionKind::Lines; in classof()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
HDPerfJITEventListener.cpp81 void NotifyDebug(uint64_t CodeAddr, DILineInfoTable Lines);
280 DILineInfoTable Lines = Context->getLineInfoForAddressRange( in notifyObjectLoaded() local
283 NotifyDebug(*AddrOrErr, Lines); in notifyObjectLoaded()
434 DILineInfoTable Lines) { in NotifyDebug() argument
438 if (Lines.empty()) in NotifyDebug()
446 rec.NrEntry = Lines.size(); in NotifyDebug()
449 DILineInfoTable::iterator Begin = Lines.begin(); in NotifyDebug()
450 DILineInfoTable::iterator End = Lines.end(); in NotifyDebug()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/OProfileJIT/
HDOProfileJITEventListener.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-11-stable/usr.bin/tset/
HDtset.c68 int Lines, Columns; /* window size */ variable
163 Lines = tgetnum("li"); in main()
169 Lines > 0 && Columns > 0) { in main()
170 win.ws_row = Lines; in main()
/freebsd-11-stable/lib/libc/net/
HDnsparser.y68 | Lines
71 Lines
73 | Lines Entry
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
HDLineTable.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-11-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
HDPrettyCompilandDumper.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()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
HDIntelJITEventListener.cpp161 DILineInfoTable Lines = in notifyObjectLoaded() local
163 DILineInfoTable::iterator Begin = Lines.begin(); in notifyObjectLoaded()
164 DILineInfoTable::iterator End = Lines.end(); in notifyObjectLoaded()
186 SourceFileName = Lines.front().second.FileName; in notifyObjectLoaded()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
HDPDBSymbolData.cpp35 if (auto Lines = getLineNumbers()) { in getCompilandId() local
36 if (auto FirstLine = Lines->getNext()) in getCompilandId()
HDPDBSymbolFunc.cpp105 if (auto Lines = getLineNumbers()) { in getCompilandId() local
106 if (auto FirstLine = Lines->getNext()) { in getCompilandId()
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
HDBlockExtractor.cpp114 SmallVector<StringRef, 16> Lines; in loadFile() local
115 Buf->getBuffer().split(Lines, '\n', /*MaxSplit=*/-1, in loadFile()
117 for (const auto &Line : Lines) { in loadFile()

12345