Home
last modified time | relevance | path

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

12345678910>>...28

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DServiceLoaderTest.java75 assertFalse(itr.hasNext()); in test_reload()
81 assertFalse(itr.hasNext()); in test_reload()
85 assertTrue(itr.hasNext()); in test_reload()
87 assertFalse(itr.hasNext()); in test_reload()
97 assertTrue(itr.hasNext()); in test_iterator()
100 assertFalse(itr.hasNext()); in test_iterator()
109 assertTrue(itr.hasNext()); in test_iterator()
135 assertFalse(itr.hasNext()); in test_iterator()
154 itr.hasNext(); in nullIteratorTester()
186 assertTrue(itr.hasNext()); in test_loadLjava_lang_ClassLjava_lang_ClassLoader()
[all …]
DTreeMapExtendTest.java1750 while (startIterator.hasNext()) { in test_AscendingSubMap_subMap()
1754 while (endIterator.hasNext()) { in test_AscendingSubMap_subMap()
3398 for (; iterator.hasNext(); value++) { in test_Entry_setValue()
3841 assertTrue(iterator.hasNext());
3844 assertFalse(iterator.hasNext());
3858 assertTrue(iterator.hasNext());
3861 assertFalse(iterator.hasNext());
3875 assertTrue(iterator.hasNext());
3878 assertFalse(iterator.hasNext());
3892 assertTrue(iterator.hasNext());
[all …]
DLinkedHashMapTest.java217 while (i.hasNext()) { in test_entrySet()
247 it.hasNext(); in test_keySet()
270 it2.hasNext(); in test_keySet()
464 for (i = 0; it1.hasNext(); i++) { in test_ordered_entrySet()
480 for (i = 0; i < sz && it3.hasNext(); i++) { in test_ordered_entrySet()
498 for (i = 1; i < sz && it2.hasNext(); i += 2) { in test_ordered_entrySet()
503 for (i = 0; i < sz && it2.hasNext(); i += 2) { in test_ordered_entrySet()
508 assertTrue("Entries left to iterate on", !it2.hasNext()); in test_ordered_entrySet()
526 for (i = 0; it1.hasNext(); i++) { in test_ordered_keySet()
540 for (i = 0; i < sz && it3.hasNext(); i++) { in test_ordered_keySet()
[all …]
DHashtableTest.java204 assertFalse(iterator.hasNext()); in test_elements()
256 while (i.hasNext()) in test_entrySet()
319 for (expectedHash = 0; iterator.hasNext(); expectedHash += iterator in test_hashCode()
381 assertFalse(iterator.hasNext()); in test_keys()
452 it2.hasNext(); in test_keySet()
521 while (it.hasNext()) { in test_keySet_subtest1()
698 while(iterator.hasNext()) in test_entrySet_remove()
722 assertTrue(iterator.hasNext()); in test_keys_elements_keySet_Exceptions()
736 assertFalse(iterator.hasNext()); in test_keys_elements_keySet_Exceptions()
739 assertTrue(iterator.hasNext()); in test_keys_elements_keySet_Exceptions()
[all …]
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DIterators.java64 public boolean hasNext() {
87 @Override public boolean hasNext() {
121 public boolean hasNext() { in unmodifiableIterator()
122 return iterator.hasNext(); in unmodifiableIterator()
149 while (iterator.hasNext()) {
162 while (iterator.hasNext()) {
168 while (iterator.hasNext()) {
190 while (removeFrom.hasNext()) {
214 while (removeFrom.hasNext()) {
236 while (removeFrom.hasNext()) {
[all …]
DLinkedListMultimap.java261 for (Iterator<V> i = new ValueForKeyIterator(key); i.hasNext();) { in removeAllNodes()
302 public boolean hasNext() { in hasNext() method in LinkedListMultimap.NodeIterator
366 public boolean hasNext() { in hasNext() method in LinkedListMultimap.DistinctKeyIterator
430 public boolean hasNext() { in hasNext() method in LinkedListMultimap.ValueForKeyIterator
514 for (Iterator<Node<K, V>> i = new NodeIterator(); i.hasNext();) { in containsValue()
524 for (Iterator<V> i = new ValueForKeyIterator(key); i.hasNext();) { in containsEntry()
550 while (values.hasNext()) { in remove()
596 while (keyValues.hasNext() && newValues.hasNext()) { in replaceValues()
602 while (keyValues.hasNext()) { in replaceValues()
608 while (newValues.hasNext()) { in replaceValues()
[all …]
/external/guava/guava/src/com/google/common/collect/
DIterators.java66 public boolean hasNext() {
89 @Override public boolean hasNext() {
123 public boolean hasNext() { in unmodifiableIterator()
124 return iterator.hasNext(); in unmodifiableIterator()
151 while (iterator.hasNext()) {
164 while (iterator.hasNext()) {
170 while (iterator.hasNext()) {
192 while (removeFrom.hasNext()) {
216 while (removeFrom.hasNext()) {
238 while (removeFrom.hasNext()) {
[all …]
DSingletonImmutableList.java66 boolean hasNext = start == 0; in listIterator()
68 @Override public boolean hasNext() { in listIterator() method
69 return hasNext; in listIterator()
73 return !hasNext; in listIterator()
77 if (!hasNext) { in listIterator()
80 hasNext = false; in listIterator()
85 return hasNext ? 0 : 1; in listIterator()
89 if (hasNext) { in listIterator()
92 hasNext = true; in listIterator()
97 return hasNext ? -1 : 0; in listIterator()
/external/guava/guava-tests/test/com/google/common/base/
DAbstractIteratorTest.java57 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
61 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
62 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
63 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
66 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
69 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
94 iter.hasNext(); in testSneakyThrow()
104 iter.hasNext(); in testSneakyThrow()
120 iter.hasNext(); in testException()
135 iter.hasNext(); in testExceptionAfterEndOfData()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DAbstractIteratorTest.java57 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
61 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
62 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
63 assertTrue(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
66 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
69 assertFalse(iter.hasNext()); in testDefaultBehaviorOfNextAndHasNext()
102 assertTrue(iter.hasNext()); in testDefaultBehaviorOfPeek()
176 iter.hasNext(); in testSneakyThrow()
186 iter.hasNext(); in testSneakyThrow()
202 iter.hasNext(); in testException()
[all …]
DIteratorsTest.java78 assertFalse(iterator.hasNext()); in testEmptyIterator()
321 assertFalse(iterator.hasNext()); in testFind_lastElement()
332 assertFalse(iterator.hasNext()); in testFind_notPresent()
354 assertFalse(iterator.hasNext()); in testFind_withDefault_last()
362 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent()
370 assertFalse(iterator.hasNext()); in testFind_withDefault_notPresent_nullReturn()
407 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_orDefault()
415 assertFalse(iterator.hasNext()); in testTryFind_alwaysFalse_isPresent()
487 assertFalse(cycle.hasNext()); in testCycleOfEmpty()
493 assertTrue(cycle.hasNext()); in testCycleOfOne()
[all …]
DUnmodifiableListIteratorTest.java37 assertTrue(iterator.hasNext()); in testRemove()
48 assertTrue(iterator.hasNext()); in testAdd()
61 assertTrue(iterator.hasNext()); in testSet()
77 public boolean hasNext() { in create() method
82 if (!hasNext()) { in create()
/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 …]
DXMPSerializerRDF.java314 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext(); ) in serializePrettyRDFSchemas()
363 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();) in serializeCompactRDFSchemas()
371 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();) in serializeCompactRDFSchemas()
390 for (Iterator it = xmp.getRoot().iterateChildren(); it.hasNext();) in serializeCompactRDFSchemas()
417 for (Iterator it = parentNode.iterateChildren(); it.hasNext();) in serializeCompactRDFAttrProps()
491 for (Iterator it = parentNode.iterateChildren(); it.hasNext();) in serializeCompactRDFElementProps()
518 for (Iterator iq = node.iterateQualifier(); iq.hasNext();) in serializeCompactRDFElementProps()
663 for (Iterator ic = node.iterateChildren(); ic.hasNext(); ) in serializeCompactRDFStructProp()
757 for (Iterator iq = node.iterateQualifier(); iq.hasNext();) in serializeCompactRDFGeneralQualifier()
809 for (Iterator it = schemaNode.iterateChildren(); it.hasNext();) in serializePrettyRDFSchema()
[all …]
/external/chromium_org/base/android/javatests/src/org/chromium/base/
DObserverListTest.java154 assertTrue(it.hasNext()); in testIterator()
156 assertTrue(it.hasNext()); in testIterator()
158 assertFalse(it.hasNext()); in testIterator()
190 assertTrue(it.hasNext()); in testRewindableIterator()
192 assertTrue(it.hasNext()); in testRewindableIterator()
194 assertTrue(it.hasNext()); in testRewindableIterator()
196 assertFalse(it.hasNext()); in testRewindableIterator()
200 assertTrue(it.hasNext()); in testRewindableIterator()
202 assertTrue(it.hasNext()); in testRewindableIterator()
204 assertTrue(it.hasNext()); in testRewindableIterator()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_MapTest2.java43 .hasNext()); in runTest()
45 .hasNext()); in runTest()
47 .hasNext()); in runTest()
57 .hasNext()); in runTest()
59 .hasNext()); in runTest()
61 .hasNext()); in runTest()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DRouteSelectorTest.java89 assertTrue(routeSelector.hasNext()); in singleRoute()
95 assertFalse(routeSelector.hasNext()); in singleRoute()
108 assertTrue(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
116 assertFalse(routeSelector.hasNext()); in singleRouteReturnsFailedRoute()
129 assertTrue(routeSelector.hasNext()); in explicitProxyTriesThatProxiesAddressesOnly()
136 assertFalse(routeSelector.hasNext()); in explicitProxyTriesThatProxiesAddressesOnly()
147 assertTrue(routeSelector.hasNext()); in explicitDirectProxy()
154 assertFalse(routeSelector.hasNext()); in explicitDirectProxy()
167 assertTrue(routeSelector.hasNext()); in proxySelectorReturnsNull()
173 assertFalse(routeSelector.hasNext()); in proxySelectorReturnsNull()
[all …]
/external/icu4c/common/
Dunorm_it.c59 UBool hasPrevious, hasNext, isStackAllocated; member
76 uni->hasNext=iter->hasNext(iter); in initIndexes()
77 } else if(!iter->hasNext(iter)) { in initIndexes()
80 uni->hasNext=FALSE; in initIndexes()
85 uni->hasPrevious=uni->hasNext=TRUE; in initIndexes()
214 uni->hasNext=FALSE; in readNext()
230 uni->hasNext=FALSE; in readNext()
242 uni->hasNext=FALSE; in readNext()
253 uni->hasNext=iter->hasNext(iter); in readNext()
275 uni->hasNext=TRUE; in readPrevious()
[all …]
/external/chromium_org/third_party/icu/source/common/
Dunorm_it.c58 UBool hasPrevious, hasNext, isStackAllocated; member
75 uni->hasNext=iter->hasNext(iter); in initIndexes()
76 } else if(!iter->hasNext(iter)) { in initIndexes()
79 uni->hasNext=FALSE; in initIndexes()
84 uni->hasPrevious=uni->hasNext=TRUE; in initIndexes()
213 uni->hasNext=FALSE; in readNext()
229 uni->hasNext=FALSE; in readNext()
241 uni->hasNext=FALSE; in readNext()
252 uni->hasNext=iter->hasNext(iter); in readNext()
274 uni->hasNext=TRUE; in readPrevious()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DPKIXNameConstraintValidator.java97 while (it.hasNext()) in checkPermittedDN()
121 while (it.hasNext()) in checkExcludedDN()
136 for (Iterator it = dns.iterator(); it.hasNext();) in intersectDN()
150 while (_iter.hasNext()) in intersectDN()
185 while (it.hasNext()) in unionDN()
211 for (Iterator it = emails.iterator(); it.hasNext();) in intersectEmail()
226 while (it2.hasNext()) in intersectEmail()
253 while (it.hasNext()) in unionEmail()
277 for (Iterator it = ips.iterator(); it.hasNext();) in intersectIP()
291 while (it2.hasNext()) in intersectIP()
[all …]
/external/guava/guava/src/com/google/common/base/
DPairwiseEquivalence.java41 while (iteratorA.hasNext() && iteratorB.hasNext()) { in doEquivalent()
47 return !iteratorA.hasNext() && !iteratorB.hasNext(); in doEquivalent()
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
DUnmodifiableLazyStringList.java80 public boolean hasNext() { in listIterator() method
81 return iter.hasNext(); in listIterator()
132 public boolean hasNext() { in iterator() method
133 return iter.hasNext(); in iterator()
/external/nist-sip/java/gov/nist/core/
DGenericObjectList.java129 for (ListIterator<GenericObject> iter = retval.listIterator(); iter.hasNext();) { in clone()
332 while (it1.hasNext()) { in mergeObjects()
334 while (it2.hasNext()) { in mergeObjects()
352 if (iterator.hasNext()) { in encode()
361 if (iterator.hasNext()) in encode()
408 while (myIterator.hasNext()) { in equals()
422 while (hisIterator.hasNext()) { in equals()
452 outer: while (hisIterator.hasNext()) { in match()
456 while (myIterator.hasNext()) { in match()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DCMSUtils.java75 for (Iterator it = certStore.getCertificates(null).iterator(); it.hasNext();) in getCertificatesFromStore()
105 for (Iterator it = certStore.getMatches(null).iterator(); it.hasNext();) in getCertificatesFromStore()
127 for (Iterator it = attrStore.getMatches(null).iterator(); it.hasNext();) in getAttributeCertificatesFromStore()
149 for (Iterator it = certStore.getCRLs(null).iterator(); it.hasNext();) in getCRLsFromStore()
179 for (Iterator it = crlStore.getMatches(null).iterator(); it.hasNext();) in getCRLsFromStore()
224 for (Iterator it = derObjects.iterator(); it.hasNext();) in createBerSetFromList()
236 for (Iterator it = derObjects.iterator(); it.hasNext();) in createDerSetFromList()
337 while (it.hasNext()) in attachDigestsToInputStream()
349 while (it.hasNext()) in attachSignersToOutputStream()

12345678910>>...28