Home
last modified time | relevance | path

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

123

/libcore/luni/src/test/java/tests/api/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.java181 .nextElement()).equals(ckey = (String) cpy.nextElement())); in test_clone()
232 .nextElement())); in test_containsValueLjava_lang_Object()
252 String s = (String) elms.nextElement(); in test_elements()
311 .nextElement())); in test_entrySet()
433 String s = (String) 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()
730 assertTrue("Returned incorrect values", c.contains(e.nextElement())); in test_values()
DListResourceBundleTest.java39 result.addElement(keys.nextElement()); in test_getKeys()
60 result.addElement(bundle.handleGetObject((String)keys.nextElement())); in test_handleGetObjectLjava_lang_String()
DNoSuchElementExceptionTest.java35 v.elements().nextElement(); in test_Constructor()
DPropertyResourceBundleTest.java45 test.addElement(keyEnum.nextElement()); in test_getKeys()
DVectorTest.java329 .contains(e.nextElement())); in test_clear()
337 .contains(e.nextElement())); in test_clear()
354 orgNum.nextElement() == cnum.nextElement()); in test_clone()
464 .nextElement() == tVector.elementAt(i)); in test_elements()
491 Object result = en.nextElement(); in test_elements_subtest0()
/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
DStringTokenizer.java170 public Object nextElement() { in nextElement() method in StringTokenizer
/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/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DJarFileTest.java252 e.nextElement(); in test_entries()
274 enumeration.nextElement(); in test_entries2()
300 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
306 JarEntry je = enumeration.nextElement(); in test_getEntryLjava_lang_String()
337 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String()
343 JarEntry je = enumeration.nextElement(); in test_getJarEntryLjava_lang_String()
414 JarEntry entry = e.nextElement(); in testGetJarEntry()
618 JarEntry entry = e.nextElement(); in checkSignedJar()
645 ZipEntry zipEntry = entries.nextElement(); in test_Jar_created_before_java_5()
658 ZipEntry zipEntry = entries.nextElement(); in test_JarFile_Integrate_Jar()
[all …]
/libcore/luni/src/main/java/java/security/
DPermissionsHash.java69 if (((Permission)elements.nextElement()).implies(permission)) { in implies()
/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/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.java250 public JarEntry nextElement() { in entries() method in JarFile.JarFileEnumerator
251 JarEntry je = new JarEntry(ze.nextElement()); in entries()
432 ZipEntry ze = allEntries.nextElement(); in getMetaEntriesImpl()
/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/libdvm/src/main/java/java/lang/
DClassLoader.java727 public URL nextElement() { in nextElement() method in TwoEnumerationsInOne
729 return first.nextElement(); in nextElement()
731 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()
/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/luni/src/test/java/libcore/java/util/logging/
DOldLogManagerTest.java118 String name = enumar.nextElement(); in testGetLogger()
142 enumar2.nextElement(); in testGetLogger_duplicateName()
/libcore/luni/src/test/java/libcore/java/util/
DCollectionsTest.java34 e.nextElement(); in testEmptyEnumeration()
/libcore/crypto/src/main/java/org/conscrypt/
DKeyManagerImpl.java70 final String alias = aliases.nextElement(); in KeyManagerImpl()
152 final String alias = aliases.nextElement(); in chooseAlias()

123