Home
last modified time | relevance | path

Searched refs:reachedEnd (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/index/dex/
DIterator.cpp32 ReachedEnd |= Child->reachedEnd(); in AndIterator()
47 bool reachedEnd() const override { return ReachedEnd; } in reachedEnd() function in clang::clangd::dex::__anon27ed63d30111::AndIterator
51 assert(!reachedEnd() && "AND iterator can't advance() at the end."); in advance()
58 assert(!reachedEnd() && "AND iterator can't advanceTo() at the end."); in advanceTo()
66 assert(!reachedEnd() && "AND iterator can't consume() at the end."); in consume()
92 ReachedEnd |= Children.front()->reachedEnd(); in sync()
102 ReachedEnd |= Child->reachedEnd(); in sync()
142 bool reachedEnd() const override { in reachedEnd() function in clang::clangd::dex::__anon27ed63d30111::OrIterator
144 if (!Child->reachedEnd()) in reachedEnd()
151 assert(!reachedEnd() && "OR iterator can't advance() at the end."); in advance()
[all …]
DPostingList.cpp34 bool reachedEnd() const override { return CurrentChunk == Chunks.end(); } in reachedEnd() function in clang::clangd::dex::__anon3b77e8490111::ChunkIterator
38 assert(!reachedEnd() && in advance()
47 assert(!reachedEnd() && in advanceTo()
59 assert(!reachedEnd() && "Posting List iterator can't peek() at the end."); in peek()
64 assert(!reachedEnd() && in consume()
DIterator.h58 virtual bool reachedEnd() const = 0;
/external/llvm-project/clang-tools-extra/clangd/unittests/
DDexTests.cpp53 EXPECT_FALSE(DocIterator->reachedEnd()); in TEST()
57 EXPECT_FALSE(DocIterator->reachedEnd()); in TEST()
61 EXPECT_FALSE(DocIterator->reachedEnd()); in TEST()
65 EXPECT_FALSE(DocIterator->reachedEnd()); in TEST()
68 EXPECT_TRUE(DocIterator->reachedEnd()); in TEST()
78 EXPECT_FALSE(And->reachedEnd()); in TEST()
108 EXPECT_TRUE(And->reachedEnd()); in TEST()
120 EXPECT_TRUE(And->reachedEnd()); in TEST()
130 EXPECT_FALSE(Or->reachedEnd()); in TEST()
149 EXPECT_TRUE(Or->reachedEnd()); in TEST()
[all …]