/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
D | NetworkInterfaceTest.java | 67 while (theAddresses.hasMoreElements()) { in test_getInetAddresses() 76 while (theAddresses.hasMoreElements()) { in test_getInetAddresses() 89 while (addresses.hasMoreElements()) { in test_getInetAddresses() 99 while (addresses.hasMoreElements()) { in test_getInetAddresses() 111 while (reducedAddresses.hasMoreElements()) { in test_getInetAddresses() 120 while (reducedAddresses.hasMoreElements()) { in test_getInetAddresses() 135 while (reducedAddresses.hasMoreElements()) { in test_getInetAddresses() 144 while (reducedAddresses.hasMoreElements()) { in test_getInetAddresses() 261 while (addresses.hasMoreElements()) { in test_getByInetAddressLjava_net_InetAddress() 274 while (addresses.hasMoreElements()) { in test_getByInetAddressLjava_net_InetAddress() [all …]
|
D | InterfaceAddressTest.java | 130 while (netifs.hasMoreElements()) { in setUp() 148 if (addresses != null && addresses.hasMoreElements()) { in setUp()
|
D | MulticastSocketTest.java | 81 while (interfaces.hasMoreElements() in setUp() 86 while (addresses.hasMoreElements()) { in setUp() 138 if (addresses.hasMoreElements()) { in test_getInterface() 163 theInterface.getInetAddresses().hasMoreElements()); in test_getNetworkInterface() 190 if (addresses.hasMoreElements()) { in test_getNetworkInterface() 370 while (theInterfaces.hasMoreElements()) { in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 385 if (addresses.hasMoreElements()) { in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface() 707 while (theInterfaces.hasMoreElements()) { in test_setNetworkInterfaceLjava_net_NetworkInterface() 709 if (thisInterface.getInetAddresses().hasMoreElements() && thisInterface.isUp()) { in test_setNetworkInterfaceLjava_net_NetworkInterface() 906 && iface.getInetAddresses().hasMoreElements(); in willWorkForMulticast()
|
/libcore/luni/src/main/java/java/util/ |
D | PropertyResourceBundle.java | 92 while (pEnum.hasMoreElements()) { in getKeys() 102 public boolean hasMoreElements() { in getKeys() method 103 if (local.hasMoreElements()) { in getKeys() 110 if (local.hasMoreElements()) { in getKeys()
|
D | ListResourceBundle.java | 62 while (pEnum.hasMoreElements()) { in getKeys() 72 public boolean hasMoreElements() { in getKeys() method 96 public boolean hasMoreElements() { in getKeys() method
|
D | Enumeration.java | 43 public boolean hasMoreElements(); in hasMoreElements() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | HashtableTest.java | 145 assertTrue("Hashtable improperly cleared", !el.hasMoreElements() in test_clear() 146 && !(keys.hasMoreElements())); in test_clear() 163 while (org.hasMoreElements()) { in test_clone() 169 assertTrue("Copy has more keys than original", !cpy.hasMoreElements()); in test_clone() 214 while (e.hasMoreElements()) in test_containsValueLjava_lang_Object() 235 while (elms.hasMoreElements()) { in test_elements() 243 assertFalse(elms.hasMoreElements()); in test_elements() 301 while (e.hasMoreElements()) in test_entrySet() 424 while (keys.hasMoreElements()) { in test_keys() 432 assertFalse(keys.hasMoreElements()); in test_keys() [all …]
|
D | StringTokenizerTest.java | 100 .hasMoreElements()); in test_hasMoreElements() 106 .hasMoreElements()); in test_hasMoreElements() 216 stringTokenizer.hasMoreElements(); in test_hasMoreElements_NPE() 224 stringTokenizer.hasMoreElements(); in test_hasMoreElements_NPE()
|
D | ListResourceBundleTest.java | 37 while (keys.hasMoreElements()) { in test_getKeys() 57 while (keys.hasMoreElements()) { in test_handleGetObjectLjava_lang_String()
|
D | PropertiesTest.java | 87 while (propertyNames.hasMoreElements()) { in test_ConstructorLjava_util_Properties() 523 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario1() 539 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario1() 580 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario2() 600 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario2() 635 while (e.hasMoreElements()) { in test_saveLjava_io_OutputStreamLjava_lang_String() 687 while (e.hasMoreElements()) { in test_storeLjava_io_OutputStreamLjava_lang_String() 720 while (e.hasMoreElements()) { in test_storeLjava_io_WriterLjava_lang_String() 846 while (e.hasMoreElements()) { in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String() 872 while (e.hasMoreElements()) { in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String() [all …]
|
D | PropertyResourceBundleTest.java | 110 while (keyEnum.hasMoreElements()) { in test_getKeys() 188 while (keys.hasMoreElements()) { in test_access$0_Enumeration()
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
D | ServerSocketChannelTest.java | 93 while (interfaces.hasMoreElements()) { in test_bind_nullBindsToAll() 96 while (inetAddresses.hasMoreElements()) { in test_bind_nullBindsToAll() 124 while (interfaces.hasMoreElements()) { in test_bind_loopback() 127 while (inetAddresses.hasMoreElements()) { in test_bind_loopback()
|
D | DatagramChannelTest.java | 158 while (networkInterfaces.hasMoreElements()) { in getNonLoopbackNetworkInterfaceAddress() 164 while (inetAddresses.hasMoreElements()) { in getNonLoopbackNetworkInterfaceAddress()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarFileTest.java | 295 for (i = 0; e.hasMoreElements(); i++) { in test_entries() 309 enumeration.hasMoreElements(); in test_entries2() 342 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String() 343 while (enumeration.hasMoreElements()) { in test_getEntryLjava_lang_String() 349 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String() 379 assertTrue(enumeration.hasMoreElements()); in test_getJarEntryLjava_lang_String() 380 while (enumeration.hasMoreElements()) { in test_getJarEntryLjava_lang_String() 386 assertTrue(enumeration.hasMoreElements()); in test_getJarEntryLjava_lang_String() 457 while (e.hasMoreElements()) { in testGetJarEntry() 684 while (e.hasMoreElements()) { in checkSignedJar() [all …]
|
/libcore/luni/src/main/java/java/io/ |
D | SequenceInputStream.java | 73 if (e.hasMoreElements()) { in SequenceInputStream() 112 if (e.hasMoreElements()) { in nextStream()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | MyKeyStore.java | 185 while (e.hasMoreElements()) { in engineStore() 194 while (e.hasMoreElements()) { in engineStore() 209 while (e.hasMoreElements()) { in engineLoad() 218 while (e.hasMoreElements()) { in engineLoad()
|
/libcore/luni/src/main/java/java/security/ |
D | PermissionsHash.java | 68 for (Enumeration elements = elements(); elements.hasMoreElements();) { in implies()
|
/libcore/libart/src/main/java/java/lang/ |
D | ClassLoader.java | 742 public boolean hasMoreElements() { in hasMoreElements() method in TwoEnumerationsInOne 743 return first.hasMoreElements() || second.hasMoreElements(); in hasMoreElements() 748 if (first.hasMoreElements()) { in nextElement()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | JarFile.java | 150 public boolean hasMoreElements() { in hasMoreElements() method in JarFile.JarFileEnumerator 151 return ze.hasMoreElements(); in hasMoreElements() 429 while (allEntries.hasMoreElements()) { in getMetaEntries()
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | IdentityScope2Test.java | 76 while (en.hasMoreElements()) { in getIdentity() 86 while (en.hasMoreElements()) { in getIdentity() 226 assertFalse("Contains too many elements", en.hasMoreElements()); in test_identities()
|
D | KeyStoreBuilderTest.java | 299 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements(); ) { in testNewInstanceStringProviderFileProtectionParameter() 320 for (Enumeration<String> aliases = ks1.aliases(); aliases.hasMoreElements(); ) { in testNewInstanceStringProviderFileProtectionParameter() 353 for (Enumeration<String> aliases = ks.aliases(); aliases.hasMoreElements();) { in testNewInstanceStringProviderFileProtectionParameter() 364 for (Enumeration<String> iter = ks1.aliases(); iter.hasMoreElements();) { in testNewInstanceStringProviderFileProtectionParameter()
|
/libcore/luni/src/main/java/java/net/ |
D | MulticastSocket.java | 90 while (addresses.hasMoreElements()) { in getInterface() 211 if (netInterface != null && !netInterface.getInetAddresses().hasMoreElements()) { in checkJoinOrLeave()
|
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/ |
D | X509KeyManagerImpl.java | 125 while (aliase.hasMoreElements()) { in getClientAliases() 169 while (aliase.hasMoreElements()) { in getServerAliases()
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
D | OldLogManagerTest.java | 117 while (enumar.hasMoreElements()) { in testGetLogger() 141 while (enumar2.hasMoreElements()) { in testGetLogger_duplicateName()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | SSLSessionContextTest.java | 92 assertFalse(sc.getIds().hasMoreElements()); in test_getIds()
|