/libcore/luni/src/main/java/java/util/ |
D | PropertyResourceBundle.java | 86 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()
|
D | ListResourceBundle.java | 56 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
|
D | Enumeration.java | 53 public E nextElement(); in nextElement() method
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | StringTokenizerTest.java | 47 && (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 …]
|
D | HashtableTest.java | 165 .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 …]
|
D | ListResourceBundleTest.java | 38 result.addElement(keys.nextElement()); in test_getKeys() 58 result.addElement(bundle.handleGetObject((String)keys.nextElement())); in test_handleGetObjectLjava_lang_String()
|
D | NoSuchElementExceptionTest.java | 35 v.elements().nextElement(); in test_Constructor()
|
D | PropertiesTest.java | 88 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 …]
|
D | PropertyResourceBundleTest.java | 111 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/ |
D | NetworkInterfaceTest.java | 69 .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 …]
|
D | InterfaceAddressTest.java | 131 theInterface = netifs.nextElement(); in setUp() 150 .getByInetAddress(addresses.nextElement()); in setUp()
|
D | MulticastSocketTest.java | 83 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/ |
D | ServerSocketChannelTest.java | 94 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()
|
D | DatagramChannelTest.java | 159 NetworkInterface networkInterface = networkInterfaces.nextElement(); in getNonLoopbackNetworkInterfaceAddress() 165 InetAddress inetAddress = inetAddresses.nextElement(); in getNonLoopbackNetworkInterfaceAddress()
|
/libcore/luni/src/test/java/tests/java/security/ |
D | SecureRandomTest.java | 63 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/ |
D | SequenceInputStream.java | 74 in = e.nextElement(); in SequenceInputStream() 113 in = e.nextElement(); in nextStream()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/jar/ |
D | JarFileTest.java | 296 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/ |
D | MyKeyStore.java | 186 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/ |
D | PermissionsHash.java | 69 if (((Permission)elements.nextElement()).implies(permission)) { in implies()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | SSLSessionContextTest.java | 68 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/ |
D | JarFile.java | 154 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/ |
D | IdentityScope2Test.java | 77 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()
|
D | KeyStoreBuilderTest.java | 300 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/ |
D | ClassLoader.java | 747 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/ |
D | X509KeyManagerImpl.java | 126 vec.addElement(aliase.nextElement()); in getClientAliases() 170 vec.addElement(aliase.nextElement()); in getServerAliases()
|