Home
last modified time | relevance | path

Searched refs:hasMoreElements (Results 1 – 25 of 65) sorted by relevance

123

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java67 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 …]
DInterfaceAddressTest.java130 while (netifs.hasMoreElements()) { in setUp()
148 if (addresses != null && addresses.hasMoreElements()) { in setUp()
DMulticastSocketTest.java81 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/
DPropertyResourceBundle.java92 while (pEnum.hasMoreElements()) { in getKeys()
102 public boolean hasMoreElements() { in getKeys() method
103 if (local.hasMoreElements()) { in getKeys()
110 if (local.hasMoreElements()) { in getKeys()
DListResourceBundle.java62 while (pEnum.hasMoreElements()) { in getKeys()
72 public boolean hasMoreElements() { in getKeys() method
96 public boolean hasMoreElements() { in getKeys() method
DEnumeration.java43 public boolean hasMoreElements(); in hasMoreElements() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DHashtableTest.java145 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 …]
DStringTokenizerTest.java100 .hasMoreElements()); in test_hasMoreElements()
106 .hasMoreElements()); in test_hasMoreElements()
216 stringTokenizer.hasMoreElements(); in test_hasMoreElements_NPE()
224 stringTokenizer.hasMoreElements(); in test_hasMoreElements_NPE()
DListResourceBundleTest.java37 while (keys.hasMoreElements()) { in test_getKeys()
57 while (keys.hasMoreElements()) { in test_handleGetObjectLjava_lang_String()
DPropertiesTest.java87 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 …]
DPropertyResourceBundleTest.java110 while (keyEnum.hasMoreElements()) { in test_getKeys()
188 while (keys.hasMoreElements()) { in test_access$0_Enumeration()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java93 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()
DDatagramChannelTest.java158 while (networkInterfaces.hasMoreElements()) { in getNonLoopbackNetworkInterfaceAddress()
164 while (inetAddresses.hasMoreElements()) { in getNonLoopbackNetworkInterfaceAddress()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java295 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/
DSequenceInputStream.java73 if (e.hasMoreElements()) { in SequenceInputStream()
112 if (e.hasMoreElements()) { in nextStream()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyStore.java185 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/
DPermissionsHash.java68 for (Enumeration elements = elements(); elements.hasMoreElements();) { in implies()
/libcore/libart/src/main/java/java/lang/
DClassLoader.java742 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/
DJarFile.java150 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/
DIdentityScope2Test.java76 while (en.hasMoreElements()) { in getIdentity()
86 while (en.hasMoreElements()) { in getIdentity()
226 assertFalse("Contains too many elements", en.hasMoreElements()); in test_identities()
DKeyStoreBuilderTest.java299 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/
DMulticastSocket.java90 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/
DX509KeyManagerImpl.java125 while (aliase.hasMoreElements()) { in getClientAliases()
169 while (aliase.hasMoreElements()) { in getServerAliases()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogManagerTest.java117 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/
DSSLSessionContextTest.java92 assertFalse(sc.getIds().hasMoreElements()); in test_getIds()

123