Home
last modified time | relevance | path

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

123

/libcore/luni/src/main/java/java/util/
DPropertyResourceBundle.java86 String nextElement; in getKeys() local
89 if (nextElement != null) { in getKeys()
93 String next = pEnum.nextElement(); in getKeys()
95 nextElement = next; in getKeys()
109 public String nextElement() { in getKeys() method
111 return local.nextElement(); in getKeys()
114 String result = nextElement; in getKeys()
115 nextElement = null; in getKeys()
119 return pEnum.nextElement(); in getKeys()
DListResourceBundle.java56 String nextElement; in getKeys() local
59 if (nextElement != null) { in getKeys()
63 String next = pEnum.nextElement(); in getKeys()
65 nextElement = next; in getKeys()
79 public String nextElement() { in getKeys() method
84 String result = nextElement; in getKeys()
85 nextElement = null; in getKeys()
89 return pEnum.nextElement(); in getKeys()
100 public String nextElement() { in getKeys() method
DEnumeration.java53 public E nextElement(); in nextElement() method
/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()
DNoSuchElementExceptionTest.java35 v.elements().nextElement(); in test_Constructor()
DPropertiesTest.java88 propertyName = (String) propertyNames.nextElement(); in test_ConstructorLjava_util_Properties()
525 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario1()
541 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario1()
582 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario2()
602 assertTrue(keyList.contains(nameEnum.nextElement())); in test_stringPropertyNames_scenario2()
636 nextKey = (String) e.nextElement(); in test_saveLjava_io_OutputStreamLjava_lang_String()
688 nextKey = (String) e.nextElement(); in test_storeLjava_io_OutputStreamLjava_lang_String()
721 nextKey = (String) e.nextElement(); in test_storeLjava_io_WriterLjava_lang_String()
847 nextKey = (String) e.nextElement(); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
873 nextKey = (String) e.nextElement(); in test_storeToXMLLjava_io_OutputStreamLjava_lang_StringLjava_lang_String()
[all …]
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.java83 NetworkInterface nextInterface = interfaces.nextElement(); in setUp()
87 final InetAddress nextAddress = addresses.nextElement(); in setUp()
139 InetAddress firstAddress = (InetAddress) addresses.nextElement(); in test_getInterface()
164 InetAddress firstAddress = theInterface.getInetAddresses().nextElement(); in test_getNetworkInterface()
191 firstAddress = (InetAddress) addresses.nextElement(); in test_getNetworkInterface()
371 NetworkInterface thisInterface = theInterfaces.nextElement(); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
386 InetAddress firstAddress = addresses.nextElement(); in test_joinGroupLjava_net_SocketAddressLjava_net_NetworkInterface()
708 NetworkInterface thisInterface = (NetworkInterface) theInterfaces.nextElement(); in test_setNetworkInterfaceLjava_net_NetworkInterface()
710 if ((!(thisInterface.getInetAddresses().nextElement()).isLoopbackAddress())) { in test_setNetworkInterfaceLjava_net_NetworkInterface()
/libcore/luni/src/test/java/libcore/java/nio/channels/
DServerSocketChannelTest.java94 NetworkInterface nic = interfaces.nextElement(); in test_bind_nullBindsToAll()
98 new InetSocketAddress(inetAddresses.nextElement(), boundAddress.getPort()); in test_bind_nullBindsToAll()
125 NetworkInterface nic = interfaces.nextElement(); in test_bind_loopback()
129 new InetSocketAddress(inetAddresses.nextElement(), boundAddress.getPort()); in test_bind_loopback()
DDatagramChannelTest.java159 NetworkInterface networkInterface = networkInterfaces.nextElement(); in getNonLoopbackNetworkInterfaceAddress()
165 InetAddress inetAddress = inetAddresses.nextElement(); in getNonLoopbackNetworkInterfaceAddress()
/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/luni/src/main/java/java/io/
DSequenceInputStream.java74 in = e.nextElement(); in SequenceInputStream()
113 in = e.nextElement(); in nextStream()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/
DJarFileTest.java296 e.nextElement(); in test_entries()
318 enumeration.nextElement(); in test_entries2()
344 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
350 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
381 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String()
387 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String()
458 JarEntry entry = e.nextElement(); in testGetJarEntry()
685 JarEntry entry = e.nextElement(); in checkSignedJar()
731 JarEntry entry = e.nextElement(); in getSignedJarCerts()
793 ZipEntry zipEntry = entries.nextElement(); in test_Jar_created_before_java_5()
[all …]
/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/luni/src/main/java/java/security/
DPermissionsHash.java69 if (((Permission)elements.nextElement()).implies(permission)) { in implies()
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionContextTest.java68 byte[] clientId = (byte[]) clientIds.nextElement(); in test_SSLSessionContext_getIds()
73 byte[] serverId = (byte[]) serverIds.nextElement(); in test_SSLSessionContext_getIds()
101 byte[] clientId = (byte[]) client.getIds().nextElement(); in test_SSLSessionContext_getSession()
107 byte[] serverId = (byte[]) server.getIds().nextElement(); in test_SSLSessionContext_getSession()
/libcore/luni/src/main/java/java/util/jar/
DJarFile.java154 public JarEntry nextElement() { in nextElement() method in JarFile.JarFileEnumerator
155 return new JarEntry(ze.nextElement(), jf /* parentJar */); in nextElement()
430 ZipEntry ze = allEntries.nextElement(); in getMetaEntries()
/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()
DKeyStoreBuilderTest.java300 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
321 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
354 String aName = aliases.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
365 String aName = iter.nextElement(); in testNewInstanceStringProviderFileProtectionParameter()
/libcore/libart/src/main/java/java/lang/
DClassLoader.java747 public URL nextElement() { in nextElement() method in TwoEnumerationsInOne
749 return first.nextElement(); in nextElement()
751 return second.nextElement(); in nextElement()
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DX509KeyManagerImpl.java126 vec.addElement(aliase.nextElement()); in getClientAliases()
170 vec.addElement(aliase.nextElement()); in getServerAliases()

123