/external/smali/util/src/test/java/org/jf/util/ |
PathUtilTest.java | 43 File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt"); 45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 47 Assert.assertEquals(path, relativePath.getPath()); 56 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt"); 58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 71 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); 73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 83 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir"); 85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); 95 File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar) [all...] |
/external/skia/src/utils/ |
SkOSPath.h | 25 * Assembles rootPath and relativePath into a single path, like this: 26 * rootPath/relativePath. 27 * It is okay to call with a NULL rootPath and/or relativePath. A path 32 static SkString Join(const char* rootPath, const char* relativePath);
|
SkOSPath.cpp | 10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { 15 result.append(relativePath);
|
/external/skqp/src/utils/ |
SkOSPath.h | 25 * Assembles rootPath and relativePath into a single path, like this: 26 * rootPath/relativePath. 27 * It is okay to call with a NULL rootPath and/or relativePath. A path 32 static SkString Join(const char* rootPath, const char* relativePath);
|
SkOSPath.cpp | 10 SkString SkOSPath::Join(const char *rootPath, const char *relativePath) { 15 result.append(relativePath);
|
/external/mockito/src/test/java/org/mockitoutil/ |
SimpleClassGenerator.java | 14 String relativePath = qualifiedName.replace('.', '/'); 17 cw.visit(V1_6, ACC_PUBLIC + ACC_ABSTRACT + ACC_INTERFACE, relativePath, null, "java/lang/Object", null);
|
/external/desugar/java/com/google/devtools/build/android/desugar/io/ |
IndexedInputs.java | 86 for (String relativePath : inputProvider) { 87 if (relativePath.endsWith(".class") && !indexedInputs.containsKey(relativePath)) { 88 indexedInputs.put(relativePath, inputProvider);
|
/external/vogar/src/vogar/ |
ActionFinder.java | 92 String relativePath = className.replace('.', File.separatorChar) + ".java"; 93 if (!path.endsWith(relativePath)) { 94 throw new IllegalArgumentException("Expected a file ending in " + relativePath + " but found " + path); 96 return new File(path.substring(0, path.length() - relativePath.length()));
|
/external/skia/tools/skdiff/ |
skdiff_html.cpp | 182 const SkString& relativePath, bool local) { 191 resource.fFullPath.prepend(relativePath); 207 resource.fFullPath.prepend(relativePath); 212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { 216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); 217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); 218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); 219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); 256 SkString relativePath; 261 relativePath.append(".." PATH_DIV_STR) [all...] |
/external/skqp/tools/skdiff/ |
skdiff_html.cpp | 182 const SkString& relativePath, bool local) { 191 resource.fFullPath.prepend(relativePath); 207 resource.fFullPath.prepend(relativePath); 212 static void print_diff_row(SkFILEWStream* stream, DiffRecord& diff, const SkString& relativePath) { 216 print_diff_resource_cell(stream, diff.fWhite, relativePath, true); 217 print_diff_resource_cell(stream, diff.fDifference, relativePath, true); 218 print_diff_resource_cell(stream, diff.fBase, relativePath, false); 219 print_diff_resource_cell(stream, diff.fComparison, relativePath, false); 256 SkString relativePath; 261 relativePath.append(".." PATH_DIV_STR) [all...] |
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/util/ |
TestRunnerWithManifest.java | 32 final URI relativePath = workingDirectory.relativize(absolutePath); 33 return new File(relativePath.toString()).getParentFile();
|
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/util/ |
TestRunnerWithManifest.java | 32 final URI relativePath = workingDirectory.relativize(absolutePath); 33 return new File(relativePath.toString()).getParentFile();
|
/external/curl/lib/ |
curl_path.c | 121 bool relativePath = false; 178 relativePath = (cp[0] == '/' && cp[1] == '~' && cp[2] == '/'); 180 if(relativePath) {
|
/external/grpc-grpc/src/csharp/Grpc.IntegrationTesting/ |
TestCredentials.cs | 76 private static string GetPath(string relativePath) 79 return Path.Combine(assemblyDir, relativePath);
|
/cts/hostsidetests/media/bitstreams/app/src/android/media/cts/bitstreams/app/ |
MediaBitstreamsDeviceSideTest.java | 251 private void verifyBitstream(PrintStream ps, String relativePath) { 252 ps.println(relativePath); 257 String fullPath = new File(mDeviceBitstreamsPath, relativePath).toString(); 259 String lastCrash = MediaBitstreams.generateCrashSignature(relativePath, ""); 265 frameChecksums = getFrameChecksumsForPath(relativePath); 276 String lastCrash = MediaBitstreams.generateCrashSignature(relativePath, name);
|
/external/clang/utils/ |
FindSpecRefs | 882 relativePath = item.path[len(root):] 883 if relativePath.startswith('/'): 884 relativePath = relativePath[1:] 887 filename = os.path.basename(relativePath) [all...] |
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/ |
SystemIDResolver.java | 100 * @param relativePath A relative path 103 private static String getAbsolutePathFromRelativePath(String relativePath) 105 return new File(relativePath).getAbsolutePath();
|
/external/apache-xml/src/main/java/org/apache/xml/utils/ |
SystemIDResolver.java | 93 * @param relativePath A relative path 96 private static String getAbsolutePathFromRelativePath(String relativePath) 98 return new File(relativePath).getAbsolutePath();
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
MavenManifestFactory.java | 37 final URI relativePath = workingDirectory.relativize(absolutePath); 38 manifestFile = Fs.newFile(relativePath.toString());
|
/frameworks/av/media/libeffects/factory/ |
EffectsXmlConfigLoader.cpp | 63 bool loadLibrary(const char* relativePath, lib_entry_t* libEntry) noexcept { 66 if (!resolveLibrary(relativePath, &absolutePath)) { 67 ALOGE("Could not find library in effect directories: %s", relativePath); 68 libEntry->path = strdup(relativePath);
|
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/ |
MbmsDownloadFlowTest.java | 124 String relativePath = fileInfo.getUri().getPath().substring( 126 assertTrue("got path: " + fileUri.getPath() + ", should end with: " + relativePath, 127 fileUri.getPath().endsWith(relativePath));
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
SourceRoot.java | 105 final Path relativePath = fileInPackageRelativePath(startPackage, filename); 106 if (cache.containsKey(relativePath)) { 107 Log.trace("Retrieving cached %s", relativePath); 108 return cache.get(relativePath); 110 final Path path = root.resolve(relativePath); 115 cache.put(relativePath, result);
|
/external/testng/src/main/java/org/testng/reporters/ |
XMLReporter.java | 105 String relativePath = suite.getName() + File.separatorChar + FILE_NAME; 106 File suiteFile = new File(config.getOutputDirectory(), relativePath); 108 attrs.setProperty(XMLReporterConfig.ATTR_URL, relativePath);
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
XMLSource.java | 226 // relativePath = (String) attributes.get("path"); 230 // if (relativePath == null) { 234 // result.newPath = tempAliasParts.trimLast().addRelative(relativePath).toString(); 262 // if (!relativePath2.equals(relativePath)) { 299 * @param relativePath 302 static String addRelative(String oldPath, String relativePath) { 303 if (relativePath.startsWith("//")) { 304 return relativePath; 306 while (relativePath.startsWith("../")) { 307 relativePath = relativePath.substring(3) [all...] |
/external/libchrome/mojo/public/js/ |
base.js | 110 function loadMojomIfNecessary(id, relativePath) { 123 var url = new URL(relativePath, document.currentScript.src).href;
|