Home
last modified time | relevance | path

Searched refs:sourcePath (Results 1 – 14 of 14) sorted by relevance

/tools/treble/hacksaw/workspace/
Dcopier.go129 func (f FileCopier) GetDestPath(codebaseDir, sourcePath, workspaceDir string) (string, error) {
130 if !strings.HasPrefix(sourcePath+"/", codebaseDir+"/") {
131 return "", fmt.Errorf("%s is not contained in %s", sourcePath, codebaseDir)
133 relPath, err := filepath.Rel(codebaseDir, sourcePath)
143 func (f FileCopier) CopyNode(sourceInfo os.FileInfo, codebaseDir, sourcePath, workspaceDir string) …
144 destPath, err := f.GetDestPath(codebaseDir, sourcePath, workspaceDir)
150 return f.CopySymlink(sourcePath, destPath)
154 return f.CopyFile(sourceInfo, sourcePath, destPath)
158 func (f FileCopier) CopySymlink(sourcePath string, destPath string) error {
165 target, err := os.Readlink(sourcePath)
[all …]
/tools/metalava/metalava-model-source/src/main/java/com/android/tools/metalava/model/source/
DSourceSet.kt38 class SourceSet(val sources: List<File>, val sourcePath: List<File>) { constant in com.android.tools.metalava.model.source.SourceSet
47 return sourcePath.filter { it.path.isNotBlank() }.map { it.absoluteFile } in <lambda>()
60 val sourceRoots = extractRoots(reporter, sources, sourcePath.toMutableList()) in extractRoots()
70 sourcePath: List<File>, in empty()
73 val sources = gatherSources(reporter, sourcePath, fileTester) in empty()
74 return SourceSet(sources, sourcePath) in empty()
119 sourcePath: List<File>, in gatherSources()
123 for (file in sourcePath) { in gatherSources()
/tools/metalava/metalava-reporter/src/main/java/com/android/tools/metalava/reporter/
DBaseline.kt64 val sourcePath: List<File>, in <lambda>() constant in com.android.tools.metalava.reporter.Baseline.Config
137 for (sourcePath in config.sourcePath) { in <lambda>() method
138 if (path.startsWith(sourcePath.path)) { in <lambda>()
139 return path.substring(sourcePath.path.length).replace('\\', '/').removePrefix("/") in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DMainCommand.kt220 val sourcePath = sourceOptions.sourcePath in <lambda>() constant
221 if (sourcePath.isNotEmpty() && sourcePath[0].path.isNotBlank()) { in <lambda>()
231 var base = sourcePath[0] in <lambda>()
DDriver.kt203 } else if (sources.isNotEmpty() || options.sourcePath.isNotEmpty()) { in processFlags()
610 SourceSet.createFromSourcePath(options.reporter, options.sourcePath) in loadFromSources()
612 SourceSet(options.sources, options.sourcePath) in loadFromSources()
DAnnotationsMerger.kt136 SourceSet(options.sources, options.sourcePath).extractRoots(reporter).sourcePath in <lambda>()
DOptions.kt310 val sourcePath: List<File> by sourceOptions::sourcePath constant
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DCommonBaselineOptions.kt58 sourcePath = sourceOptions.sourcePath, in <lambda>()
DSourceOptions.kt71 internal val sourcePath by constant in com.android.tools.metalava.cli.common.SourceOptions
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiSourceParser.kt114 val rootDir = sourceSet.sourcePath.firstOrNull() ?: File("").canonicalFile in parseAbsoluteSources()
125 configureUastEnvironment(config, sourceSet.sourcePath, classpath, rootDir) in parseAbsoluteSources()
334 val sortedSourceRoots = sourceSet.sourcePath.sortedBy { -it.name.length } in gatherPackageJavadoc()
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineSourceParser.kt49 val rootDir = sourceSet.sourcePath.firstOrNull() ?: File("").canonicalFile in <lambda>()
/tools/metalava/metalava-model-psi/src/test/java/com/android/tools/metalava/model/psi/
DPsiSourceParserTest.kt142 val roots = sourceSet.extractRoots(reporter).sourcePath in <lambda>()
/tools/asuite/atest/coverage/com/android/jacocolcov/
DJacocoToLcovConverter.java106 for (String sourcePath : sourcePaths) { in main()
107 converter.indexSourcePath(Paths.get(sourcePath)); in main()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt597 var sourcePath = sourcePathDir.path in <lambda>() variable
602 sourcePath = sourcePath + File.pathSeparator + sourcePath + "2" in <lambda>()
609 sourcePath = in <lambda>()
1036 sourcePath, in <lambda>()