Home
last modified time | relevance | path

Searched refs:HasNext (Results 1 – 25 of 93) sorted by relevance

1234

/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/
DRewriteRuleXxxxStreamFixture.cs100 Assert.IsFalse(tokenTest.HasNext, "tokenTest has to give back false here."); in CheckRRTokenStreamBehaviourWhileEmpty1()
119 Assert.IsFalse(subtreeTest.HasNext, "HasNext has to give back false here."); in CheckRRSubtreeStreamBehaviourWhileEmpty1()
137 Assert.IsFalse(nodeTest.HasNext, "HasNext has to give back false here."); in CheckRRNodeStreamBehaviourWhileEmpty1()
199 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (1)."); in CheckRRTokenStreamBehaviourWithElements()
206 Assert.IsFalse(tokenTest.HasNext, "HasNext should be false here (1)."); in CheckRRTokenStreamBehaviourWithElements()
209 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (2)."); in CheckRRTokenStreamBehaviourWithElements()
216 Assert.IsFalse(tokenTest.HasNext, "HasNext should be false here (2)."); in CheckRRTokenStreamBehaviourWithElements()
219 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (3)."); in CheckRRTokenStreamBehaviourWithElements()
226 Assert.IsFalse(tokenTest.HasNext, "HasNext should be false here (2)."); in CheckRRTokenStreamBehaviourWithElements()
229 Assert.IsTrue(tokenTest.HasNext, "HasNext should be true here (3)."); in CheckRRTokenStreamBehaviourWithElements()
[all …]
/external/chromium_org/base/test/expectations/
Dparser.cc35 inline bool Parser::HasNext() { in HasNext() function in test_expectations::Parser
66 } while (HasNext() && *pos_ != '\n'); in ParseComment()
77 if (*pos_ != '[' || !HasNext()) in BeginModifiers()
114 if (*pos_ != ']' || !HasNext()) in EndModifiers()
134 if (*pos_ != '=' || !HasNext()) in ParseExpectation()
156 if (HasNext()) in End()
164 while (!IsAsciiWhitespace(*pos_) && *pos_ != ']' && HasNext()) { in ExtractString()
175 while ((*pos_ == ' ' || *pos_ == '\t') && HasNext()) { in SkipWhitespace()
182 while (IsAsciiWhitespace(*pos_) && HasNext()) { in SkipWhitespaceAndNewLines()
Dparser.h73 bool HasNext();
/external/chromium_org/chrome/browser/content_settings/
Dcontent_settings_rule_unittest.cc22 virtual bool HasNext() const OVERRIDE { in HasNext() function in content_settings::__anon02f487240111::ListIterator
63 ASSERT_TRUE(concatenation_iterator.HasNext()); in TEST()
67 ASSERT_TRUE(concatenation_iterator.HasNext()); in TEST()
71 ASSERT_TRUE(concatenation_iterator.HasNext()); in TEST()
75 ASSERT_TRUE(concatenation_iterator.HasNext()); in TEST()
79 EXPECT_FALSE(concatenation_iterator.HasNext()); in TEST()
Dcontent_settings_rule.cc28 bool EmptyRuleIterator::HasNext() const { in HasNext() function in content_settings::EmptyRuleIterator
45 if (!(*it)->HasNext()) in ConcatenationIterator()
54 bool ConcatenationIterator::HasNext() const { in HasNext() function in content_settings::ConcatenationIterator
62 DCHECK((*current_iterator)->HasNext()); in Next()
64 if (!(*current_iterator)->HasNext()) in Next()
Dcontent_settings_rule.h36 virtual bool HasNext() const = 0;
43 virtual bool HasNext() const OVERRIDE;
54 virtual bool HasNext() const OVERRIDE;
Dcontent_settings_policy_provider_unittest.cc60 EXPECT_FALSE(rule_iterator->HasNext()); in TEST_F()
71 EXPECT_TRUE(rule_iterator->HasNext()); in TEST_F()
73 EXPECT_FALSE(rule_iterator->HasNext()); in TEST_F()
95 EXPECT_TRUE(rule_iterator->HasNext()); in TEST_F()
97 EXPECT_FALSE(rule_iterator->HasNext()); in TEST_F()
Dcontent_settings_origin_identifier_value_map_unittest.cc179 EXPECT_FALSE(rule_iterator->HasNext()); in TEST()
202 ASSERT_TRUE(rule_iterator->HasNext()); in TEST()
207 ASSERT_TRUE(rule_iterator->HasNext()); in TEST()
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_size_table.cc377 while (it->HasNext()) { in GenerateLocaMap()
489 bool BitmapSizeTable::Builder::BitmapGlyphInfoIterator::HasNext() { in HasNext() function in sfntly::BitmapSizeTable::Builder::BitmapGlyphInfoIterator
490 if (sub_table_glyph_info_iter_ && HasNext(sub_table_glyph_info_iter_)) { in HasNext()
495 if (HasNext(sub_table_glyph_info_iter_)) { in HasNext()
504 if (!HasNext()) { in Next()
511 bool BitmapSizeTable::Builder::BitmapGlyphInfoIterator::HasNext( in HasNext() function in sfntly::BitmapSizeTable::Builder::BitmapGlyphInfoIterator
519 return it->HasNext(); in HasNext()
526 return it->HasNext(); in HasNext()
533 return it->HasNext(); in HasNext()
540 return it->HasNext(); in HasNext()
[all …]
Dbitmap_size_table.h43 virtual bool HasNext();
47 bool HasNext(BitmapGlyphInfoIter* iterator_base);
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_size_table.cc377 while (it->HasNext()) { in GenerateLocaMap()
489 bool BitmapSizeTable::Builder::BitmapGlyphInfoIterator::HasNext() { in HasNext() function in sfntly::BitmapSizeTable::Builder::BitmapGlyphInfoIterator
490 if (sub_table_glyph_info_iter_ && HasNext(sub_table_glyph_info_iter_)) { in HasNext()
495 if (HasNext(sub_table_glyph_info_iter_)) { in HasNext()
504 if (!HasNext()) { in Next()
511 bool BitmapSizeTable::Builder::BitmapGlyphInfoIterator::HasNext( in HasNext() function in sfntly::BitmapSizeTable::Builder::BitmapGlyphInfoIterator
519 return it->HasNext(); in HasNext()
526 return it->HasNext(); in HasNext()
533 return it->HasNext(); in HasNext()
540 return it->HasNext(); in HasNext()
[all …]
Dbitmap_size_table.h43 virtual bool HasNext();
47 bool HasNext(BitmapGlyphInfoIter* iterator_base);
/external/regex-re2/re2/testing/
Dexhaustive_tester.cc96 while (strgen_.HasNext()) in HandleRegexp()
110 while (strgen_.HasNext()) { in HandleRegexp()
134 while (strgen_.HasNext()) { in HandleRegexp()
Dstring_generator_test.cc42 EXPECT_TRUE(g.HasNext()); in RunTest()
48 while (g.HasNext()) { in RunTest()
Dstring_generator.h25 bool HasNext() { return hasnext_; } in HasNext() function
/external/chromium_org/third_party/re2/re2/testing/
Dexhaustive_tester.cc96 while (strgen_.HasNext()) in HandleRegexp()
110 while (strgen_.HasNext()) { in HandleRegexp()
134 while (strgen_.HasNext()) { in HandleRegexp()
Dstring_generator_test.cc42 EXPECT_TRUE(g.HasNext()); in RunTest()
48 while (g.HasNext()) { in RunTest()
Dstring_generator.h25 bool HasNext() { return hasnext_; } in HasNext() function
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
Djava_iterator.h49 virtual bool HasNext() = 0;
76 virtual bool HasNext() = 0;
/external/sfntly/cpp/src/sfntly/port/
Djava_iterator.h49 virtual bool HasNext() = 0;
76 virtual bool HasNext() = 0;
/external/antlr/antlr-3.4/runtime/Delphi/Sources/Antlr3.Runtime.Tests/
DAntlr.Runtime.Tree.Tests.pas1319 CheckFalse(NodeTest.HasNext);
1353 CheckTrue(NodeTest.HasNext);
1359 CheckFalse(NodeTest.HasNext);
1362 CheckTrue(NodeTest.HasNext);
1368 CheckFalse(NodeTest.HasNext);
1371 CheckTrue(NodeTest.HasNext);
1378 CheckTrue(NodeTest.HasNext);
1382 CheckTrue(NodeTest.HasNext);
1385 CheckFalse(NodeTest.HasNext);
1400 CheckFalse(SubtreeTest.HasNext);
[all …]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/
Dloca_table.cc79 bool LocaTable::LocaIterator::HasNext() { in HasNext() function in sfntly::LocaTable::LocaIterator
211 while (loca_iter->HasNext()) { in Initialize()
/external/sfntly/cpp/src/sfntly/table/truetype/
Dloca_table.cc79 bool LocaTable::LocaIterator::HasNext() { in HasNext() function in sfntly::LocaTable::LocaIterator
211 while (loca_iter->HasNext()) { in Initialize()
/external/chromium_org/net/http/
Dtransport_security_persister_unittest.cc116 while (i.HasNext()) { in TEST_F()
144 while (j.HasNext()) { in TEST_F()
/external/sfntly/cpp/src/sfntly/table/core/
Dcmap_table.h166 virtual bool HasNext() = 0;
247 virtual bool HasNext();
405 bool HasNext();
542 bool HasNext();

1234