Searched defs:copy (Results 1 - 19 of 19) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
H A DGenericSignatureFormatErrorTest.java60 copy(is, fos);
86 private void copy(InputStream is, OutputStream os) { method in class:GenericSignatureFormatErrorTest
/libcore/luni/src/main/java/libcore/io/
H A DStreams.java6 * You may obtain a copy of the License at
179 public static int copy(InputStream in, OutputStream out) throws IOException { method in class:Streams
/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/luni/src/test/filesystems/src/mypackage/
H A DMockFileSystemProvider.java6 * You may obtain a copy of the License at
87 public void copy(Path source, Path target, CopyOption... options) throws IOException { method in class:MockFileSystemProvider
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixCopyFile.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
54 // the attributes to copy
77 // copy all attributes but only fail if basic attributes
91 throw new UnsupportedOperationException("Unsupported copy option");
113 throw new UnsupportedOperationException("Unsupported copy option");
126 // copy directory from source to target
139 // no attributes to copy
150 // access to target directory required to copy named attributes
159 // copy owne
505 static void copy(final UnixPath source, method in class:UnixCopyFile
[all...]
H A DUnixFileSystemProvider.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
250 public void copy(Path source, Path target, CopyOption... options) method in class:UnixFileSystemProvider
253 UnixCopyFile.copy(UnixPath.toUnixPath(source),
/libcore/support/src/test/java/tests/support/resource/
H A DSupport_Resources.java7 * the License. You may obtain a copy of the License at
117 "Unable to copy file from resource " + resourceName + " to file " + dest, e);
130 copy(in, out);
137 private static int copy(InputStream in, OutputStream out) throws IOException { method in class:Support_Resources
/libcore/ojluni/src/main/java/java/nio/file/spi/
H A DFileSystemProvider.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
776 * specified by the {@link Files#copy(Path,Path,CopyOption[])} method
781 * the path to the file to copy
785 * options specifying how the copy should be done
788 * if the array contains a copy option that is not supported
808 public abstract void copy(Path source, Path target, CopyOption... options) method in class:FileSystemProvider
824 * if the array contains a copy option that is not supported
/libcore/ojluni/src/main/java/java/time/format/
H A DDateTimeParseContext.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
127 * Creates a copy of this context.
130 DateTimeParseContext copy() { method in class:DateTimeParseContext
287 parsed.add(currentParsed().copy());
H A DParsed.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
166 * Creates a copy.
168 Parsed copy() { method in class:Parsed
169 // only copy fields used in parsing stage
/libcore/luni/src/main/java/java/math/
H A DBigInt.java6 * You may obtain a copy of the License at
70 BigInt copy() { method in class:BigInt
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/ojluni/src/main/java/java/nio/file/
H A DFiles.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
1174 * options} parameter specifying how the copy is performed. By default, the
1175 * copy fails if the target file already exists or is a symbolic link,
1183 * walkFileTree} method to copy a directory and all entries in the directory,
1199 * <td> Attempts to copy the file attributes associated with this file to
1229 * Suppose we want to copy a file into a directory, giving it the same file
1234 * Files.copy(source, newdir.resolve(source.getFileName());
1238 * the path to the file to copy
1243 * options specifying how the copy shoul
1268 public static Path copy(Path source, Path target, CopyOption... options) method in class:Files
2902 private static long copy(InputStream source, OutputStream sink) method in class:Files
2980 public static long copy(InputStream in, Path target, CopyOption... options) method in class:Files
3064 public static long copy(Path source, OutputStream out) throws IOException { method in class:Files
[all...]
/libcore/ojluni/src/main/java/java/io/
H A DObjectOutputStream.java15 * version 2 for more details (a copy is included in the LICENSE file that
18 * You should have received a copy of the GNU General Public License version
1924 * Writes specified span of byte values from given array. If copy is
1929 void write(byte[] b, int off, int len, boolean copy) argument
1932 if (!(copy || blkmode)) { // write directly
1944 if (len >= MAX_BLOCK_SIZE && !copy && pos == 0) {
1945 // avoid unnecessary copy
H A DObjectStreamClass.java14 * version 2 for more details (a copy is included in the LICENSE file that
17 * You should have received a copy of the GNU General Public License version
852 * fields of the represented class. If copy is true, a clone of this class
856 ObjectStreamField[] getFields(boolean copy) { argument
857 return copy ? fields.clone() : fields;
H A DObjectInputStream.java15 * version 2 for more details (a copy is included in the LICENSE file that
18 * You should have received a copy of the GNU General Public License version
1052 * @return a String copy of the line.
2712 * been reached. If copy is true, reads values into an intermediate
2716 int read(byte[] b, int off, int len, boolean copy) throws IOException { argument
2730 } else if (copy) {
2757 public void readFully(byte[] b, int off, int len, boolean copy) argument
2761 int n = read(b, off, len, copy);
/libcore/luni/src/main/native/
H A Dorg_apache_harmony_xml_ExpatParser.cpp6 * You may obtain a copy of the License at
266 // Create a copy of the UTF-8 bytes.
268 char* copy = new char[strlen(bytes) + 1]; local
269 if (copy == NULL) {
273 strcpy(copy, bytes);
274 wrapper->bytes = copy;
456 * @param text to copy into the buffer
457 * @param length of text to copy (in bytes)
598 // Disallow copy and assignment.
/libcore/ojluni/src/main/java/java/util/concurrent/
H A DCompletableFuture.java13 * version 2 for more details (a copy is included in the LICENSE file that
16 * You should have received a copy of the GNU General Public License version
335 * Completes with r or a copy of r, unless already completed.
988 UniRelay<T> copy = new UniRelay<T>(this, g);
989 g.push(copy);
990 copy.tryFire(SYNC);
2448 public CompletableFuture<T> copy() { method in class:CompletableFuture
/libcore/ojluni/src/main/java/java/util/
H A DCollections.java15 * version 2 for more details (a copy is included in the LICENSE file that
18 * You should have received a copy of the GNU General Public License version
595 public static <T> void copy(List<? super T> dest, List<? extends T> src) { method in class:Collections
5020 * @param <T> the class of the object to copy and of the objects

Completed in 383 milliseconds