Home
last modified time | relevance | path

Searched refs:relPath (Results 1 – 4 of 4) sorted by relevance

/libcore/tools/upstream/src/main/java/libcore/
DStandardRepositories.java102 public boolean isJsr166(Path relPath) { in isJsr166() argument
103 boolean result = relPath.startsWith("java/util/concurrent/"); in isJsr166()
106 if (!result && relPath.startsWith(ju)) { in isJsr166()
107 String name = relPath.toString().substring(ju.length()); in isJsr166()
144 public Repository referenceUpstream(Path relPath) { in referenceUpstream() argument
145 boolean isJsr166 = isJsr166(relPath); in referenceUpstream()
146 if (REL_PATHS_AT_OPENJDK9_181.contains(relPath.toString())) { in referenceUpstream()
148 } else if (REL_PATHS_AT_OPENJDK8_222.contains(relPath.toString())) { in referenceUpstream()
152 } else if (relPath.startsWith("java/sql/") || relPath.startsWith("javax/sql/")) { in referenceUpstream()
DRepository.java95 public final Path absolutePath(Path relPath) { in absolutePath() argument
96 Path p = pathFromRepository(relPath); in absolutePath()
100 public Path pathFromRepository(Path relPath) { in pathFromRepository() argument
103 Path repositoryRelativePath = Paths.get(sourceDir).resolve(relPath); in pathFromRepository()
227 public Path pathFromRepository(Path relPath) { in pathFromRepository() argument
229 return Objects.requireNonNull(super.pathFromRepository(relPath)); in pathFromRepository()
253 Path relPath = Paths.get(matcher.group(1)); in loadOrderedRelPathsSetFromBlueprint() local
254 result.add(relPath); in loadOrderedRelPathsSetFromBlueprint()
273 public Path pathFromRepository(Path relPath) { in pathFromRepository() argument
274 if (OPENJDK_REL_PATH.containsKey(relPath)) { in pathFromRepository()
[all …]
DCopyUpstreamFiles.java47 for (Path relPath : relPaths) { in run()
48 Repository expectedUpstream = standardRepositories.referenceUpstream(relPath); in run()
50 Path upstreamFile = upstream.absolutePath(relPath); in run()
54 .resolve(relPath); in run()
57 copyFile(upstreamFile, outputDir.resolve("expected").resolve(relPath)); in run()
DCompareUpstreams.java174 for (Path relPath : relPaths) { in run()
175 Repository expectedUpstream = standardRepositories.referenceUpstream(relPath); in run()
176 out.print(relPath + "\t"); in run()
177 Path ojluniFile = standardRepositories.ojluni().absolutePath(relPath); in run()
191 .resolve(relPath); in run()
194 upstreamFile = upstream.absolutePath(relPath); in run()
221 Path expectedUpstreamPath = expectedUpstream.pathFromRepository(relPath); in run()
224 + "-r ojluni," + expectedUpstream.name() + " " + relPath; in run()