Lines Matching defs:dst

121             Path dst = getPathWithParents(fs, tmpName);
122 Files.copy(src, dst);
123 checkEqual(src, dst);
128 Files.copy(dst, dst2);
129 //dst.moveTo(dst2);
133 Files.delete(dst);
134 if (Files.exists(dst))
145 Files.copy(dst3, dst);
147 Files.move(dst, dst4);
183 fchCopy(src, dst); // in
184 checkEqual(src, dst);
186 fchCopy(dst, tmp); // out
191 channel(fs, dst);
192 Files.delete(dst);
368 private static void z2zcopy(FileSystem src, FileSystem dst, String path,
373 Path dstPath = dst.getPath(path);
383 z2zcopy(src, dst,
408 private static void z2zmove(FileSystem src, FileSystem dst, String path)
412 Path dstPath = dst.getPath(path);
419 z2zmove(src, dst,
494 private static void checkEqual(Path src, Path dst) throws IOException
497 // src.toString(), dst.toString());
503 InputStream isDst = Files.newInputStream(dst))
512 src.toString(), dst.toString());
520 src.toString(), dst.toString());
530 SeekableByteChannel chDst = Files.newByteChannel(dst))
533 System.out.printf("src[%s].size=%d, dst[%s].size=%d%n",
546 src.toString(), dst.toString());
552 src.toString(), dst.toString());
570 System.out.printf("dst[%s]: size=%d, position=%d%n",
579 private static void fchCopy(Path src, Path dst) throws IOException
590 FileChannel dstFc = dst.getFileSystem()
592 .newFileChannel(dst, openwrite))
603 private static void chCopy(Path src, Path dst) throws IOException
612 SeekableByteChannel dstCh = Files.newByteChannel(dst, openwrite))
631 System.out.printf("dst[%s]: size=%d, position=%d%n",
638 private static void streamCopy(Path src, Path dst) throws IOException
642 OutputStream osDst = Files.newOutputStream(dst))