Home
last modified time | relevance | path

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

12345678910>>...13

/libcore/ojluni/src/main/java/javax/crypto/spec/
DPBEKeySpec.java83 this.password = (char[])password.clone(); in PBEKeySpec()
112 this.password = (char[])password.clone(); in PBEKeySpec()
121 this.salt = (byte[]) salt.clone(); in PBEKeySpec()
154 this.password = (char[])password.clone(); in PBEKeySpec()
163 this.salt = (byte[]) salt.clone(); in PBEKeySpec()
199 return (char[]) password.clone(); in getPassword()
213 return (byte[]) salt.clone(); in getSalt()
DPBEParameterSpec.java56 this.salt = (byte[])salt.clone(); in PBEParameterSpec()
67 return (byte[])this.salt.clone(); in getSalt()
DPSource.java100 this.p = (byte[]) p.clone(); in PSpecified()
108 return (p.length==0? p: (byte[])p.clone()); in getValue()
/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/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/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/sun/security/internal/spec/
DTlsMasterSecretParameterSpec.java89 this.clientRandom = clientRandom.clone(); in TlsMasterSecretParameterSpec()
90 this.serverRandom = serverRandom.clone(); in TlsMasterSecretParameterSpec()
137 return clientRandom.clone(); in getClientRandom()
146 return serverRandom.clone(); in getServerRandom()
DTlsKeyMaterialParameterSpec.java108 this.clientRandom = clientRandom.clone(); in TlsKeyMaterialParameterSpec()
109 this.serverRandom = serverRandom.clone(); in TlsKeyMaterialParameterSpec()
160 return clientRandom.clone(); in getClientRandom()
169 return serverRandom.clone(); in getServerRandom()
/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/text/
DCollator.java286 public Object clone() { in clone() method in Collator
288 Collator clone = (Collator) super.clone(); in clone() local
289 clone.icuColl = (android.icu.text.Collator) icuColl.clone(); in clone()
290 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/ojluni/src/main/java/javax/net/ssl/
DSSLParameters.java119 private static String[] clone(String[] s) { in clone() method in SSLParameters
120 return (s == null) ? null : s.clone(); in clone()
131 return clone(cipherSuites); in getCipherSuites()
140 this.cipherSuites = clone(cipherSuites); in setCipherSuites()
151 return clone(protocols); in getProtocols()
160 this.protocols = clone(protocols); in setProtocols()
DCertPathTrustManagerParameters.java59 this.parameters = (CertPathParameters)parameters.clone(); in CertPathTrustManagerParameters()
68 return (CertPathParameters)parameters.clone(); in getParameters()
/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.java195 copy.put(e.getKey(), e.getValue().clone()); in setOcspResponses()
214 copy.put(e.getKey(), e.getValue().clone()); in getOcspResponses()
258 public PKIXRevocationChecker clone() { in clone() method in PKIXRevocationChecker
259 PKIXRevocationChecker copy = (PKIXRevocationChecker)super.clone(); in clone()
267 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/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()
/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/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/sun/security/provider/certpath/
DAdaptableX509CertSelector.java190 public Object clone() { in clone() method in AdaptableX509CertSelector
192 (AdaptableX509CertSelector)super.clone(); in clone()
194 copy.startDate = (Date)startDate.clone(); in clone()
198 copy.endDate = (Date)endDate.clone(); in clone()
DForwardState.java231 public Object clone() { in clone() method in ForwardState
233 ForwardState clonedState = (ForwardState) super.clone(); in clone()
237 forwardCheckers.clone(); in clone()
243 li.set((PKIXCertPathChecker)checker.clone()); in clone()
253 = (HashSet<GeneralNameInterface>)subjectNamesTraversed.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.java557 return (TimeZone) GMT.clone(); in getTimeZone()
560 return (TimeZone) UTC.clone(); in getTimeZone()
577 return (zone != null) ? zone : (TimeZone) GMT.clone(); in getTimeZone()
656 return (TimeZone) getDefaultRef().clone(); in getDefault()
711 defaultTimeZone = timeZone != null ? (TimeZone) timeZone.clone() : null; in setDefault()
735 public Object clone() in clone() method in TimeZone
738 TimeZone other = (TimeZone) super.clone(); in clone()

12345678910>>...13