Home
last modified time | relevance | path

Searched refs:REPLACE_EXISTING (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DStandardCopyOption.java38 REPLACE_EXISTING, enumConstant
DCopyMoveHelper.java53 if (option == StandardCopyOption.REPLACE_EXISTING) { in parse()
DFiles.java2989 if (opt == StandardCopyOption.REPLACE_EXISTING) {
/libcore/luni/src/test/java/libcore/java/nio/file/
DDefaultFileSystemProvider2Test.java60 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
110 provider.move(filesSetup.getDataFilePath(), filesSetup.getTestPath(), REPLACE_EXISTING); in test_move() local
116 provider.move(filesSetup.getTestPath(), filesSetup.getDataFilePath(), REPLACE_EXISTING); in test_move() local
198 Files.copy(dirPath, dirPath4, REPLACE_EXISTING); in test_move_directory_DirectoryNotEmptyException()
DDefaultFileSystemProviderTest.java55 import static java.nio.file.StandardCopyOption.REPLACE_EXISTING;
621 provider.copy(filesSetup.getDataFilePath(), filesSetup.getTestPath(), REPLACE_EXISTING); in test_copy() local
644 provider.copy(filesSetup.getTestPath(), filesSetup.getDataFilePath(), REPLACE_EXISTING); in test_copy() local
729 provider.copy(dirPath, dirPath4, REPLACE_EXISTING); in test_copy_directory()
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java68 if (option == StandardCopyOption.REPLACE_EXISTING) { in fromCopyOptions()
103 if (option == StandardCopyOption.REPLACE_EXISTING) { in fromMoveOptions()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java224 Files.copy(in, tmpFile, StandardCopyOption.REPLACE_EXISTING); in retrieve()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DObjectInputStream2Test.java232 Files.copy(dexIs, sameFieldNames.toPath(), StandardCopyOption.REPLACE_EXISTING); in test_sameName()
DObjectStreamClassTest.java297 Files.copy(dexIs, sameFieldNames.toPath(), StandardCopyOption.REPLACE_EXISTING); in testClassWithSameFieldName()