Searched refs:clone (Results 176 - 200 of 226) sorted by relevance

12345678910

/libcore/luni/src/main/native/
H A Dlibcore_icu_NativeBreakIterator.cpp124 return reinterpret_cast<uintptr_t>(it->clone());
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyStoreSpiTest.java248 return encoding.clone();
H A DMessageDigest2Test.java77 * java.security.MessageDigest#clone()
87 MessageDigest d2 = (MessageDigest) d1.clone();
/libcore/luni/src/test/java/tests/api/java/util/
H A DLinkedHashMapTest.java361 * java.util.LinkedHashMap#clone()
364 // Test for method java.lang.Object java.util.LinkedHashMap.clone()
365 LinkedHashMap hm2 = (LinkedHashMap) hm.clone();
380 AbstractMap map2 = (AbstractMap) map.clone();
397 * java.util.LinkedHashMap#clone()
400 // Test for method java.lang.Object java.util.LinkedHashMap.clone()
405 LinkedHashMap<String, String> hm2 = (LinkedHashMap<String, String>) hm1.clone();
426 MockMap cloneMap = (MockMap) hashMap.clone();
H A DLocaleTest.java106 * java.util.Locale#clone()
109 // Test for method java.lang.Object java.util.Locale.clone()
110 assertTrue("Clone failed", l.clone().equals(l));
H A DHashtableTest.java166 * java.util.Hashtable#clone()
169 // Test for method java.lang.Object java.util.Hashtable.clone()
171 Hashtable h = (Hashtable) htfull.clone();
802 return (Hashtable) s.clone();
H A DDateTest.java154 * java.util.Date#clone()
157 // Test for method java.lang.Object java.util.Date.clone()
159 Date d2 = (Date) d1.clone();
/libcore/luni/src/test/java/tests/security/cert/
H A DPKIXBuilderParametersTest.java133 .clone();
H A DTrustAnchorTest.java106 byte[] ncCopy = nc.clone();
217 byte[] ncCopy = nc.clone();
H A DCertPathValidator1Test.java453 public Object clone() { method in class:invalidParams
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestKeyManager.java44 KeyManager[] result = keyManagers.clone();
/libcore/libdvm/src/main/java/java/lang/
H A DClass.java705 return (T[]) Enum.getSharedConstants((Class) this).clone();
815 return (result.length == 0) ? result : result.clone();
/libcore/luni/src/main/java/java/util/
H A DLinkedList.java461 public Object clone() { method in class:LinkedList
463 LinkedList<E> l = (LinkedList<E>) super.clone();
H A DSimpleTimeZone.java298 public Object clone() { method in class:SimpleTimeZone
299 SimpleTimeZone zone = (SimpleTimeZone) super.clone();
/libcore/luni/src/test/java/tests/security/spec/
H A DEllipticCurveTest.java234 byte[] seedCopy = seed.clone();
515 EllipticCurve c = new EllipticCurve(f, a, b, seed.clone());
/libcore/luni/src/main/java/java/lang/
H A DThreadLocal.java190 this.table = fromParent.table.clone();
/libcore/luni/src/main/java/java/util/jar/
H A DJarVerifier.java426 return verifiedCerts.clone();
/libcore/luni/src/test/java/libcore/java/net/
H A DOldServerSocketTest.java201 Properties props = (Properties) System.getProperties().clone();
/libcore/luni/src/test/java/libcore/java/text/
H A DOldAttributedStringTest.java242 public Object clone() { method in class:OldAttributedStringTest.testAttributedCharacterIterator
H A DOldDecimalFormatTest.java585 DecimalFormat cloned = (DecimalFormat) format.clone();
590 DecimalFormat format1 = (DecimalFormat) (format.clone());
592 assertTrue("Object's clone isn't equal!", format.equals(format1));
593 // change the content of the clone and make sure it's not equal anymore
596 assertTrue("Object's changed clone should not be equal!", !format
911 DecimalFormat df2 = (DecimalFormat) df1.clone();
/libcore/harmony-tests/src/test/java/tests/api/java/math/
H A DBigIntegerTest.java850 myBigInteger = (MyBigInteger) myBigInteger.clone();
857 public Object clone() { method in class:BigIntegerTest.MyBigInteger
859 return super.clone();
/libcore/luni/src/main/java/java/util/concurrent/
H A DConcurrentSkipListMap.java335 * Initializes or resets state. Needed by constructors, clone,
336 * clear, readObject. and ConcurrentSkipListSet.clone.
1409 public ConcurrentSkipListMap<K,V> clone() { method in class:ConcurrentSkipListMap
1412 ConcurrentSkipListMap<K,V> clone =
1413 (ConcurrentSkipListMap<K,V>) super.clone();
1414 clone.initialize();
1415 clone.buildFromSorted(this);
1416 return clone;
1424 * given sorted map. Call only from constructor or clone
/libcore/crypto/src/main/java/org/conscrypt/
H A DSSLEngineImpl.java230 return ProtocolVersion.supportedProtocols.clone();
H A DSSLSocketImpl.java272 return ProtocolVersion.supportedProtocols.clone();
/libcore/luni/src/test/java/libcore/java/util/
H A DTimeZoneTest.java45 stz.clone();

Completed in 352 milliseconds

12345678910