Searched refs:copy (Results 1 - 25 of 34) sorted by relevance

12

/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLParametersTest.java6 * You may obtain a copy of the License at
64 String[] copy = cipherSuites.clone();
65 p.setCipherSuites(copy);
66 copy[0] = null;
79 String[] copy = protocols.clone();
80 p.setProtocols(copy);
81 copy[0] = null;
/libcore/luni/src/main/java/java/nio/
H A DCharSequenceAdapter.java7 * the License. You may obtain a copy of the License at
34 static CharSequenceAdapter copy(CharSequenceAdapter other) { method in class:CharSequenceAdapter
61 return copy(this);
144 CharSequenceAdapter result = copy(this);
H A DCharArrayBuffer.java7 * the License. You may obtain a copy of the License at
42 private static CharArrayBuffer copy(CharArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:CharArrayBuffer
51 return copy(this, mark, true);
66 return copy(this, mark, isReadOnly);
H A DDoubleArrayBuffer.java7 * the License. You may obtain a copy of the License at
42 private static DoubleArrayBuffer copy(DoubleArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:DoubleArrayBuffer
51 return copy(this, mark, true);
66 return copy(this, mark, isReadOnly);
H A DFloatArrayBuffer.java7 * the License. You may obtain a copy of the License at
42 private static FloatArrayBuffer copy(FloatArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:FloatArrayBuffer
51 return copy(this, mark, true);
67 return copy(this, mark, isReadOnly);
H A DIntArrayBuffer.java7 * the License. You may obtain a copy of the License at
42 private static IntArrayBuffer copy(IntArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:IntArrayBuffer
51 return copy(this, mark, true);
66 return copy(this, mark, isReadOnly);
H A DLongArrayBuffer.java7 * the License. You may obtain a copy of the License at
42 private static LongArrayBuffer copy(LongArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:LongArrayBuffer
51 return copy(this, mark, true);
66 return copy(this, mark, isReadOnly);
H A DShortArrayBuffer.java7 * the License. You may obtain a copy of the License at
42 private static ShortArrayBuffer copy(ShortArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:ShortArrayBuffer
51 return copy(this, mark, true);
66 return copy(this, mark, isReadOnly);
H A DByteArrayBuffer.java7 * the License. You may obtain a copy of the License at
51 private static ByteArrayBuffer copy(ByteArrayBuffer other, int markOfOther, boolean isReadOnly) { method in class:ByteArrayBuffer
60 return copy(this, mark, true);
75 return copy(this, mark, isReadOnly);
H A DDirectByteBuffer.java7 * the License. You may obtain a copy of the License at
51 private static DirectByteBuffer copy(DirectByteBuffer other, int markOfOther, boolean isReadOnly) { method in class:DirectByteBuffer
60 return copy(this, mark, true);
75 return copy(this, mark, isReadOnly);
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
H A DGenericSignatureFormatErrorTest.java64 copy(is, fos);
90 private void copy(InputStream is, OutputStream os) { method in class:GenericSignatureFormatErrorTest
/libcore/luni/src/main/java/java/math/
H A DPrimality.java7 * the License. You may obtain a copy of the License at
102 BigInt startPoint = ni.copy();
H A DMultiplication.java7 * the License. You may obtain a copy of the License at
92 BigInt bi = val.getBigInt().copy();
H A DBigInteger.java7 * the License. You may obtain a copy of the License at
394 BigInt a = bigInt.copy();
408 BigInt a = bigInt.copy();
1222 * Returns a copy of the current instance to achieve immutability
1224 BigInteger copy() { method in class:BigInteger
/libcore/luni/src/main/java/libcore/reflect/
H A DAnnotationMember.java7 * the License. You may obtain a copy of the License at
158 protected AnnotationMember setDefinition(AnnotationMember copy) { argument
159 definingMethod = copy.definingMethod;
160 elementType = copy.elementType;
/libcore/json/src/test/java/org/json/
H A DJSONObjectTest.java6 * You may obtain a copy of the License at
753 JSONObject copy = new JSONObject(source, new String[] { "a", "c" });
754 assertEquals(2, copy.length());
755 assertEquals(JSONObject.NULL, copy.get("a"));
756 assertEquals(5, copy.get("c"));
757 assertEquals(null, copy.opt("b"));
766 JSONObject copy = new JSONObject(source, new String[]{ "a", "c", "d" });
767 assertEquals(2, copy.length());
768 assertEquals(JSONObject.NULL, copy.get("a"));
769 assertEquals(5, copy
[all...]
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentImpl.java6 * You may obtain a copy of the License at
119 * Returns a shallow copy of the given node. If the node is an element node,
155 "Cannot copy node of type " + node.getNodeType());
188 * behave differently for clones vs. imports. Clones copy
190 * original document. Imports copy entities by reference,
210 * Returns a copy of the given node or subtree with this document as its
216 * @param deep true to recursively copy any child nodes; false to do no such
220 NodeImpl copy = shallowCopy(operation, node);
225 copy.appendChild(cloneOrImportNode(operation, list.item(i), deep));
229 notifyUserDataHandlers(operation, node, copy);
[all...]
/libcore/
H A DAndroid.mk6 # You may obtain a copy of the License at
H A DCaCerts.mk6 # You may obtain a copy of the License at
/libcore/luni/src/test/java/libcore/java/util/jar/
H A DDalvikExecTest.java6 * You may obtain a copy of the License at
113 Streams.copy(Support_Resources.getResourceStream("cts_dalvikExecTest_classes.dex"), jarOut);
168 Streams.copy(Support_Resources.getResourceStream("cts_dalvikExecTest_classes.dex"), jarOut);
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java7 * the License. You may obtain a copy of the License at
134 copy(in, out);
141 private static int copy(InputStream in, OutputStream out) throws IOException { method in class:Support_Resources
/libcore/luni/src/main/java/libcore/io/
H A DStreams.java6 * You may obtain a copy of the License at
178 public static int copy(InputStream in, OutputStream out) throws IOException { method in class:Streams
/libcore/luni/src/test/java/libcore/xml/
H A DDomTest.java6 * You may obtain a copy of the License at
598 DomTest copy = new DomTest();
599 copy.setUp();
603 Node b = copy.allNodes.get(i);
617 DomTest copy = new DomTest();
618 copy.setUp();
619 copy.vitaminc.setTextContent("55%");
622 assertFalse(document.isEqualNode(copy.document));
623 assertFalse(menu.isEqualNode(copy.menu));
624 assertFalse(item.isEqualNode(copy
[all...]
/libcore/luni/src/test/java/libcore/java/util/
H A DTreeMapTest.java6 * You may obtain a copy of the License at
181 NavigableMap<String,String> copy = new TreeMap<String, String>(source);
182 assertEquals(null, copy.comparator());
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp6 * You may obtain a copy of the License at
262 // Create a copy of the UTF-8 bytes.
264 char* copy = new char[strlen(bytes) + 1]; local
265 if (copy == NULL) {
269 strcpy(copy, bytes);
270 wrapper->bytes = copy;
452 * @param text to copy into the buffer
453 * @param length of text to copy (in bytes)
595 // Disallow copy and assignment.

Completed in 705 milliseconds

12