/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | ServiceLoaderTest.java | 75 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 …]
|
D | TreeMapExtendTest.java | 1750 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 …]
|
D | LinkedHashMapTest.java | 217 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 …]
|
D | HashtableTest.java | 204 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 …]
|
D | WeakHashMapTest.java | 180 while (it.hasNext()) { in test_entrySet() 207 while (it.hasNext()) { in test_entrySet() 211 if (it.hasNext()) { in test_entrySet() 221 while (it.hasNext()) { in test_entrySet() 228 while (it.hasNext()) { in test_entrySet() 234 .hasNext()); in test_entrySet() 251 while (it.hasNext()) { in test_entrySet_2() 355 while (it.hasNext()) { in test_keySet() 384 assertFalse("Wrong hasNext() value", iter.hasNext()); in test_keySet_hasNext() 420 while (it.hasNext()) { in test_values()
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
D | Iterators.java | 64 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 …]
|
D | LinkedListMultimap.java | 261 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/ |
D | Iterators.java | 66 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 …]
|
D | SingletonImmutableList.java | 66 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()
|
D | LinkedListMultimap.java | 265 for (Iterator<V> i = new ValueForKeyIterator(key); i.hasNext();) { in removeAllNodes() 306 public boolean hasNext() { in hasNext() method in LinkedListMultimap.NodeIterator 370 public boolean hasNext() { in hasNext() method in LinkedListMultimap.DistinctKeyIterator 434 public boolean hasNext() { in hasNext() method in LinkedListMultimap.ValueForKeyIterator 518 for (Iterator<Node<K, V>> i = new NodeIterator(); i.hasNext();) { in containsValue() 528 for (Iterator<V> i = new ValueForKeyIterator(key); i.hasNext();) { in containsEntry() 554 while (values.hasNext()) { in remove() 600 while (keyValues.hasNext() && newValues.hasNext()) { in replaceValues() 606 while (keyValues.hasNext()) { in replaceValues() 612 while (newValues.hasNext()) { in replaceValues() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | AbstractIteratorTest.java | 57 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/ |
D | AbstractIteratorTest.java | 57 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 …]
|
D | IteratorsTest.java | 78 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 …]
|
D | UnmodifiableListIteratorTest.java | 37 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()
|
D | UnmodifiableIteratorTest.java | 40 public boolean hasNext() { in testRemove() 45 if (!hasNext()) { in testRemove() 52 assertTrue(iterator.hasNext()); in testRemove()
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalueiterator/ |
D | tst_qscriptvalueiterator.cpp | 101 QCOMPARE(it.hasNext(), true); in iterateForward() 102 QCOMPARE(it.hasNext(), true); in iterateForward() 114 QCOMPARE(it.hasNext(), false); in iterateForward() 115 QCOMPARE(it.hasNext(), false); in iterateForward() 119 QCOMPARE(it.hasNext(), true); in iterateForward() 180 QCOMPARE(it.hasNext(), true); in iterateBackward() 184 QCOMPARE(it.hasNext(), false); in iterateBackward() 224 QCOMPARE(it.hasNext(), true); in iterateArray() 231 QVERIFY(it.hasNext()); in iterateArray() 252 QVERIFY(it.hasNext()); in iterateArray() [all …]
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_MapTest2.java | 43 .hasNext()); in runTest() 45 .hasNext()); in runTest() 47 .hasNext()); in runTest() 57 .hasNext()); in runTest() 59 .hasNext()); in runTest() 61 .hasNext()); in runTest()
|
D | Support_UnmodifiableCollectionTest.java | 74 while (it.hasNext()) { in runTest() 78 for (int counter = 0; it.hasNext(); counter++) { in runTest() 94 for (int counter = 0; it.hasNext(); counter++) { in runTest() 103 for (int counter = 0; it.hasNext(); counter++) { in runTest()
|
/external/icu4c/common/ |
D | unorm_it.c | 58 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/webkit/Source/WebCore/inspector/front-end/ |
D | HeapSnapshot.js | 174 hasNext: function() method in WebInspector.HeapSnapshotEdgeIterator 302 hasNext: function() method in WebInspector.HeapSnapshotRetainerEdgeIterator 457 hasNext: function() method in WebInspector.HeapSnapshotNodeIterator 551 for (var iter = this._allNodes; iter.hasNext(); iter.next()) 621 for (var nodesIter = this._allNodes; nodesIter.hasNext(); nodesIter.next()) { 623 for (var edgesIter = node.edges; edgesIter.hasNext(); edgesIter.next()) { 640 for (nodesIter = this._allNodes; nodesIter.hasNext(); nodesIter.next()) { 642 for (var edgesIter = node.edges; edgesIter.hasNext(); edgesIter.next()) { 655 for (var iter = this._allNodes; iter.hasNext(); iter.next()) { 673 for (var iter = this._allNodes; iter.hasNext(); iter.next()) { [all …]
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/ |
D | PKIXNameConstraintValidator.java | 97 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/nist-sip/java/gov/nist/core/ |
D | GenericObjectList.java | 129 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/guava/guava/src/com/google/common/base/ |
D | PairwiseEquivalence.java | 41 while (iteratorA.hasNext() && iteratorB.hasNext()) { in doEquivalent() 47 return !iteratorA.hasNext() && !iteratorB.hasNext(); in doEquivalent()
|
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 205 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null; in testMatchWithSurroundingZipcodes() 216 PhoneNumberMatch matchWithSpaces = iterator.hasNext() ? iterator.next() : null; in testMatchWithSurroundingZipcodes() 510 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null; in doTestNumberMatchesForLeniency() 532 PhoneNumberMatch match = iterator.hasNext() ? iterator.next() : null; in doTestNumberNonMatchesForLeniency() 679 assertFalse(iterable.iterator().hasNext()); in testMaxMatchesInvalid() 710 assertFalse(iterator.hasNext()); in testNonPlusPrefixedNumbersNotFoundForInvalidRegion() 715 assertFalse(iterator.hasNext()); in testNonPlusPrefixedNumbersNotFoundForInvalidRegion() 722 assertFalse(iterator.hasNext()); in testEmptyIteration() 723 assertFalse(iterator.hasNext()); in testEmptyIteration() 728 assertFalse(iterator.hasNext()); in testEmptyIteration() [all …]
|
/external/jdiff/src/jdiff/ |
D | HTMLIndexes.java | 140 while (iter.hasNext()) { in generateLetterIndex() 257 while ((indexType == 3 || indexType == 0) && iter.hasNext()) { in emitPackagesIndex() 262 while ((indexType == 3 || indexType == 1) && iter.hasNext()) { in emitPackagesIndex() 267 while ((indexType == 3 || indexType == 2) && iter.hasNext()) { in emitPackagesIndex() 284 while (iter.hasNext()) { in emitPackagesIndex() 323 while (iter.hasNext()) { in emitIndexEntries() 380 while (iter.hasNext()) { in emitMissingSinces() 451 while (iter.hasNext()) { in emitClassesIndex() 462 while ((indexType == 3 || indexType == 0) && iterClass.hasNext()) { in emitClassesIndex() 467 while ((indexType == 3 || indexType == 1) && iterClass.hasNext()) { in emitClassesIndex() [all …]
|