/libcore/luni/src/main/java/java/text/ |
D | DateFormatSymbols.java | 168 public Object clone() { in clone() method in DateFormatSymbols 170 return super.clone(); in clone() 240 return ampms.clone(); in getAmPmStrings() 251 return eras.clone(); in getEras() 270 return months.clone(); in getMonths() 281 return shortMonths.clone(); in getShortMonths() 292 return shortWeekdays.clone(); in getShortWeekdays() 303 return weekdays.clone(); in getWeekdays() 347 result[i] = array[i].clone(); in clone2dStringArray() 394 ampms = data.clone(); in setAmPmStrings() [all …]
|
D | RuleBasedCollator.java | 167 public Object clone() { in clone() method in RuleBasedCollator 168 RuleBasedCollator clone = (RuleBasedCollator) super.clone(); in clone() local 169 return clone; in clone()
|
D | Collator.java | 169 public Object clone() { in clone() method in Collator 171 Collator clone = (Collator) super.clone(); in clone() local 172 clone.icuColl = (RuleBasedCollatorICU) icuColl.clone(); in clone() 173 return clone; in clone()
|
D | ChoiceFormat.java | 194 public Object clone() { in clone() method in ChoiceFormat 195 ChoiceFormat clone = (ChoiceFormat) super.clone(); in clone() local 196 clone.choiceLimits = choiceLimits.clone(); in clone() 197 clone.choiceFormats = choiceFormats.clone(); in clone() 198 return clone; in clone()
|
D | DecimalFormat.java | 550 this.symbols = (DecimalFormatSymbols) value.clone(); in DecimalFormat() 615 public Object clone() { in clone() method in DecimalFormat 616 DecimalFormat clone = (DecimalFormat) super.clone(); in clone() local 617 clone.ndf = (NativeDecimalFormat) ndf.clone(); in clone() 618 clone.symbols = (DecimalFormatSymbols) symbols.clone(); in clone() 619 return clone; in clone() 715 return (DecimalFormatSymbols) symbols.clone(); in getDecimalFormatSymbols() 892 this.symbols = (DecimalFormatSymbols) value.clone(); in setDecimalFormatSymbols()
|
D | DateFormat.java | 235 public Object clone() { in clone() method in DateFormat 236 DateFormat clone = (DateFormat) super.clone(); in clone() local 237 clone.calendar = (Calendar) calendar.clone(); in clone() 238 clone.numberFormat = (NumberFormat) numberFormat.clone(); in clone() 239 return clone; in clone()
|
D | BreakIterator.java | 467 public Object clone() { in clone() method in BreakIterator 469 BreakIterator cloned = (BreakIterator) super.clone(); in clone() 470 cloned.wrapped = (NativeBreakIterator) wrapped.clone(); in clone()
|
D | RuleBasedBreakIterator.java | 111 @Override public Object clone() { in clone() method in RuleBasedBreakIterator 112 RuleBasedBreakIterator cloned = (RuleBasedBreakIterator) super.clone(); in clone() 113 cloned.wrapped = (NativeBreakIterator) wrapped.clone(); in clone()
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | SSLParameters.java | 75 return cipherSuites.clone(); in getCipherSuites() 84 : cipherSuites.clone()); in setCipherSuites() 95 return protocols.clone(); in getProtocols() 104 : protocols.clone()); in setProtocols()
|
D | CertPathTrustManagerParameters.java | 40 param = (CertPathParameters) parameters.clone(); in CertPathTrustManagerParameters() 49 return (CertPathParameters) param.clone(); in getParameters()
|
/libcore/benchmarks/src/benchmarks/regression/ |
D | ExpensiveObjectsBenchmark.java | 40 ((DateFormat) df.clone()).format(System.currentTimeMillis()); in timeClonedDateFormatTimeInstance() 62 c.clone(); in timeClonedCollator() 75 dfs.clone(); in timeClonedDateFormatSymbols() 88 dfs.clone(); in timeClonedDecimalFormatSymbols() 101 nf.clone(); in timeClonedNumberFormat() 134 sdf.clone(); in timeClonedSimpleDateFormat() 147 gc.clone(); in timeClonedGregorianCalendar()
|
/libcore/luni/src/main/java/java/util/ |
D | HashSet.java | 118 public Object clone() { in clone() method in HashSet 120 HashSet<E> clone = (HashSet<E>) super.clone(); in clone() local 121 clone.backingMap = (HashMap<E, HashSet<E>>) backingMap.clone(); in clone() 122 return clone; in clone()
|
D | TimeZone.java | 98 @Override public Object clone() { in clone() method in TimeZone 100 return super.clone(); in clone() 152 return (TimeZone) defaultTimeZone.clone(); in getDefault() 355 return (TimeZone) GMT.clone(); in getTimeZone() 358 return (TimeZone) UTC.clone(); in getTimeZone() 375 return (zone != null) ? zone : (TimeZone) GMT.clone(); in getTimeZone() 443 defaultTimeZone = timeZone != null ? (TimeZone) timeZone.clone() : null; in setDefault()
|
D | TreeSet.java | 155 public Object clone() { in clone() method in TreeSet 157 TreeSet<E> clone = (TreeSet<E>) super.clone(); in clone() local 159 clone.backingMap = (NavigableMap<E, Object>) ((TreeMap<E, Object>) backingMap) in clone() 160 .clone(); in clone() 162 clone.backingMap = new TreeMap<E, Object>(backingMap); in clone() 164 return clone; in clone()
|
/libcore/luni/src/main/java/java/util/jar/ |
D | Attributes.java | 199 map = (Map<Object, Object>) ((HashMap) attrib.map).clone(); in Attributes() 356 public Object clone() { in clone() method in Attributes 357 Attributes clone; in clone() local 359 clone = (Attributes) super.clone(); in clone() 363 clone.map = (Map<Object, Object>) ((HashMap) map).clone(); in clone() 364 return clone; in clone()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldObjectTest.java | 52 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/luni/src/test/java/tests/security/cert/ |
D | PKIXCertPathBuilderResultTest.java | 195 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()
|
D | CollectionCertStoreParametersTest.java | 135 (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/ |
D | AnnotationMember.java | 369 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/luni/src/main/java/java/net/ |
D | PasswordAuthentication.java | 43 this.password = password.clone(); in PasswordAuthentication() 54 return password.clone(); in getPassword()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
D | MyCertStoreParameters.java | 36 public Object clone() { in clone() method in MyCertStoreParameters 38 return super.clone(); in clone()
|
/libcore/luni/src/main/java/java/security/cert/ |
D | PKIXCertPathChecker.java | 54 public Object clone() { in clone() method in PKIXCertPathChecker 56 return super.clone(); in clone()
|
D | PKIXParameters.java | 200 modifiableList.add((PKIXCertPathChecker) certPathChecker.clone()); in getCertPathCheckers() 227 this.certPathCheckers.add((PKIXCertPathChecker) certPathChecker.clone()); in setCertPathCheckers() 249 certPathCheckers.add((PKIXCertPathChecker) checker.clone()); in addCertPathChecker() 322 return date == null ? null : (Date)date.clone(); in getDate() 504 :(CertSelector)targetCertConstraints.clone()); in getTargetCertConstraints() 516 : (CertSelector)targetCertConstraints.clone()); in setTargetCertConstraints() 524 public Object clone() { in clone() method in PKIXParameters 527 PKIXParameters ret = (PKIXParameters)super.clone(); in clone()
|
D | CollectionCertStoreParameters.java | 73 public Object clone() { in clone() method in CollectionCertStoreParameters 75 return super.clone(); in clone()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | NativeBreakIterator.java | 45 public Object clone() { in clone() method in NativeBreakIterator 47 NativeBreakIterator clone = new NativeBreakIterator(cloneAddr, this.type); in clone() local 48 clone.string = this.string; in clone() 50 clone.charIterator = this.charIterator; in clone() 51 return clone; in clone()
|