Home
last modified time | relevance | path

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

1234

/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.java86 while (interfaces.hasMoreElements() in setUp()
91 while (addresses.hasMoreElements()) { in setUp()
144 if (addresses.hasMoreElements()) { in test_getInterface()
169 theInterface.getInetAddresses().hasMoreElements()); in test_getNetworkInterface()
196 if (addresses.hasMoreElements()) { in test_getNetworkInterface()
396 while (theInterfaces.hasMoreElements()) { in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
411 if (addresses.hasMoreElements()) { in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
734 while (theInterfaces.hasMoreElements()) { in test_setNetworkInterfaceLjava_net_NetworkInterface()
936 && iface.getInetAddresses().hasMoreElements(); in willWorkForMulticast()
DInetAddressTest.java339 while (nif.hasMoreElements()) { in test_isReachableLjava_net_NetworkInterfaceII()
371 while (networkInterfaces.hasMoreElements()) { in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
374 while (addresses.hasMoreElements()) { in test_isReachableLjava_net_NetworkInterfaceII_loopbackInterface()
/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.java90 while (propertyNames.hasMoreElements()) { in test_ConstructorLjava_util_Properties()
526 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario1()
542 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario1()
583 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario2()
603 while (nameEnum.hasMoreElements()) { in test_stringPropertyNames_scenario2()
638 while (e.hasMoreElements()) { in test_saveLjava_io_OutputStreamLjava_lang_String()
690 while (e.hasMoreElements()) { in test_storeLjava_io_OutputStreamLjava_lang_String()
723 while (e.hasMoreElements()) { in test_storeLjava_io_WriterLjava_lang_String()
849 while (e.hasMoreElements()) { in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
875 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/ojluni/src/main/java/sun/util/
DResourceBundleEnumeration.java57 public boolean hasMoreElements() { in hasMoreElements() method in ResourceBundleEnumeration
62 while (next == null && enumeration.hasMoreElements()) { in hasMoreElements()
74 if (hasMoreElements()) { in nextElement()
/libcore/ojluni/src/main/java/sun/misc/
DCompoundEnumeration.java45 if (enums[index] != null && enums[index].hasMoreElements()) { in next()
53 public boolean hasMoreElements() { in hasMoreElements() method in CompoundEnumeration
/libcore/luni/src/test/java/libcore/java/util/zip/
DZip64FileTest.java46 assertTrue(entries.hasMoreElements()); in testZip64Support_largeNumberOfEntries()
73 assertTrue(entries.hasMoreElements()); in testZip64Support_totalLargerThan4G()
96 assertTrue(entries.hasMoreElements()); in testZip64Support_hugeEntry()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java299 for (i = 0; e.hasMoreElements(); i++) { in test_entries()
325 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()
326 while (enumeration.hasMoreElements()) { in test_getEntryLjava_lang_String()
332 assertTrue(enumeration.hasMoreElements()); in test_getEntryLjava_lang_String()
362 assertTrue(enumeration.hasMoreElements()); in test_getJarEntryLjava_lang_String()
363 while (enumeration.hasMoreElements()) { in test_getJarEntryLjava_lang_String()
369 assertTrue(enumeration.hasMoreElements()); in test_getJarEntryLjava_lang_String()
586 while (e.hasMoreElements()) { in assertFirstSignedEntryCertificateLength()
614 while (e.hasMoreElements()) { in getSignedJarCerts()
675 while (entries.hasMoreElements()) { in test_Jar_created_before_java_5()
[all …]
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java727 public boolean hasMoreElements() { in entryNames() method
739 while (enum2.hasMoreElements()) { in entryNames()
747 if (hasMoreElements()) { in entryNames()
770 public boolean hasMoreElements() { in entries2() method
774 while (enum_.hasMoreElements()) { in entries2()
785 while (signers.hasMoreElements()) { in entries2()
796 if (hasMoreElements()) { in entries2()
808 public boolean hasMoreElements() {
833 public boolean hasMoreElements() {
837 while (entries.hasMoreElements()) {
[all …]
/libcore/ojluni/src/main/java/java/util/
DEnumeration.java69 boolean hasMoreElements(); in hasMoreElements() method
DProperties.java834 for (Enumeration<?> e = keys(); e.hasMoreElements();) { in store0()
1063 for (Enumeration<String> e = h.keys() ; e.hasMoreElements() ;) { in list()
1091 for (Enumeration<String> e = h.keys() ; e.hasMoreElements() ;) { in list()
1111 for (Enumeration<?> e = keys() ; e.hasMoreElements() ;) { in enumerate()
1126 for (Enumeration<?> e = keys() ; e.hasMoreElements() ;) { in enumerateStringProperties()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java96 while (interfaces.hasMoreElements()) { in test_bind_nullBindsToAll()
99 while (inetAddresses.hasMoreElements()) { in test_bind_nullBindsToAll()
127 while (interfaces.hasMoreElements()) { in test_bind_loopback()
130 while (inetAddresses.hasMoreElements()) { in test_bind_loopback()
/libcore/benchmarks/src/benchmarks/
DZipFileReadBenchmark.java42 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in setUp()
78 for (Enumeration<? extends ZipEntry> e = zipFile.entries(); e.hasMoreElements(); ) { in timeZipFileRead()
/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/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/ojluni/src/main/java/java/io/
DSequenceInputStream.java109 if (e.hasMoreElements()) { in nextStream()
/libcore/ojluni/src/main/java/java/util/logging/
DLogging.java61 for (; loggers.hasMoreElements();) { in getLoggerNames()
/libcore/luni/src/test/java/libcore/java/util/logging/
DOldLogManagerTest.java117 while (enumar.hasMoreElements()) { in testGetLogger()
141 while (enumar2.hasMoreElements()) { in testGetLogger_duplicateName()
/libcore/ojluni/src/main/java/sun/security/util/
DAnchorCertificates.java63 while (list.hasMoreElements()) { in AccessController.doPrivileged()

1234