Home
last modified time | relevance | path

Searched refs:hasNext (Results 1 – 25 of 1620) sorted by relevance

12345678910>>...65

/external/androidplot/AndroidPlot-Core/src/test/java/com/androidplot/ui/
DFixedTableModelTest.java51 assertTrue(it.hasNext()); in testIterator()
54 assertTrue(it.hasNext()); in testIterator()
57 assertTrue(it.hasNext()); in testIterator()
60 assertTrue(it.hasNext()); in testIterator()
63 assertTrue(it.hasNext()); in testIterator()
66 assertFalse(it.hasNext()); in testIterator()
83 assertTrue(it.hasNext()); in testColumnMajor()
90 assertTrue(it.hasNext()); in testColumnMajor()
97 assertTrue(it.hasNext()); in testColumnMajor()
104 assertTrue(it.hasNext()); in testColumnMajor()
[all …]
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/seq/
DReadValuesTest.java90 assertTrue(it.hasNext()); in _testRootBeans()
93 assertTrue(it.hasNext()); in _testRootBeans()
96 assertFalse(it.hasNext()); in _testRootBeans()
120 assertTrue(it.hasNext()); in testRootBeansInArray()
123 assertTrue(it.hasNext()); in testRootBeansInArray()
126 assertFalse(it.hasNext()); in testRootBeansInArray()
148 assertTrue(it.hasNext()); in testRootMaps()
152 assertTrue(it.hasNext()); in testRootMaps()
157 assertFalse(it.hasNext()); in testRootMaps()
173 assertTrue(it.hasNext()); in testRootBeansWithParser()
[all …]
/external/robolectric-shadows/resources/src/main/java/org/robolectric/res/android/
DConfigDescription.java168 if (iter.hasNext()) { in initFromParts()
205 boolean success = !part_iter.hasNext(); in parse()
206 if (part_iter.hasNext() && parseMcc(part_iter.peek(), out)) { in parse()
208 if (!part_iter.hasNext()) { in parse()
209 success = !part_iter.hasNext(); in parse()
213 if (part_iter.hasNext() && parseMnc(part_iter.peek(), out)) { in parse()
215 if (!part_iter.hasNext()) { in parse()
216 success = !part_iter.hasNext(); in parse()
220 if (part_iter.hasNext()) { in parse()
228 if (!part_iter.hasNext()) { in parse()
[all …]
/external/guava/guava/src/com/google/common/collect/
DIterators.java99 public boolean hasNext() { in hasNext() method in Iterators.EmptyModifiableIterator
135 public boolean hasNext() { in unmodifiableIterator()
136 return iterator.hasNext(); in unmodifiableIterator()
163 while (iterator.hasNext()) {
173 while (iterator.hasNext()) {
179 while (iterator.hasNext()) {
200 while (removeFrom.hasNext()) {
222 while (removeFrom.hasNext()) {
244 while (removeFrom.hasNext()) {
263 while (iterator1.hasNext()) {
[all …]
/external/guava/android/guava/src/com/google/common/collect/
DIterators.java99 public boolean hasNext() { in hasNext() method in Iterators.EmptyModifiableIterator
135 public boolean hasNext() { in unmodifiableIterator()
136 return iterator.hasNext(); in unmodifiableIterator()
163 while (iterator.hasNext()) {
173 while (iterator.hasNext()) {
179 while (iterator.hasNext()) {
200 while (removeFrom.hasNext()) {
222 while (removeFrom.hasNext()) {
244 while (removeFrom.hasNext()) {
263 while (iterator1.hasNext()) {
[all …]
/external/guava/android/guava-tests/test/com/google/common/base/
DAbstractIteratorTest.java59 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
63 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
64 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
68 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
71 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
99 iter.hasNext(); in testSneakyThrow()
109 iter.hasNext(); in testSneakyThrow()
127 iter.hasNext(); in testException()
144 iter.hasNext(); in testExceptionAfterEndOfData()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DAbstractIteratorTest.java59 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
63 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
64 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
68 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
71 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
99 iter.hasNext(); in testSneakyThrow()
109 iter.hasNext(); in testSneakyThrow()
127 iter.hasNext(); in testException()
144 iter.hasNext(); in testExceptionAfterEndOfData()
[all …]
/external/guava/android/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java60 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
64 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
66 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
69 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
72 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
108 assertTrue(iter.hasNext()); in testDefaultBehaviorOfPeek()
201 iter.hasNext(); in testSneakyThrow()
211 iter.hasNext(); in testSneakyThrow()
229 iter.hasNext(); in testException()
[all …]
DIteratorsTest.java79 assertFalse(iterator.hasNext()); in testEmptyIterator()
94 assertFalse(iterator.hasNext()); in testEmptyListIterator()
127 assertFalse(iterator.hasNext()); in testEmptyModifiableIterator()
365 assertFalse(iterator.hasNext()); in testFind_lastElement()
376 assertFalse(iterator.hasNext()); in testFind_notPresent()
396 assertFalse(iterator.hasNext()); in testFind_withDefault_last()
403 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent()
410 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent_nullReturn()
442 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_orDefault()
449 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_isPresent()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java60 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
64 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
65 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
66 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
69 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
72 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
108 assertTrue(iter.hasNext()); in testDefaultBehaviorOfPeek()
201 iter.hasNext(); in testSneakyThrow()
211 iter.hasNext(); in testSneakyThrow()
229 iter.hasNext(); in testException()
[all …]
DIteratorsTest.java79 assertFalse(iterator.hasNext()); in testEmptyIterator()
94 assertFalse(iterator.hasNext()); in testEmptyListIterator()
127 assertFalse(iterator.hasNext()); in testEmptyModifiableIterator()
365 assertFalse(iterator.hasNext()); in testFind_lastElement()
376 assertFalse(iterator.hasNext()); in testFind_notPresent()
396 assertFalse(iterator.hasNext()); in testFind_withDefault_last()
403 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent()
410 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent_nullReturn()
442 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_orDefault()
449 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_isPresent()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
DCollectionUtilities.java64 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
100 while (source.hasNext()) { in addAll()
113 while (source.hasNext()) { in size()
139 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
155 if (!it.hasNext()) return null; in getFirst()
170 if (!it.hasNext()) return null; in getBest()
173 while (it.hasNext()) { in getBest()
181 while (it.hasNext()) { in getBest()
233 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
249 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
[all …]
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/util/
DCollectionUtilities.java61 for (Iterator it = collection.iterator(); it.hasNext();) { in join()
97 while (source.hasNext()) { in addAll()
110 while (source.hasNext()) { in size()
136 for (Iterator it = itemsToRemove.iterator(); it.hasNext();) { in removeAll()
152 if (!it.hasNext()) return null; in getFirst()
167 if (!it.hasNext()) return null; in getBest()
170 while (it.hasNext()) { in getBest()
178 while (it.hasNext()) { in getBest()
230 for (Iterator<T> it = c.iterator(); it.hasNext();) { in removeAll()
246 for (Iterator<T> it = c.iterator(); it.hasNext();) { in retainAll()
[all …]
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue9/
DNopropTest.java29 assertTrue(docs.hasNext()); in testOK01()
38 assertTrue(docs.hasNext()); in testOK02()
47 assertTrue(docs.hasNext()); in testOK03()
56 assertTrue(docs.hasNext()); in testOK04()
65 assertTrue(docs.hasNext()); in testOK05()
74 assertTrue(docs.hasNext()); in testOK06()
83 assertTrue(docs.hasNext()); in testEmptyBean()
92 assertTrue(docs.hasNext()); in testEmptyBean2()
101 assertTrue(docs.hasNext()); in testEmptyDoc()
110 assertTrue(docs.hasNext()); in testEmptyDoc2()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DXMPIteratorImpl.java144 public boolean hasNext() in hasNext() method in XMPIteratorImpl
146 return nodeIterator.hasNext(); in hasNext()
264 public boolean hasNext() in hasNext() method in XMPIteratorImpl.NodeIterator
284 boolean hasNext = iterateChildren(childrenIterator); in hasNext()
286 if (!hasNext && visitedNode.hasQualifier() && !getOptions().isOmitQualifiers()) in hasNext()
290 hasNext = hasNext(); in hasNext()
292 return hasNext; in hasNext()
321 return hasNext(); in reportNode()
342 if ((!subIterator.hasNext()) && iterator.hasNext()) in iterateChildren()
349 if (subIterator.hasNext()) in iterateChildren()
[all …]
DISO8601Converter.java109 if (input.hasNext() && input.ch() != '-') in parse()
119 if (!input.hasNext()) in parse()
128 if (input.hasNext() && input.ch() != '-') in parse()
133 if (!input.hasNext()) in parse()
142 if (input.hasNext() && input.ch() != 'T') in parse()
147 if (!input.hasNext()) in parse()
184 if (input.hasNext() && in parse()
195 if (input.hasNext() && input.ch() != '.' && input.ch() != 'Z' && in parse()
232 else if (input.hasNext()) in parse()
267 if (input.hasNext()) in parse()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java85 assertTrue(routeSelector.hasNext()); in singleRoute()
90 assertFalse(routeSelector.hasNext()); in singleRoute()
102 assertTrue(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
108 assertFalse(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
121 assertTrue(routeSelector.hasNext()); in explicitProxyTriesThatProxysAddressesOnly()
126 assertFalse(routeSelector.hasNext()); in explicitProxyTriesThatProxysAddressesOnly()
136 assertTrue(routeSelector.hasNext()); in explicitDirectProxy()
141 assertFalse(routeSelector.hasNext()); in explicitDirectProxy()
153 assertTrue(routeSelector.hasNext()); in proxySelectorReturnsNull()
158 assertFalse(routeSelector.hasNext()); in proxySelectorReturnsNull()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/
DTextElementIteratorsFactory.java48 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.CascadingIterator
49 if (current.hasNext()) { in hasNext()
55 return next.hasNext(); in hasNext()
60 if (current.hasNext()) { in next()
89 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.EmptyIterator
108 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.SingleElementIterator
134 public boolean hasNext() { in hasNext() method in TextElementIteratorsFactory.ComposedIterator
138 if (elements.get(currIndex).hasNext()){ in hasNext()
142 return hasNext(); in hasNext()
147 if (!hasNext()) { in next()
/external/cldr/tools/java/org/unicode/cldr/util/
DSortedBag.java65 if (!mapIterator.hasNext()) return EMPTY_ITERATOR; in getSetIterator()
70 public boolean hasNext() { in hasNext() method in SortedBag.MyIterator
71 return setIterator.hasNext() || mapIterator.hasNext(); in hasNext()
76 if (!setIterator.hasNext()) { in next()
121 for (Iterator it = iterator(); it.hasNext();) { in toArray()
142 for (Iterator it = c.iterator(); it.hasNext();) { in containsAll()
151 for (Iterator it = c.iterator(); it.hasNext();) { in addAll()
160 for (Iterator it = c.iterator(); it.hasNext();) { in removeAll()
171 for (Iterator it = iterator(); it.hasNext();) { in retainAll()
/external/angle/src/libANGLE/
DImageIndexIterator_unittest.cpp31 EXPECT_TRUE(iter.hasNext()); in TEST()
47 EXPECT_FALSE(iter.hasNext()); in TEST()
60 EXPECT_TRUE(iter.hasNext()); in TEST()
71 EXPECT_FALSE(iter.hasNext()); in TEST()
84 EXPECT_TRUE(iter.hasNext()); in TEST()
96 EXPECT_FALSE(iter.hasNext()); in TEST()
112 EXPECT_TRUE(iter.hasNext()); in TEST()
124 EXPECT_FALSE(iter.hasNext()); in TEST()
142 EXPECT_TRUE(iter.hasNext()); in TEST()
154 EXPECT_FALSE(iter.hasNext()); in TEST()
/external/apache-commons-math/src/main/java/org/apache/commons/math/linear/
DOpenMapRealVector.java234 while (iter.hasNext()) { in add()
254 while (iter.hasNext()) { in append()
307 while(iter.hasNext()) { in dotProduct()
329 while (iter.hasNext()) {
342 while (iter.hasNext()) {
354 while (iter.hasNext()) {
367 while (iter.hasNext()) {
381 while (iter.hasNext()) {
396 while (iter.hasNext()) {
417 while (iter.hasNext()) {
[all …]
/external/guava/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java36 assertFalse(iterator.hasNext()); in testOf_empty()
52 assertTrue(iterator.hasNext()); in testOf_one()
54 assertFalse(iterator.hasNext()); in testOf_one()
70 assertFalse(iterator.hasNext()); in testFrom_empty()
86 assertTrue(iterator.hasNext()); in testFrom_one()
93 assertFalse(iterator.hasNext()); in testFrom_one()
/external/guava/android/guava-testlib/test/com/google/common/collect/testing/
DMinimalIterableTest.java36 assertFalse(iterator.hasNext()); in testOf_empty()
52 assertTrue(iterator.hasNext()); in testOf_one()
54 assertFalse(iterator.hasNext()); in testOf_one()
70 assertFalse(iterator.hasNext()); in testFrom_empty()
86 assertTrue(iterator.hasNext()); in testFrom_one()
93 assertFalse(iterator.hasNext()); in testFrom_one()
/external/smali/dexlib2/src/test/java/org/jf/util/
DAbstractForwardSequentialListTest.java54 @Override public boolean hasNext() { in setup()
59 if (!hasNext()) { in setup()
84 Assert.assertTrue(iter.hasNext()); in testForwardIterationImpl()
90 Assert.assertFalse(iter.hasNext()); in testForwardIterationImpl()
101 Assert.assertFalse(iter.hasNext()); in testReverseIterationImpl()
110 Assert.assertTrue(iter.hasNext()); in testReverseIterationImpl()
128 Assert.assertTrue(iter.hasNext()); in testAlternatingIteration()
135 Assert.assertTrue(iter.hasNext()); in testAlternatingIteration()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestMetadata.java48 while (oldIt.hasNext() || newIt.hasNext()) { in checkEquals()
49 if (oldIt.hasNext()) in checkEquals()
51 if (newIt.hasNext()) in checkEquals()
53 differ.checkMatch(!oldIt.hasNext() && !newIt.hasNext()); in checkEquals()

12345678910>>...65