Home
last modified time | relevance | path

Searched refs:clone (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/libcore/ojluni/src/main/java/javax/crypto/spec/
DPBEKeySpec.java83 this.password = password.clone(); in PBEKeySpec()
112 this.password = password.clone(); in PBEKeySpec()
121 this.salt = salt.clone(); in PBEKeySpec()
154 this.password = password.clone(); in PBEKeySpec()
163 this.salt = salt.clone(); in PBEKeySpec()
199 return password.clone(); in getPassword()
213 return salt.clone(); in getSalt()
DPBEParameterSpec.java56 this.salt = salt.clone(); in PBEParameterSpec()
75 this.salt = salt.clone(); in PBEParameterSpec()
87 return this.salt.clone(); in getSalt()
DPSource.java97 this.p = p.clone(); in PSpecified()
105 return (p.length==0? p: p.clone()); in getValue()
/libcore/ojluni/src/test/java/util/stream/boottest/java/util/stream/
DFlagOpTest.java98 known.clone(), in testFlagsClearAllSet()
100 notKnown.clone())); in testFlagsClearAllSet()
106 known.clone(), in testFlagsClearAllSet()
108 notKnown.clone())); in testFlagsClearAllSet()
138 known.clone(), in testFlagsSetAllClear()
140 notKnown.clone())); in testFlagsSetAllClear()
145 known.clone(), in testFlagsSetAllClear()
147 notKnown.clone())); in testFlagsSetAllClear()
171 known.clone(), in testFlagsSetSequence()
172 preserve.clone(), in testFlagsSetSequence()
[all …]
/libcore/ojluni/src/main/java/java/security/
DSignedObject.java194 return this.signature.clone(); in getSignature()
224 verificationEngine.update(this.content.clone()); in verify()
225 return verificationEngine.verify(this.signature.clone()); in verify()
242 signingEngine.update(this.content.clone()); in sign()
243 this.signature = signingEngine.sign().clone(); in sign()
254 content = ((byte[])fields.get("content", null)).clone(); in readObject()
255 signature = ((byte[])fields.get("signature", null)).clone(); in readObject()
/libcore/ojluni/src/main/java/java/beans/
DChangeListenerMap.java86 L[] clone = newArray(size + 1); in add() local
87 clone[size] = listener; in add()
89 System.arraycopy(array, 0, clone, 0, size); in add()
91 this.map.put(name, clone); in add()
110 L[] clone = newArray(size); in remove() local
111 System.arraycopy(array, 0, clone, 0, i); in remove()
112 System.arraycopy(array, i + 1, clone, i, size - i); in remove()
113 this.map.put(name, clone); in remove()
199 return listeners.clone(); in getListeners()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLParameters.java121 private static String[] clone(String[] s) { in clone() method in SSLParameters
122 return (s == null) ? null : s.clone(); in clone()
133 return clone(cipherSuites); in getCipherSuites()
142 this.cipherSuites = clone(cipherSuites); in setCipherSuites()
153 return clone(protocols); in getProtocols()
162 this.protocols = clone(protocols); in setProtocols()
488 return applicationProtocols.clone(); in getApplicationProtocols()
531 String[] tempProtocols = protocols.clone(); in setApplicationProtocols()
DCertPathTrustManagerParameters.java59 this.parameters = (CertPathParameters)parameters.clone(); in CertPathTrustManagerParameters()
68 return (CertPathParameters)parameters.clone(); in getParameters()
/libcore/benchmarks/src/benchmarks/regression/
DExpensiveObjectsBenchmark.java42 ((DateFormat) df.clone()).format(System.currentTimeMillis()); in timeClonedDateFormatTimeInstance()
64 c.clone(); in timeClonedCollator()
77 dfs.clone(); in timeClonedDateFormatSymbols()
90 dfs.clone(); in timeClonedDecimalFormatSymbols()
103 nf.clone(); in timeClonedNumberFormat()
136 sdf.clone(); in timeClonedSimpleDateFormat()
149 gc.clone(); in timeClonedGregorianCalendar()
/libcore/luni/src/test/java/libcore/java/lang/
DOldObjectTest.java52 assertFalse(mco.equals(mco.clone())); in test_clone()
53 assertEquals(mco.getClass(), mco.clone().getClass()); in test_clone()
60 mo.clone(); in test_clone()
68 public Object clone() throws CloneNotSupportedException { in clone() method in OldObjectTest.MockCloneableObject
69 return super.clone(); in clone()
82 public Object clone() throws CloneNotSupportedException { in clone() method in OldObjectTest.MockObject
83 return super.clone(); in clone()
/libcore/ojluni/src/main/java/java/security/cert/
DPKIXParameters.java488 return (Date) this.date.clone(); in getDate()
504 this.date = (Date) date.clone(); in setDate()
550 tmpList.add((PKIXCertPathChecker)checker.clone()); in setCertPathCheckers()
572 tmpList.add((PKIXCertPathChecker)ck.clone()); in getCertPathCheckers()
590 certPathCheckers.add((PKIXCertPathChecker)checker.clone()); in addCertPathChecker()
632 return (CertSelector) certSelector.clone(); in getTargetCertConstraints()
653 certSelector = (CertSelector) selector.clone(); in setTargetCertConstraints()
664 public Object clone() { in clone() method in PKIXParameters
666 PKIXParameters copy = (PKIXParameters)super.clone(); in clone()
677 (PKIXCertPathChecker)checker.clone()); in clone()
DPKIXRevocationChecker.java201 copy.put(e.getKey(), e.getValue().clone()); in setOcspResponses()
220 copy.put(e.getKey(), e.getValue().clone()); in getOcspResponses()
264 public PKIXRevocationChecker clone() { in clone() method in PKIXRevocationChecker
265 PKIXRevocationChecker copy = (PKIXRevocationChecker)super.clone(); in clone()
273 entry.setValue(encoded.clone()); in clone()
DPolicyQualifierInfo.java101 mEncoded = encoded.clone(); in PolicyQualifierInfo()
138 return mEncoded.clone(); in getEncoded()
150 return (mData == null ? null : mData.clone()); in getPolicyQualifier()
/libcore/ojluni/src/main/java/java/text/
DCollator.java439 public Object clone() in clone() method in Collator
443 Collator clone = (Collator) super.clone(); in clone() local
444 clone.icuColl = (android.icu.text.Collator) icuColl.clone(); in clone()
445 return clone; in clone()
DIcuIteratorWrapper.java228 public Object clone() { in clone() method in IcuIteratorWrapper
229 IcuIteratorWrapper result = (IcuIteratorWrapper) super.clone(); in clone()
230 result.wrapped = (android.icu.text.BreakIterator) wrapped.clone(); in clone()
/libcore/luni/src/test/java/tests/security/cert/
DPKIXCertPathBuilderResultTest.java195 PKIXCertPathBuilderResult clone = (PKIXCertPathBuilderResult) init in test_clone() local
196 .clone(); in test_clone()
197 assertSame(init.getCertPath(), clone.getCertPath()); in test_clone()
198 assertSame(init.getPolicyTree(), clone.getPolicyTree()); in test_clone()
199 assertSame(init.getPublicKey(), clone.getPublicKey()); in test_clone()
200 assertSame(init.getTrustAnchor(), clone.getTrustAnchor()); in test_clone()
DCollectionCertStoreParametersTest.java135 (CollectionCertStoreParameters)cp1.clone(); in testClone01()
149 (CollectionCertStoreParameters)cp1.clone(); in testClone02()
161 (CollectionCertStoreParameters)cp1.clone(); in testClone03()
163 (CollectionCertStoreParameters)cp2.clone(); in testClone03()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationMember.java369 return ((int[])value).clone(); in copyValue()
371 return ((byte[])value).clone(); in copyValue()
373 return ((short[])value).clone(); in copyValue()
375 return ((long[])value).clone(); in copyValue()
377 return ((char[])value).clone(); in copyValue()
379 return ((boolean[])value).clone(); in copyValue()
381 return ((float[])value).clone(); in copyValue()
383 return ((double[])value).clone(); in copyValue()
385 return ((Object[])value).clone(); in copyValue()
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DAdaptableX509CertSelector.java247 public Object clone() { in clone() method in AdaptableX509CertSelector
249 (AdaptableX509CertSelector)super.clone(); in clone()
251 copy.startDate = (Date)startDate.clone(); in clone()
255 copy.endDate = (Date)endDate.clone(); in clone()
259 copy.ski = ski.clone(); in clone()
DForwardState.java232 public Object clone() { in clone() method in ForwardState
234 ForwardState clonedState = (ForwardState) super.clone(); in clone()
238 forwardCheckers.clone(); in clone()
244 li.set((PKIXCertPathChecker)checker.clone()); in clone()
254 = (HashSet<GeneralNameInterface>)subjectNamesTraversed.clone(); in clone()
/libcore/ojluni/src/main/java/java/security/spec/
DEncodedKeySpec.java56 this.encodedKey = encodedKey.clone(); in EncodedKeySpec()
66 return this.encodedKey.clone(); in getEncoded()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/
DMyCertStoreParameters.java36 public Object clone() { in clone() method in MyCertStoreParameters
38 return super.clone(); in clone()
/libcore/ojluni/src/main/java/java/util/
DTreeSet.java473 public Object clone() { in clone() method in TreeSet
474 TreeSet<E> clone; in clone() local
476 clone = (TreeSet<E>) super.clone(); in clone()
481 clone.m = new TreeMap<>(m); in clone()
482 return clone; in clone()
DTimeZone.java571 return (TimeZone) GMT.clone(); in getTimeZone()
574 return (TimeZone) UTC.clone(); in getTimeZone()
589 return (zone != null) ? zone : (TimeZone) GMT.clone(); in getTimeZone()
700 return (TimeZone) getDefaultRef().clone(); in getDefault()
746 defaultTimeZone = timeZone != null ? (TimeZone) timeZone.clone() : null; in setDefault()
770 public Object clone() in clone() method in TimeZone
773 TimeZone other = (TimeZone) super.clone(); in clone()
/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java83 this.encoded = encoded.clone(); in EncryptedPrivateKeyInfo()
146 this.encryptedData = encryptedData.clone(); in EncryptedPrivateKeyInfo()
186 this.encryptedData = encryptedData.clone(); in EncryptedPrivateKeyInfo()
225 return this.encryptedData.clone(); in getEncryptedData()
396 return this.encoded.clone(); in getEncoded()

12345678910>>...15