Home
last modified time | relevance | path

Searched refs:relativePath (Results 1 – 25 of 26) sorted by relevance

12

/external/smali/util/src/test/java/org/jf/util/
DPathUtilTest.java43 …File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest1() local
45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest1()
47 Assert.assertEquals(path, relativePath.getPath()); in pathUtilTest1()
56 …File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar +… in pathUtilTest2() local
58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest2()
71 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() local
73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest3()
83 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest4() local
85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest4()
95 … File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest5() local
[all …]
/external/skia/tools/skdiff/
Dskdiff_html.cpp182 const SkString& relativePath, bool local) { in print_diff_resource_cell() argument
191 resource.fFullPath.prepend(relativePath); in print_diff_resource_cell()
207 resource.fFullPath.prepend(relativePath); in print_diff_resource_cell()
212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { in print_diff_row() argument
216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); in print_diff_row()
217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); in print_diff_row()
218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); in print_diff_row()
219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); in print_diff_row()
256 SkString relativePath; in print_diff_page() local
261 relativePath.append(".." PATH_DIV_STR); in print_diff_page()
[all …]
/external/skqp/tools/skdiff/
Dskdiff_html.cpp182 const SkString& relativePath, bool local) { in print_diff_resource_cell() argument
191 resource.fFullPath.prepend(relativePath); in print_diff_resource_cell()
207 resource.fFullPath.prepend(relativePath); in print_diff_resource_cell()
212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { in print_diff_row() argument
216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); in print_diff_row()
217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); in print_diff_row()
218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); in print_diff_row()
219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); in print_diff_row()
256 SkString relativePath; in print_diff_page() local
261 relativePath.append(".." PATH_DIV_STR); in print_diff_page()
[all …]
/external/desugar/java/com/google/devtools/build/android/desugar/io/
DIndexedInputs.java86 for (String relativePath : inputProvider) { in indexInputs()
87 if (relativePath.endsWith(".class") && !indexedInputs.containsKey(relativePath)) { in indexInputs()
88 indexedInputs.put(relativePath, inputProvider); in indexInputs()
/external/vogar/src/vogar/
DActionFinder.java92 String relativePath = className.replace('.', File.separatorChar) + ".java"; in getSourcePath() local
93 if (!path.endsWith(relativePath)) { in getSourcePath()
94 …throw new IllegalArgumentException("Expected a file ending in " + relativePath + " but found " + p… in getSourcePath()
96 return new File(path.substring(0, path.length() - relativePath.length())); in getSourcePath()
/external/clang/utils/
DFindSpecRefs882 relativePath = item.path[len(root):]
883 if relativePath.startswith('/'):
884 relativePath = relativePath[1:]
887 filename = os.path.basename(relativePath)
899 print >>f,'<a href="%s">%s:%d</a>%s<br>'%(linkStr,relativePath,item.line,paraText)
/external/mockito/src/test/java/org/mockitoutil/
DSimpleClassGenerator.java14 String relativePath = qualifiedName.replace('.', '/'); in makeMarkerInterface() local
17 …cw.visit(V1_6, ACC_PUBLIC + ACC_ABSTRACT + ACC_INTERFACE, relativePath, null, "java/lang/Object", … in makeMarkerInterface()
/external/curl/lib/
Dcurl_path.c121 bool relativePath = false; in Curl_get_pathname() local
178 relativePath = (cp[0] == '/' && cp[1] == '~' && cp[2] == '/'); in Curl_get_pathname()
180 if(relativePath) { in Curl_get_pathname()
/external/skia/src/utils/
DSkOSPath.cpp10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { in Join() argument
15 result.append(relativePath); in Join()
DSkOSPath.h32 static SkString Join(const char* rootPath, const char* relativePath);
/external/skqp/src/utils/
DSkOSPath.cpp10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { in Join() argument
15 result.append(relativePath); in Join()
DSkOSPath.h32 static SkString Join(const char* rootPath, const char* relativePath);
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/
DTestCredentials.cs76 private static string GetPath(string relativePath) in GetPath() argument
79 return Path.Combine(assemblyDir, relativePath); in GetPath()
/external/tensorflow/tensorflow/java/maven/tensorflow-android/
Dpom-android.xml.template18 <relativePath>../</relativePath>
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/util/
DTestRunnerWithManifest.java32 final URI relativePath = workingDirectory.relativize(absolutePath); in resourcesBaseDirFile() local
33 return new File(relativePath.toString()).getParentFile(); in resourcesBaseDirFile()
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/util/
DTestRunnerWithManifest.java32 final URI relativePath = workingDirectory.relativize(absolutePath); in resourcesBaseDirFile() local
33 return new File(relativePath.toString()).getParentFile(); in resourcesBaseDirFile()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/
DSourceRoot.java105 final Path relativePath = fileInPackageRelativePath(startPackage, filename); in tryToParse() local
106 if (cache.containsKey(relativePath)) { in tryToParse()
107 Log.trace("Retrieving cached %s", relativePath); in tryToParse()
108 return cache.get(relativePath); in tryToParse()
110 final Path path = root.resolve(relativePath); in tryToParse()
115 cache.put(relativePath, result); in tryToParse()
/external/libchrome/mojo/public/js/
Dbase.js110 function loadMojomIfNecessary(id, relativePath) { argument
123 var url = new URL(relativePath, document.currentScript.src).href;
/external/cldr/tools/java/org/unicode/cldr/util/
DXMLSource.java302 static String addRelative(String oldPath, String relativePath) { in addRelative() argument
303 if (relativePath.startsWith("//")) { in addRelative()
304 return relativePath; in addRelative()
306 while (relativePath.startsWith("../")) { in addRelative()
307 relativePath = relativePath.substring(3); in addRelative()
309 while (relativePath.startsWith("/")) { in addRelative()
310 relativePath = relativePath.substring(1); in addRelative()
315 return oldPath + "/" + relativePath.replace('\'', '"'); in addRelative()
DCldrUtility.java1007 public static InputStream getInputStream(Class<?> callingClass, String relativePath) { in getInputStream() argument
1008 InputStream is = callingClass.getResourceAsStream(relativePath); in getInputStream()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DSystemIDResolver.java96 private static String getAbsolutePathFromRelativePath(String relativePath) in getAbsolutePathFromRelativePath() argument
98 return new File(relativePath).getAbsolutePath(); in getAbsolutePathFromRelativePath()
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
DSystemIDResolver.java103 private static String getAbsolutePathFromRelativePath(String relativePath) in getAbsolutePathFromRelativePath() argument
105 return new File(relativePath).getAbsolutePath(); in getAbsolutePathFromRelativePath()
/external/testng/src/main/java/org/testng/reporters/
DXMLReporter.java105 String relativePath = suite.getName() + File.separatorChar + FILE_NAME; in referenceSuite() local
106 File suiteFile = new File(config.getOutputDirectory(), relativePath); in referenceSuite()
108 attrs.setProperty(XMLReporterConfig.ATTR_URL, relativePath); in referenceSuite()
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DMavenManifestFactory.java37 final URI relativePath = workingDirectory.relativize(absolutePath); in identify() local
38 manifestFile = Fs.newFile(relativePath.toString()); in identify()
/external/opencensus-java/contrib/zpages/src/main/java/io/opencensus/contrib/zpages/
DStatszZPageHandler.java236 String relativePath = entry.getKey(); in emitDirectoryTable() local
241 path + '/' + relativePath, in emitDirectoryTable()
242 relativePath, in emitDirectoryTable()
249 QUERY_PATH, path + '/' + relativePath, viewName); in emitDirectoryTable()

12