Home
last modified time | relevance | path

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

1234567

/external/clang/lib/Format/
DBreakableToken.cpp259 TokenText.substr(2, TokenText.size() - 4).split(Lines, "\n"); in BreakableBlockComment()
262 LeadingWhitespace.resize(Lines.size()); in BreakableBlockComment()
263 StartOfLineColumn.resize(Lines.size()); in BreakableBlockComment()
265 for (size_t i = 1; i < Lines.size(); ++i) in BreakableBlockComment()
269 if (Lines.size() == 1 && !FirstInLine) { in BreakableBlockComment()
277 for (size_t i = 1, e = Lines.size(); i < e && !Decoration.empty(); ++i) { in BreakableBlockComment()
279 if (i + 1 == e && Lines[i].empty()) in BreakableBlockComment()
281 if (!Lines[i].empty() && i + 1 != e && Decoration.startswith(Lines[i])) in BreakableBlockComment()
283 while (!Lines[i].startswith(Decoration)) in BreakableBlockComment()
289 for (size_t i = 1; i < Lines.size(); ++i) { in BreakableBlockComment()
[all …]
DUnwrappedLineFormatter.cpp132 const SmallVectorImpl<AnnotatedLine *> &Lines) in LineJoiner() argument
133 : Style(Style), Keywords(Keywords), End(Lines.end()), in LineJoiner()
134 Next(Lines.begin()) {} in LineJoiner()
797 UnwrappedLineFormatter::format(const SmallVectorImpl<AnnotatedLine *> &Lines, in format() argument
800 LineJoiner Joiner(Style, Keywords, Lines); in format()
804 &Lines, AdditionalIndent); in format()
809 assert(!Lines.empty()); in format()
811 LevelIndentTracker IndentTracker(Style, Keywords, Lines[0]->Level, in format()
/external/llvm/test/tools/llvm-cov/Inputs/
Dtest_-f.output2 Lines executed:100.00% of 1
5 Lines executed:0.00% of 1
8 Lines executed:0.00% of 1
11 Lines executed:100.00% of 2
14 Lines executed:0.00% of 2
17 Lines executed:100.00% of 3
20 Lines executed:100.00% of 4
23 Lines executed:91.67% of 24
26 Lines executed:100.00% of 1
29 Lines executed:100.00% of 1
[all …]
Dtest_-b_-f.output2 Lines executed:100.00% of 1
7 Lines executed:0.00% of 1
12 Lines executed:0.00% of 1
17 Lines executed:100.00% of 2
22 Lines executed:0.00% of 2
27 Lines executed:100.00% of 3
32 Lines executed:100.00% of 4
38 Lines executed:91.67% of 24
44 Lines executed:100.00% of 1
54 Lines executed:84.21% of 38
[all …]
Dtest_no_output.output2 Lines executed:84.21% of 38
5 Lines executed:100.00% of 1
Dtest_no_gcda.output2 Lines executed:0.00% of 38
6 Lines executed:0.00% of 1
Dtest_no_options.output2 Lines executed:84.21% of 38
6 Lines executed:100.00% of 1
Dtest_no_preserve_paths.output2 Lines executed:100.00% of 1
6 Lines executed:84.21% of 38
Dtest_missing.output2 Lines executed:100.00% of 1
6 Lines executed:84.21% of 38
Dtest_long_file_names.output2 Lines executed:100.00% of 1
6 Lines executed:84.21% of 38
Dtest_preserve_paths.output2 Lines executed:100.00% of 1
6 Lines executed:84.21% of 38
Dtest_-b.output2 Lines executed:84.21% of 38
9 Lines executed:100.00% of 1
Dtest_long_paths.output2 Lines executed:100.00% of 1
6 Lines executed:84.21% of 38
/external/llvm/lib/Support/
DHost.cpp1047 SmallVector<StringRef, 32> Lines; in getHostCPUName() local
1048 Str.split(Lines, "\n"); in getHostCPUName()
1052 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
1053 if (Lines[I].startswith("CPU implementer")) in getHostCPUName()
1054 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUName()
1058 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
1059 if (Lines[I].startswith("CPU part")) in getHostCPUName()
1063 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUName()
1079 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
1080 if (Lines[I].startswith("CPU part")) in getHostCPUName()
[all …]
DSignals.cpp145 SmallVector<StringRef, 32> Lines; in printSymbolizedStackTrace() local
146 Output.split(Lines, "\n"); in printSymbolizedStackTrace()
147 auto CurLine = Lines.begin(); in printSymbolizedStackTrace()
157 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
165 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
DSpecialCaseList.cpp89 SmallVector<StringRef, 16> Lines; in parse() local
90 SplitString(MB->getBuffer(), Lines, "\n\r"); in parse()
92 for (auto I = Lines.begin(), E = Lines.end(); I != E; ++I, ++LineNo) { in parse()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DHost.cpp1089 SmallVector<StringRef, 32> Lines; in getHostCPUName() local
1090 Str.split(Lines, "\n"); in getHostCPUName()
1094 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
1095 if (Lines[I].startswith("CPU implementer")) in getHostCPUName()
1096 Implementer = Lines[I].substr(15).ltrim("\t :"); in getHostCPUName()
1100 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
1101 if (Lines[I].startswith("CPU part")) in getHostCPUName()
1105 return StringSwitch<const char *>(Lines[I].substr(8).ltrim("\t :")) in getHostCPUName()
1121 for (unsigned I = 0, E = Lines.size(); I != E; ++I) in getHostCPUName()
1122 if (Lines[I].startswith("CPU part")) in getHostCPUName()
[all …]
DSignals.cpp145 SmallVector<StringRef, 32> Lines; in printSymbolizedStackTrace() local
146 Output.split(Lines, "\n"); in printSymbolizedStackTrace()
147 auto CurLine = Lines.begin(); in printSymbolizedStackTrace()
157 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
165 if (CurLine == Lines.end()) in printSymbolizedStackTrace()
/external/swiftshader/third_party/LLVM/lib/VMCore/
DGCOV.cpp175 DeleteContainerSeconds(Lines); in ~GCOVBlock()
179 GCOVLines *&LinesForFile = Lines[Filename]; in addLine()
188 for (StringMap<GCOVLines *>::iterator I = Lines.begin(), in collectLineCounts()
189 E = Lines.end(); I != E; ++I) in collectLineCounts()
203 if (!Lines.empty()) { in dump()
205 for (StringMap<GCOVLines *>::iterator LI = Lines.begin(), in dump()
206 LE = Lines.end(); LI != LE; ++LI) { in dump()
221 for (SmallVector<uint32_t, 16>::iterator I = Lines.begin(), in collectLineCounts()
222 E = Lines.end(); I != E; ++I) in collectLineCounts()
228 for (SmallVector<uint32_t, 16>::iterator I = Lines.begin(), in dump()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp166 Lines.push_back(Line); in addLine()
171 return lengthOfGCOVString(Filename) + 2 + Lines.size(); in length()
177 for (int i = 0, e = Lines.size(); i != e; ++i) in writeOut()
178 write(Lines[i]); in writeOut()
188 SmallVector<uint32_t, 32> Lines; member in __anonebae53380211::GCOVLines
197 GCOVLines *&Lines = LinesByFile[Filename]; in getFile() local
198 if (!Lines) { in getFile()
199 Lines = new GCOVLines(Filename, os); in getFile()
201 return *Lines; in getFile()
400 GCOVLines &Lines = Block.getFile(SP.getFilename()); in emitGCNO() local
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DGCOV.h198 StringMap<GCOVLines *> Lines; variable
204 ~GCOVLines() { Lines.clear(); } in ~GCOVLines()
205 void add(uint32_t N) { Lines.push_back(N); } in add()
210 SmallVector<uint32_t, 4> Lines;
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
DIntelJITEventListener.cpp148 DILineInfoTable Lines = Context->getLineInfoForAddressRange(Addr, Size); in NotifyObjectEmitted() local
149 DILineInfoTable::iterator Begin = Lines.begin(); in NotifyObjectEmitted()
150 DILineInfoTable::iterator End = Lines.end(); in NotifyObjectEmitted()
172 SourceFileName = Lines.front().second.FileName; in NotifyObjectEmitted()
/external/llvm/lib/DebugInfo/CodeView/
DModuleSubstreamVisitor.cpp20 const LineInfoArray &Lines) { in visitLines() argument
21 return visitUnknown(ModuleSubstreamKind::Lines, Data); in visitLines()
63 case ModuleSubstreamKind::Lines: { in visitModuleSubstream()
/external/llvm/lib/Transforms/Instrumentation/
DGCOVProfiling.cpp222 Lines.push_back(Line); in addLine()
227 return lengthOfGCOVString(Filename) + 2 + Lines.size(); in length()
233 for (int i = 0, e = Lines.size(); i != e; ++i) in writeOut()
234 write(Lines[i]); in writeOut()
244 SmallVector<uint32_t, 32> Lines; member in __anonb9b0140c0211::GCOVLines
254 GCOVLines *&Lines = LinesByFile[Filename]; in getFile() local
255 if (!Lines) { in getFile()
256 Lines = new GCOVLines(Filename, os); in getFile()
258 return *Lines; in getFile()
563 GCOVLines &Lines = Block.getFile(SP->getFilename()); in emitProfileNotes() local
[all …]
/external/llvm/tools/llvm-pdbdump/
DCompilandDumper.cpp56 if (opts & Flags::Lines) { in start()
64 auto Lines = Session.findLineNumbers(Symbol, *File); in start() local
66 while (auto Line = Lines->getNext()) { in start()

1234567