Home
last modified time | relevance | path

Searched refs:copy (Results 1 – 25 of 43) sorted by relevance

12

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLParametersTest.java64 String[] copy = cipherSuites.clone(); in test_SSLParameters_CipherSuites() local
65 p.setCipherSuites(copy); in test_SSLParameters_CipherSuites()
66 copy[0] = null; in test_SSLParameters_CipherSuites()
79 String[] copy = protocols.clone(); in test_SSLParameters_Protocols() local
80 p.setProtocols(copy); in test_SSLParameters_Protocols()
81 copy[0] = null; in test_SSLParameters_Protocols()
/libcore/luni/src/main/java/java/nio/
DCharSequenceAdapter.java34 static CharSequenceAdapter copy(CharSequenceAdapter other) { in copy() method in CharSequenceAdapter
61 return copy(this); in duplicate()
144 CharSequenceAdapter result = copy(this); in subSequence()
DLongArrayBuffer.java42 private static LongArrayBuffer copy(LongArrayBuffer other, int markOfOther, boolean isReadOnly) { in copy() method in LongArrayBuffer
51 return copy(this, mark, true); in asReadOnlyBuffer()
66 return copy(this, mark, isReadOnly); in duplicate()
DFloatArrayBuffer.java42 …private static FloatArrayBuffer copy(FloatArrayBuffer other, int markOfOther, boolean isReadOnly) { in copy() method in FloatArrayBuffer
51 return copy(this, mark, true); in asReadOnlyBuffer()
67 return copy(this, mark, isReadOnly); in duplicate()
DDoubleArrayBuffer.java42 …private static DoubleArrayBuffer copy(DoubleArrayBuffer other, int markOfOther, boolean isReadOnly… in copy() method in DoubleArrayBuffer
51 return copy(this, mark, true); in asReadOnlyBuffer()
66 return copy(this, mark, isReadOnly); in duplicate()
DShortArrayBuffer.java42 …private static ShortArrayBuffer copy(ShortArrayBuffer other, int markOfOther, boolean isReadOnly) { in copy() method in ShortArrayBuffer
51 return copy(this, mark, true); in asReadOnlyBuffer()
66 return copy(this, mark, isReadOnly); in duplicate()
DIntArrayBuffer.java42 private static IntArrayBuffer copy(IntArrayBuffer other, int markOfOther, boolean isReadOnly) { in copy() method in IntArrayBuffer
51 return copy(this, mark, true); in asReadOnlyBuffer()
66 return copy(this, mark, isReadOnly); in duplicate()
DCharArrayBuffer.java42 private static CharArrayBuffer copy(CharArrayBuffer other, int markOfOther, boolean isReadOnly) { in copy() method in CharArrayBuffer
51 return copy(this, mark, true); in asReadOnlyBuffer()
66 return copy(this, mark, isReadOnly); in duplicate()
DByteArrayBuffer.java51 private static ByteArrayBuffer copy(ByteArrayBuffer other, int markOfOther, boolean isReadOnly) { in copy() method in ByteArrayBuffer
60 return copy(this, mark, true); in asReadOnlyBuffer()
75 return copy(this, mark, isReadOnly); in duplicate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
DGenericSignatureFormatErrorTest.java63 copy(is, fos); in test_signatureFormatError()
89 private void copy(InputStream is, OutputStream os) { in copy() method in GenericSignatureFormatErrorTest
/libcore/luni/
Dbouncycastle-license.txt5 a copy of this software and associated documentation files (the
7 without limitation the rights to use, copy, modify, merge, publish,
Dunicode-license.txt22 Permission is hereby granted, free of charge, to any person obtaining a copy
26 rights to use, copy, modify, merge, publish, distribute, and/or sell copies of
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DControlTest.java384 File copy = new File(copyName); in copyFile() local
385 if (copy.exists()) { in copyFile()
386 copy.delete(); in copyFile()
388 copy.createNewFile(); in copyFile()
389 copy.deleteOnExit(); in copyFile()
392 Writer out = new FileWriter(copy); in copyFile()
399 return copy; in copyFile()
/libcore/
DNOTICE40 a copy of this software and associated documentation files (the
42 without limitation the rights to use, copy, modify, merge, publish,
75 a copy of this software and associated documentation files (the
77 without limitation the rights to use, copy, modify, merge, publish,
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationMember.java158 protected AnnotationMember setDefinition(AnnotationMember copy) { in setDefinition() argument
159 definingMethod = copy.definingMethod; in setDefinition()
160 elementType = copy.elementType; in setDefinition()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DStringBuffer2Test.java515 String copy = sb.toString(); in reverseTest() local
516 assertEquals(org, copy); in reverseTest()
522 copy = sb.toString(); in reverseTest()
523 assertEquals(rev, copy); in reverseTest()
/libcore/json/src/test/java/org/json/
DJSONObjectTest.java754 JSONObject copy = new JSONObject(source, new String[] { "a", "c" }); in testCopyConstructor() local
755 assertEquals(2, copy.length()); in testCopyConstructor()
756 assertEquals(JSONObject.NULL, copy.get("a")); in testCopyConstructor()
757 assertEquals(5, copy.get("c")); in testCopyConstructor()
758 assertEquals(null, copy.opt("b")); in testCopyConstructor()
767 JSONObject copy = new JSONObject(source, new String[]{ "a", "c", "d" }); in testCopyConstructorMissingName() local
768 assertEquals(2, copy.length()); in testCopyConstructorMissingName()
769 assertEquals(JSONObject.NULL, copy.get("a")); in testCopyConstructorMissingName()
770 assertEquals(5, copy.get("c")); in testCopyConstructorMissingName()
771 assertEquals(0, copy.optInt("b")); in testCopyConstructorMissingName()
/libcore/support/src/test/java/tests/support/resource/
DSupport_Resources.java134 copy(in, out); in copyLocalFileto()
141 private static int copy(InputStream in, OutputStream out) throws IOException { in copy() method in Support_Resources
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDocumentImpl.java220 NodeImpl copy = shallowCopy(operation, node); in cloneOrImportNode() local
225 copy.appendChild(cloneOrImportNode(operation, list.item(i), deep)); in cloneOrImportNode()
229 notifyUserDataHandlers(operation, node, copy); in cloneOrImportNode()
230 return copy; in cloneOrImportNode()
/libcore/harmony-tests/src/test/resources/resources/
Dtest.rtf7 * the License. You may obtain a copy of the License at
Dtest.doc7 * the License. You may obtain a copy of the License at
/libcore/luni/src/main/java/java/math/
DPrimality.java102 BigInt startPoint = ni.copy(); in nextProbablePrime()
DMultiplication.java92 BigInt bi = val.getBigInt().copy(); in multiplyByPositiveInt()
/libcore/luni/src/test/java/libcore/xml/
DDomTest.java598 DomTest copy = new DomTest(); in testNodeEqualsPositive() local
599 copy.setUp(); in testNodeEqualsPositive()
603 Node b = copy.allNodes.get(i); in testNodeEqualsPositive()
617 DomTest copy = new DomTest(); in testNodeEqualsNegativeRecursive() local
618 copy.setUp(); in testNodeEqualsNegativeRecursive()
619 copy.vitaminc.setTextContent("55%"); in testNodeEqualsNegativeRecursive()
622 assertFalse(document.isEqualNode(copy.document)); in testNodeEqualsNegativeRecursive()
623 assertFalse(menu.isEqualNode(copy.menu)); in testNodeEqualsNegativeRecursive()
624 assertFalse(item.isEqualNode(copy.item)); in testNodeEqualsNegativeRecursive()
625 assertFalse(nutrition.isEqualNode(copy.nutrition)); in testNodeEqualsNegativeRecursive()
[all …]
/libcore/luni/src/main/java/libcore/io/
DStreams.java179 public static int copy(InputStream in, OutputStream out) throws IOException { in copy() method in Streams

12