Home
last modified time | relevance | path

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

123

/external/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/
DAbstractDokkaGradleTest.kt25 open val pluginClasspath: List<File> = pluginClasspathData.toFile().readLines().map { File(it) } in <lambda>()
31 assertEqualsIgnoringSeparators(expectedPath.toFile(), buildString { in checkOutputStructure()
32 actualPath.toFile().writeStructure(this, File(actualPath.toFile(), ".")) in checkOutputStructure()
40 val text = it.toFile().readText() in checkNoErrorClasses()
57 val text = it.toFile().readText() in checkNoUnresolvedLinks()
78 val text = it.toFile().readText() in checkExternalLink()
100 val fatjar = dokkaFatJarPathData.toFile().readText() in configure()
DAbstractDokkaAndroidGradleTest.kt8 …override val pluginClasspath: List<File> = androidPluginClasspathData.toFile().readLines().map { F… in <lambda>()
15 val sdkDir = androidLocalProperties?.toFile()?.let { in <lambda>()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowEnvironment.java62 return EXTERNAL_CACHE_DIR.toFile(); in getExternalStorageDirectory()
68 if (type == null) return EXTERNAL_FILES_DIR.toFile(); in getExternalStoragePublicDirectory()
75 return path.toFile(); in getExternalStoragePublicDirectory()
178 externalDirs.add(externalFileDir.toFile()); in addExternalDir()
190 userEnvironment, "mExternalStorageAndroidData", externalFileDir.toFile()); in addExternalDir()
202 return externalFileDir.toFile(); in addExternalDir()
DShadowSharedMemory.java83 .toFile(); in nCreate()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/utils/
DTestUtils.java75 outputFolder.toFile().mkdirs(); in unzip()
77 try (ZipInputStream zis = new ZipInputStream(new FileInputStream(zipFile.toFile()))) { in unzip()
85 newFile.toFile().mkdirs(); in unzip()
88 try (FileOutputStream fos = new FileOutputStream(newFile.toFile())) { in unzip()
/external/dokka/core/src/main/kotlin/Utilities/
DServiceLocator.kt54 fun URL.toFile(): File { in <lambda>() method
69 …"file" -> it.toFile().listFiles()?.filter { it.extension == "properties" }?.map { lookupDescriptor… in <lambda>()
71 val file = JarFile(URL(it.file.substringBefore("!")).toFile()) in <lambda>()
/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java166 assertThat(ClassPath.toFile(new URL("file:///c:/Documents%20and%20Settings/"))) in testToFile()
168 assertThat(ClassPath.toFile(new URL("file:///c:/Documents ~ Settings, or not/11-12 12:05"))) in testToFile()
175 assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05"))) in testToFile_AndroidIncompatible()
177 assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation"))) in testToFile_AndroidIncompatible()
179 assertThat(ClassPath.toFile(new URL("file:///C:\\\u20320 \u22909"))) // Chinese Ni Hao in testToFile_AndroidIncompatible()
225 scanner.scan(root.toFile(), loader); in testScanDirectory_symlinkCycle()
254 scanner.scan(root.toFile(), loader); in testScanDirectory_symlinkToRootCycle()
/external/cldr/tools/java/org/unicode/cldr/util/
DFileCopier.java120 Writer wr = new FileWriter(Paths.get(targetDirectory, newName).toFile());) { in copy() argument
171 replacements, new FileWriter(Paths.get(destDir, destFile).toFile())); in copyAndReplace()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/share/
DJDWPUnitDebuggeeProcessWrapper.java344 if (!cur.toFile().exists()) { in FindPidFor()
359 if (!children.toFile().exists()) { in FindPidFor()
363 for (String child_pid : ReadChildPids(children.toFile())) { in FindPidFor()
/external/guava/android/guava-tests/test/com/google/common/reflect/
DClassPathTest.java159 assertThat(ClassPath.toFile(new URL("file:///c:/Documents%20and%20Settings/"))) in testToFile()
161 assertThat(ClassPath.toFile(new URL("file:///c:/Documents ~ Settings, or not/11-12 12:05"))) in testToFile()
168 assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05"))) in testToFile_AndroidIncompatible()
170 assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation"))) in testToFile_AndroidIncompatible()
172 assertThat(ClassPath.toFile(new URL("file:///C:\\\u20320 \u22909"))) // Chinese Ni Hao in testToFile_AndroidIncompatible()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/manual/
DBulkParseTest.java46 workdir.toFile().mkdirs(); in parseOpenJdkLangToolsRepository()
124 testResults.toFile().mkdirs(); in writeResults()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DCollectionStrategy.java24 return parse(file.toFile()).getStorage() in getRoot()
DSourceZip.java103 try (ZipFile zipFile = new ZipFile(zipPath.toFile())) { in parse()
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DZipInputFileProvider.java34 this.zipFile = new ZipFile(root.toFile()); in ZipInputFileProvider()
DDirectoryInputFileProvider.java46 return new FileInputStream(root.resolve(filename).toFile()); in getInputStream()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DAarTypeSolver.java42 this(aarFile.toFile()); in AarTypeSolver()
/external/fonttools/Lib/fontTools/cffLib/
D__init__.py193 writer.toFile(file)
383 def toFile(self, file): member in CFFWriter
415 item.toFile(file)
485 def toFile(self, file): member in IndexCompiler
503 item.toFile(file)
544 def toFile(self, file): member in TopDictIndexCompiler
546 self.items[0].toFile(file)
548 super(TopDictIndexCompiler, self).toFile(file)
568 def toFile(self, file): member in FDArrayIndexCompiler
584 item.toFile(file)
[all …]
/external/dagger2/java/dagger/testing/compile/
DCompilerTests.java57 return getRunfilesPath().toFile(); in getRunfilesDir()
/external/guava/android/guava/src/com/google/common/reflect/
DClassPath.java443 builder.add(toFile(url)); in getClassPathFromManifest()
460 File file = toFile(url); in getClassPathEntries()
591 static File toFile(URL url) { in toFile() method in ClassPath
/external/guava/guava/src/com/google/common/reflect/
DClassPath.java442 builder.add(toFile(url)); in getClassPathFromManifest()
459 File file = toFile(url); in getClassPathEntries()
590 static File toFile(URL url) { in toFile() method in ClassPath
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/typesolvers/
DJavaParserTypeSolverTest.java38 File folder = tempDir.resolve("folder").toFile(); in folderTraversalDoesNotKeepFolderHandlesHostage()
/external/dokka/core/src/main/kotlin/Kotlin/
DExternalDocumentationLinkResolver.kt45 … val cacheDir: Path? = options.cacheRoot?.resolve("packageListCache")?.apply { toFile().mkdirs() } in toString()
89 val cacheEntry = cacheDir.resolve(hash).toFile() in loadPackageList()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/utils/
DSymbolSolverCollectionStrategy.java70 typeSolver.add(new JavaParserTypeSolver(current_root.toFile())); in collect()
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DBytecodeTypeInferenceTest.java47 String golden = Files.asCharSource(GOLDEN_PATH.toFile(), StandardCharsets.UTF_8).read().trim(); in testTypeInference()
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/aosp/
DRepackagingTransform.java283 return new DirectoryInputFileGenerator(sourceDir.toFile()); in getInputFileGenerator()
293 File outputDir = targetDir.toFile(); in getOutputSourceFileGenerator()

123