Home
last modified time | relevance | path

Searched refs:line_iterator (Results 1 – 25 of 49) sorted by relevance

12

/external/llvm/unittests/Support/
DLineIteratorTest.cpp24 line_iterator I = line_iterator(*Buffer), E; in TEST()
53 line_iterator I = line_iterator(*Buffer, true, '#'), E; in TEST()
83 line_iterator I = line_iterator(*Buffer, false, '#'), E; in TEST()
116 line_iterator I = line_iterator(*Buffer), E; in TEST()
138 line_iterator I = line_iterator(*Buffer, false), E; in TEST()
171 EXPECT_TRUE(line_iterator(*Buffer).is_at_eof()); in TEST()
172 EXPECT_EQ(line_iterator(), line_iterator(*Buffer)); in TEST()
173 EXPECT_TRUE(line_iterator(*Buffer, false).is_at_eof()); in TEST()
174 EXPECT_EQ(line_iterator(), line_iterator(*Buffer, false)); in TEST()
177 EXPECT_TRUE(line_iterator(*Buffer).is_at_eof()); in TEST()
[all …]
/external/llvm-project/llvm/unittests/Support/
DLineIteratorTest.cpp23 line_iterator I = line_iterator(*Buffer), E; in TEST()
47 line_iterator I = line_iterator(Buffer->getMemBufferRef()), E; in TEST()
76 line_iterator I = line_iterator(*Buffer, true, '#'), E; in TEST()
106 line_iterator I = line_iterator(*Buffer, false, '#'), E; in TEST()
139 line_iterator I = line_iterator(*Buffer), E; in TEST()
161 line_iterator I = line_iterator(*Buffer, false), E; in TEST()
194 EXPECT_TRUE(line_iterator(*Buffer).is_at_eof()); in TEST()
195 EXPECT_EQ(line_iterator(), line_iterator(*Buffer)); in TEST()
196 EXPECT_TRUE(line_iterator(*Buffer, false).is_at_eof()); in TEST()
197 EXPECT_EQ(line_iterator(), line_iterator(*Buffer, false)); in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/Support/
DLineIterator.h33 class line_iterator
44 line_iterator() = default;
47 explicit line_iterator(const MemoryBufferRef &Buffer, bool SkipBlanks = true,
51 explicit line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks = true,
64 line_iterator &operator++() {
68 line_iterator operator++(int) {
69 line_iterator tmp(*this);
78 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) {
83 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) {
/external/llvm/include/llvm/Support/
DLineIterator.h32 class line_iterator
43 line_iterator() : Buffer(nullptr) {} in line_iterator() function
46 explicit line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks = true,
59 line_iterator &operator++() {
63 line_iterator operator++(int) {
64 line_iterator tmp(*this);
73 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) {
78 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) {
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DLineIterator.h31 class line_iterator
42 line_iterator() = default;
45 explicit line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks = true,
58 line_iterator &operator++() {
62 line_iterator operator++(int) {
63 line_iterator tmp(*this);
72 friend bool operator==(const line_iterator &LHS, const line_iterator &RHS) {
77 friend bool operator!=(const line_iterator &LHS, const line_iterator &RHS) {
/external/llvm-project/llvm/lib/Support/
DLineIterator.cpp34 line_iterator::line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks, in line_iterator() function in line_iterator
36 : line_iterator(Buffer.getMemBufferRef(), SkipBlanks, CommentMarker) {} in line_iterator()
38 line_iterator::line_iterator(const MemoryBufferRef &Buffer, bool SkipBlanks, in line_iterator() function in line_iterator
54 void line_iterator::advance() { in advance()
DSymbolRemappingReader.cpp28 line_iterator LineIt(B, /*SkipBlanks=*/true, '#'); in read()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DLineIterator.cpp34 line_iterator::line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks, in line_iterator() function in line_iterator
50 void line_iterator::advance() { in advance()
DSymbolRemappingReader.cpp28 line_iterator LineIt(B, /*SkipBlanks=*/true, '#'); in read()
/external/llvm/lib/Support/
DLineIterator.cpp35 line_iterator::line_iterator(const MemoryBuffer &Buffer, bool SkipBlanks, in line_iterator() function in line_iterator
51 void line_iterator::advance() { in advance()
/external/llvm/lib/DebugInfo/Symbolize/
DDIPrinter.cpp54 for (line_iterator I = line_iterator(*Buf, false); in printContext()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/Symbolize/
DDIPrinter.cpp49 for (line_iterator I = line_iterator(*Buf, false); in printContext()
/external/llvm-project/llvm/lib/DebugInfo/Symbolize/
DDIPrinter.cpp49 for (line_iterator I = line_iterator(*Buf, false); in printContext()
/external/ltp/
Dexecltp.in132 line_iterator = getattr(fd, 'xreadlines', getattr(fd, 'readlines'))
149 line = next(line_iterator)
164 line = next(line_iterator)
/external/llvm-project/llvm/tools/llvm-cxxmap/
Dllvm-cxxmap.cpp88 for (line_iterator LineIt(NewSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols()
110 for (line_iterator LineIt(OldSymbolFile, /*SkipBlanks=*/true, '#'); in remapSymbols()
/external/llvm-project/llvm/tools/llvm-opt-report/
DOptReport.cpp298 for (line_iterator LI(*Buf.get(), false); LI != line_iterator(); ++LI) in writeReport()
303 for (line_iterator LI(*Buf.get(), false); LI != line_iterator(); ++LI) { in writeReport()
/external/llvm-project/llvm/lib/Analysis/
DReplayInlineAdvisor.cpp37 line_iterator LineIt(*BufferOrErr.get(), /*SkipBlanks=*/true); in ReplayInlineAdvisor()
/external/llvm-project/clang-tools-extra/clangd/xpc/test-client/
DClangdXPCTestClient.cpp88 for (llvm::line_iterator It(**Stdin, /*SkipBlanks=*/true, in main()
/external/llvm-project/clang/lib/Analysis/
DIssueHash.cpp129 llvm::line_iterator LI(*Buffer, false); in GetNthLineOfFile()
/external/clang/lib/StaticAnalyzer/Core/
DIssueHash.cpp122 llvm::line_iterator LI(*Buffer, false); in GetNthLineOfFile()
/external/llvm-project/llvm/lib/Transforms/IPO/
DInternalize.cpp83 for (line_iterator I(*Buf->get(), true), E; I != E; ++I) in LoadFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DInternalize.cpp83 for (line_iterator I(*Buf->get(), true), E; I != E; ++I) in LoadFile()
/external/llvm-project/llvm/tools/split-file/
Dsplit-file.cpp70 for (line_iterator i(inputBuf, /*SkipBlanks=*/false, '\0'); !i.is_at_eof();) { in handle()
/external/llvm/tools/llvm-cov/
DSourceCoverageView.cpp159 for (line_iterator LI(File, /*SkipBlanks=*/false); !LI.is_at_eof(); ++LI) { in print()
/external/llvm-project/llvm/tools/llvm-cov/
DSourceCoverageView.cpp206 for (line_iterator LI(File, /*SkipBlanks=*/false); !LI.is_at_eof(); in print()

12