/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 54 getFileSystem().rename(fromPath, toPath); in handle() 57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 54 getFileSystem().rename(fromPath, toPath); in handle() 57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 54 getFileSystem().rename(fromPath, toPath); in handle() 57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 54 getFileSystem().rename(fromPath, toPath); in handle() 57 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.java | 43 String toPath = getRealPath(session, command.getRequiredParameter(0)); in handle() local 47 … verifyFileSystemCondition(!getFileSystem().isDirectory(toPath), toPath, "filesystem.isDirectory"); in handle() 50 String parentPath = getFileSystem().getParent(toPath); in handle() 55 getFileSystem().rename(fromPath, toPath); in handle() 58 sendReply(session, ReplyCodes.RNTO_OK, "rnto", list(fromPath, toPath)); in handle()
|
/external/turbine/javatests/com/google/turbine/main/ |
D | MainTest.java | 79 Path sourcesa = temporaryFolder.newFile("sourcesa.jar").toPath(); in sourceJarClash() 84 Path sourcesb = temporaryFolder.newFile("sourcesb.jar").toPath(); in sourceJarClash() 89 Path output = temporaryFolder.newFile("output.jar").toPath(); in sourceJarClash() 105 Path src = temporaryFolder.newFile("package-info.jar").toPath(); in packageInfo() 108 Path output = temporaryFolder.newFile("output.jar").toPath(); in packageInfo() 122 Path srcjar = temporaryFolder.newFile("lib.srcjar").toPath(); in packageInfoSrcjar() 128 Path output = temporaryFolder.newFile("output.jar").toPath(); in packageInfoSrcjar() 159 Path srcjar = temporaryFolder.newFile("lib.srcjar").toPath(); in moduleInfos() 167 Path src = temporaryFolder.newFile("module-info.java").toPath(); in moduleInfos() 170 Path output = temporaryFolder.newFile("output.jar").toPath(); in moduleInfos() [all …]
|
D | ReducedClasspathTest.java | 90 libcJdeps = temporaryFolder.newFile("libc.jdeps").toPath(); in setup() 105 Path lib = temporaryFolder.newFile(jarPath).toPath(); in createLibrary() 117 Path src = temporaryFolder.newFile("Test.java").toPath(); in succeedsWithoutFallingBack() 126 Path output = temporaryFolder.newFile("output.jar").toPath(); in succeedsWithoutFallingBack() 151 Path src = temporaryFolder.newFile("Test.java").toPath(); in succeedsAfterFallingBack() 161 Path output = temporaryFolder.newFile("output.jar").toPath(); in succeedsAfterFallingBack() 180 Path src = temporaryFolder.newFile("Test.java").toPath(); in bazelFallback() 190 Path output = temporaryFolder.newFile("output.jar").toPath(); in bazelFallback() 191 Path jdeps = temporaryFolder.newFile("output.jdeps").toPath(); in bazelFallback() 222 Path src = temporaryFolder.newFile("Test.java").toPath(); in noFallbackWithoutDirectJarsAndJdeps() [all …]
|
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/examples/ |
D | ParameterizedExpanderTest.java | 74 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setUp() 78 .createArchiveOutputStream(format, Files.newOutputStream(archive.toPath()))) { in setUp() argument 109 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersion() 117 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in inputStreamVersionWithAutoDetection() 125 try (SeekableByteChannel c = FileChannel.open(archive.toPath(), StandardOpenOption.READ)) { in channelVersion() 133 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath())); in archiveInputStreamVersion() 151 try (InputStream is = Files.newInputStream(new File(resultDir, fileName).toPath())) { in assertHelloWorld() argument
|
D | ExpanderTest.java | 75 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersion() 83 try (InputStream i = new BufferedInputStream(Files.newInputStream(archive.toPath()))) { in sevenZInputStreamVersionWithAutoDetection() 91 try (SeekableByteChannel c = FileChannel.open(archive.toPath(), StandardOpenOption.READ)) { in sevenZChannelVersion() 157 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setup7z() 180 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setupZip() 184 .createArchiveOutputStream("zip", Files.newOutputStream(archive.toPath()))) { in setupZip() argument 204 try (OutputStream o = Files.newOutputStream(dummy.toPath())) { in setupZip() 208 .createArchiveOutputStream("zip", Files.newOutputStream(archive.toPath()))) { in setupZip() argument 227 try (InputStream is = Files.newInputStream(new File(resultDir, fileName).toPath())) { in assertHelloWorld() argument
|
D | ParameterizedArchiverTest.java | 76 try (OutputStream os = Files.newOutputStream(new File(dir, "a/b/d.txt").toPath())) { in setUp() argument 79 try (OutputStream os = Files.newOutputStream(new File(dir, "a/b/c/e.txt").toPath())) { in setUp() argument 93 try (OutputStream os = Files.newOutputStream(target.toPath())) { in outputStreamVersion() 101 try (SeekableByteChannel c = FileChannel.open(target.toPath(), StandardOpenOption.WRITE, in channelVersion() 110 try (OutputStream os = Files.newOutputStream(target.toPath()); in archiveStreamVersion() 118 try (InputStream is = Files.newInputStream(target.toPath()); in verifyContent()
|
D | SevenZArchiverTest.java | 48 try (OutputStream os = Files.newOutputStream(new File(dir, "a/b/d.txt").toPath())) { in setUp() argument 51 try (OutputStream os = Files.newOutputStream(new File(dir, "a/b/c/e.txt").toPath())) { in setUp() argument 65 try (OutputStream os = Files.newOutputStream(target.toPath())) { in outputStreamVersion() 72 try (SeekableByteChannel c = FileChannel.open(target.toPath(), StandardOpenOption.WRITE, in channelVersion() 82 try (SeekableByteChannel c = FileChannel.open(target.toPath(), StandardOpenOption.WRITE, in unknownFormat()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/command/ |
D | RntoCommandHandler.groovy | 45 def toPath = getRealPath(session, getRequiredParameter(command)) 48 verifyForNewFile(!fileSystem.isDirectory(toPath), toPath) 49 verifyForNewFile(fileSystem.rename(fromPath, toPath), toPath)
|
/external/okio/okio/src/jvmTest/kotlin/okio/ |
D | OkioKotlinTest.kt | 76 val sink = file.toPath().sink() in pathSink() 84 val sink = file.toPath().sink(APPEND) in pathSinkWithOptions() 92 val source = file.toPath().source() in pathSource() 102 file.toPath().source(StandardOpenOption.CREATE_NEW) in pathSourceWithOptions()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 256 public void rename(String fromPath, String toPath) { in rename() argument 257 Assert.notNull(toPath, "toPath"); in rename() 262 if (exists(toPath)) { in rename() 263 throw new FileSystemException(toPath, "filesystem.alreadyExists"); in rename() 267 String normalizedToPath = normalize(toPath); in rename() 275 throw new FileSystemException(toPath, "filesystem.renameFailed"); in rename() 467 protected void renamePath(FileSystemEntry entry, String toPath) { in renamePath() argument 469 String normalizedTo = normalize(toPath); in renamePath()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 256 public void rename(String fromPath, String toPath) { in rename() argument 257 Assert.notNull(toPath, "toPath"); in rename() 262 if (exists(toPath)) { in rename() 263 throw new FileSystemException(toPath, "filesystem.alreadyExists"); in rename() 267 String normalizedToPath = normalize(toPath); in rename() 275 throw new FileSystemException(toPath, "filesystem.renameFailed"); in rename() 467 protected void renamePath(FileSystemEntry entry, String toPath) { in renamePath() argument 469 String normalizedTo = normalize(toPath); in renamePath()
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 255 public void rename(String fromPath, String toPath) { in rename() argument 256 Assert.notNull(toPath, "toPath"); in rename() 261 if (exists(toPath)) { in rename() 262 throw new FileSystemException(toPath, "filesystem.alreadyExists"); in rename() 266 String normalizedToPath = normalize(toPath); in rename() 274 throw new FileSystemException(toPath, "filesystem.renameFailed"); in rename() 466 protected void renamePath(FileSystemEntry entry, String toPath) { in renamePath() argument 468 String normalizedTo = normalize(toPath); in renamePath()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 256 public void rename(String fromPath, String toPath) { in rename() argument 257 Assert.notNull(toPath, "toPath"); in rename() 262 if (exists(toPath)) { in rename() 263 throw new FileSystemException(toPath, "filesystem.alreadyExists"); in rename() 267 String normalizedToPath = normalize(toPath); in rename() 275 throw new FileSystemException(toPath, "filesystem.renameFailed"); in rename() 467 protected void renamePath(FileSystemEntry entry, String toPath) { in renamePath() argument 469 String normalizedTo = normalize(toPath); in renamePath()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/filesystem/ |
D | AbstractFakeFileSystem.java | 255 public void rename(String fromPath, String toPath) { in rename() argument 256 Assert.notNull(toPath, "toPath"); in rename() 261 if (exists(toPath)) { in rename() 262 throw new FileSystemException(toPath, "filesystem.alreadyExists"); in rename() 266 String normalizedToPath = normalize(toPath); in rename() 274 throw new FileSystemException(toPath, "filesystem.renameFailed"); in rename() 466 protected void renamePath(FileSystemEntry entry, String toPath) { in renamePath() argument 468 String normalizedTo = normalize(toPath); in renamePath()
|