Home
last modified time | relevance | path

Searched refs:toFile (Results 1 – 10 of 10) sorted by relevance

/libcore/tools/upstream/src/main/java/libcore/
DCopyUpstreamFiles.java39 if (outputDir.toFile().exists()) { in run()
42 boolean success = outputDir.toFile().mkdir(); in run()
65 if (!from.toFile().canRead()) { in copyFile()
69 if (!toDir.toFile().exists()) { in copyFile()
70 boolean success = toDir.toFile().mkdirs(); in copyFile()
DUtil.java43 if (!result.toFile().exists()) { in pathFromEnvOrThrow()
69 try (Reader reader = new FileReader(path.toFile())) { in readLines()
75 try (PrintStream printStream = new PrintStream(path.toFile())) { in writeLines()
DRepository.java84 if (!rootPath.toFile().isDirectory()) { in Repository()
104 File file = rootPath.resolve(repositoryRelativePath).toFile(); in pathFromRepository()
DCompareUpstreams.java192 upstreamFile = maybePath.toFile().exists() ? maybePath : null; in run()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DURLJarFile.java225 JarFile jarFile = new URLJarFile(tmpFile.toFile(), closeController); in retrieve()
226 tmpFile.toFile().deleteOnExit(); in retrieve()
/libcore/ojluni/src/main/java/java/nio/file/
DPath.java598 File toFile(); in toFile() method
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractPath.java95 public final File toFile() { in toFile() method
/libcore/luni/src/test/java/libcore/java/nio/file/
DLinuxPathTest.java359 File file = fakePath.toFile(); in test_toFile()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/
DByteBufferTest.java2075 try (RandomAccessFile tempRAF = new RandomAccessFile(tempFile.toFile(), "rw")) { in testMappedByteBuffer_Put_ReadOnlyHeapByteBuffer()
/libcore/api/
Dcurrent.txt6831 method public java.io.File toFile();