Home
last modified time | relevance | path

Searched refs:nextElement (Results 1 – 25 of 82) sorted by relevance

1234

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DStringTokenizerTest.java47 && (st.nextElement().equals("This"))); in test_ConstructorLjava_lang_StringLjava_lang_String()
67 st.nextElement(); in test_ConstructorLjava_lang_StringLjava_lang_StringZ()
69 && (st.nextElement().equals(":"))); in test_ConstructorLjava_lang_StringLjava_lang_StringZ()
98 st.nextElement(); in test_hasMoreElements()
101 st.nextElement(); in test_hasMoreElements()
102 st.nextElement(); in test_hasMoreElements()
103 st.nextElement(); in test_hasMoreElements()
104 st.nextElement(); in test_hasMoreElements()
133 .nextElement())); in test_nextElement()
135 .nextElement())); in test_nextElement()
[all …]
DHashtableTest.java165 .nextElement()).equals(ckey = (String) cpy.nextElement())); in test_clone()
216 .nextElement())); in test_containsValueLjava_lang_Object()
236 String s = (String) elms.nextElement(); in test_elements()
245 elms.nextElement(); in test_elements()
303 .nextElement())); in test_entrySet()
425 String s = (String) keys.nextElement(); in test_keys()
434 keys.nextElement(); in test_keys()
453 Object result = en.nextElement(); in test_keys_subtest0()
470 .contains(e.nextElement())); in test_keySet()
638 Object x = e.nextElement(); in test_putAllLjava_util_Map()
[all …]
DListResourceBundleTest.java38 result.addElement(keys.nextElement()); in test_getKeys()
58 result.addElement(bundle.handleGetObject((String)keys.nextElement())); in test_handleGetObjectLjava_lang_String()
DPropertiesTest.java91 propertyName = (String) propertyNames.nextElement(); in test_ConstructorLjava_util_Properties()
528 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario1()
544 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario1()
585 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario2()
605 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario2()
639 nextKey = (String) e.nextElement(); in test_saveLjava_io_OutputStreamLjava_lang_String()
691 nextKey = (String) e.nextElement(); in test_storeLjava_io_OutputStreamLjava_lang_String()
724 nextKey = (String) e.nextElement(); in test_storeLjava_io_WriterLjava_lang_String()
850 nextKey = (String) e.nextElement(); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
876 nextKey = (String) e.nextElement(); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
[all …]
DNoSuchElementExceptionTest.java35 v.elements().nextElement(); in test_Constructor()
DPropertyResourceBundleTest.java111 test.addElement(keyEnum.nextElement()); in test_getKeys()
189 contents.add(keys.nextElement()); in test_access$0_Enumeration()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DNetworkInterfaceTest.java69 .nextElement(); in test_getInetAddresses()
78 .nextElement(); in test_getInetAddresses()
90 InetAddress theAddress = (InetAddress) addresses.nextElement(); in test_getInetAddresses()
101 .nextElement(); in test_getInetAddresses()
113 .nextElement(); in test_getInetAddresses()
122 .nextElement(); in test_getInetAddresses()
137 .nextElement(); in test_getInetAddresses()
146 .nextElement(); in test_getInetAddresses()
262 InetAddress theAddress = (InetAddress) addresses.nextElement(); in test_getByInetAddressLjava_net_InetAddress()
275 InetAddress theAddress = (InetAddress) addresses.nextElement(); in test_getByInetAddressLjava_net_InetAddress()
[all …]
DInterfaceAddressTest.java131 theInterface = netifs.nextElement(); in setUp()
150 .getByInetAddress(addresses.nextElement()); in setUp()
DMulticastSocketTest.java97 NetworkInterface nextInterface = interfaces.nextElement(); in setUp()
101 final InetAddress nextAddress = addresses.nextElement(); in setUp()
151 InetAddress firstAddress = (InetAddress) addresses.nextElement(); in getInterface()
175 InetAddress firstAddress = theInterface.getInetAddresses().nextElement(); in getNetworkInterface()
202 firstAddress = (InetAddress) addresses.nextElement(); in getNetworkInterface()
394 NetworkInterface thisInterface = theInterfaces.nextElement(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
409 InetAddress firstAddress = addresses.nextElement(); in joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
714 NetworkInterface thisInterface = (NetworkInterface) theInterfaces.nextElement(); in check_setNetworkInterfaceLjava_net_NetworkInterface()
716 if ((!(thisInterface.getInetAddresses().nextElement()).isLoopbackAddress())) { in check_setNetworkInterfaceLjava_net_NetworkInterface()
/libcore/ojluni/src/main/java/java/util/regex/
DPattern.java1479 private String nextElement; in splitAsStream() field in Pattern.MatcherIterator
1492 String n = nextElement; in splitAsStream()
1493 nextElement = null; in splitAsStream()
1502 if (nextElement != null || emptyElementCount > 0) in splitAsStream()
1511 nextElement = input.subSequence(current, matcher.start()).toString(); in splitAsStream()
1513 if (!nextElement.isEmpty()) { in splitAsStream()
1522 nextElement = input.subSequence(current, input.length()).toString(); in splitAsStream()
1524 if (!nextElement.isEmpty()) { in splitAsStream()
1529 nextElement = null; in splitAsStream()
/libcore/ojluni/src/main/java/sun/misc/
DCompoundEnumeration.java57 public E nextElement() { in nextElement() method in CompoundEnumeration
61 return enums[index].nextElement(); in nextElement()
/libcore/ojluni/src/main/java/sun/util/
DResourceBundleEnumeration.java63 next = enumeration.nextElement(); in hasMoreElements()
73 public String nextElement() { in nextElement() method in ResourceBundleEnumeration
/libcore/luni/src/test/java/libcore/java/util/zip/
DZip64FileTest.java47 ZipEntry ze = entries.nextElement(); in testZip64Support_largeNumberOfEntries()
74 ZipEntry ze = entries.nextElement(); in testZip64Support_totalLargerThan4G()
97 ZipEntry ze = entries.nextElement(); in testZip64Support_hugeEntry()
DZipFileTest.java57 ZipEntry entry1 = entries.nextElement(); in testZipFileOffsetNeverChangesAfterInit()
58 ZipEntry entry2 = entries.nextElement(); in testZipFileOffsetNeverChangesAfterInit()
DAbstractZipFileTest.java60 ZipEntry zipEntry = e.nextElement(); in testInflatingFilesRequiringZipRefill()
197 ZipEntry zipEntry = e.nextElement(); in testZipFileWithLotsOfEntries()
212 e.nextElement(); in testZipFileLargerThan2GiB()
533 ZipEntry ze = entries.nextElement(); in testArchivesWithRelativePaths()
555 InputStream is = zipFile.getInputStream(zipFile.entries().nextElement()); in testReadMoreThan8kInOneRead()
576 InputStream is = zipFile.getInputStream(zipFile.entries().nextElement()); in testReadWithOffset()
602 InputStream is = zipFile.getInputStream(zipFile.entries().nextElement()); in testReadWithOffsetInvalid()
/libcore/luni/src/test/java/tests/java/security/
DSecureRandomTest.java63 if (sr.nextElement(1) != 1 || sr.nextElement(2) != 3 || sr.nextElement(3) != 7) { in testNext()
291 public int nextElement(int numBits) { in nextElement() method in SecureRandomTest.MySecureRandom
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java300 e.nextElement(); in test_entries()
327 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
333 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
364 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String()
370 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String()
587 JarEntry entry = e.nextElement(); in assertFirstSignedEntryCertificateLength()
615 JarEntry entry = e.nextElement(); in getSignedJarCerts()
676 ZipEntry zipEntry = entries.nextElement(); in test_Jar_created_before_java_5()
689 ZipEntry zipEntry = entries.nextElement(); in test_JarFile_Integrate_Jar()
732 ZipEntry zipEntry = entries.nextElement(); in test_JarFile_InsertEntry_in_Manifest_Jar()
[all …]
/libcore/ojluni/src/main/java/java/util/
DEnumeration.java78 E nextElement(); in nextElement() method
DSpliterators.java670 T nextElement; in iterator() field in Spliterators.Adapter
675 nextElement = t; in iterator()
691 return nextElement; in iterator()
715 int nextElement; in iterator() field in Spliterators.Adapter
720 nextElement = t; in iterator()
736 return nextElement; in iterator()
760 long nextElement; in iterator() field in Spliterators.Adapter
765 nextElement = t; in iterator()
781 return nextElement; in iterator()
805 double nextElement; in iterator() field in Spliterators.Adapter
[all …]
DProperties.java835 String key = (String)e.nextElement(); in store0()
1064 String key = e.nextElement(); in list()
1092 String key = e.nextElement(); in list()
1112 String key = (String)e.nextElement(); in enumerate()
1127 Object k = e.nextElement(); in enumerateStringProperties()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DMyKeyStore.java186 alias = (String) e.nextElement(); in engineStore()
195 alias = (String) e.nextElement(); in engineStore()
210 alias = (String) e.nextElement(); in engineLoad()
219 alias = (String) e.nextElement(); in engineLoad()
/libcore/benchmarks/src/benchmarks/
DZipFileReadBenchmark.java43 ZipEntry zipEntry = e.nextElement(); in setUp()
79 ZipEntry zipEntry = e.nextElement(); in timeZipFileRead()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java110 NetworkInterface nic = interfaces.nextElement(); in bind_nullBindsToAll()
114 new InetSocketAddress(inetAddresses.nextElement(), boundAddress.getPort()); in bind_nullBindsToAll()
194 NetworkInterface nic = interfaces.nextElement(); in bind_loopback()
198 new InetSocketAddress(inetAddresses.nextElement(), boundAddress.getPort()); in bind_loopback()
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java740 name = enum2.nextElement(); in entryNames()
746 public String nextElement() { in entryNames() method
775 ZipEntry ze = enum_.nextElement(); in entries2()
786 String name = signers.nextElement(); in entries2()
795 public JarEntry nextElement() { in entries2() method
812 public String nextElement() {
839 ZipEntry e = entries.nextElement();
852 public String nextElement() {
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DIdentityScope2Test.java77 Identity current = (Identity) en.nextElement(); in getIdentity()
87 Identity current = (Identity) en.nextElement(); in getIdentity()
225 assertEquals("Wrong object contained in identities", en.nextElement(), id); in test_identities()

1234