Searched refs:basePath (Results 1 - 25 of 59) sorted by relevance

123

/external/smali/util/src/test/java/org/jf/util/
H A DPathUtilTest.java42 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
55 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
70 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar);
73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
82 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir");
85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
94 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir");
97 String path = PathUtil.getRelativeFileInternal(basePath, relativePat
[all...]
/external/chromium-trace/catapult/third_party/polymer/components/web-animations-js/test/
H A Dkarma-config.js12 basePath: '..',
H A Dkarma-config-ci.js39 basePath: '..',
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
H A DClassLoaderResourceLoader.java54 private String basePath; field in class:ClassLoaderResourceLoader
56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) { argument
58 this.basePath = basePath;
67 String path = basePath + '/' + name;
77 + basePath + "'");
H A DClassResourceLoader.java54 private final String basePath; field in class:ClassResourceLoader
58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/');
62 * Load resources from the given subdirectory {@code basePath},
65 public ClassResourceLoader(Class<?> cls, String basePath) { argument
67 this.basePath = basePath;
72 InputStream stream = cls.getResourceAsStream(basePath + '/' + name);
/external/skia/src/ports/
H A DSkFontMgr_android_factory.cpp19 const char* basePath)
23 gTestBasePath = basePath;
18 SkUseTestFontConfigFile(const char* fontsXml, const char* fallbackFontsXml, const char* basePath) argument
H A DSkFontMgr_android_parser.cpp87 const SkString& basePath, bool isFallback, const char* filename,
94 , fBasePath(basePath)
600 const SkString& basePath, bool isFallback)
618 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler);
657 const SkString& basePath)
660 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false);
662 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false);
676 const SkString& basePath)
706 parse_config_file(absoluteFilename.c_str(), langSpecificFonts, basePath, true);
717 const SkString& basePath)
86 FamilyData(XML_Parser parser, SkTDArray<FontFamily*>& families, const SkString& basePath, bool isFallback, const char* filename, const TagHandler* topLevelHandler) argument
599 parse_config_file(const char* filename, SkTDArray<FontFamily*>& families, const SkString& basePath, bool isFallback) argument
656 append_system_font_families(SkTDArray<FontFamily*>& fontFamilies, const SkString& basePath) argument
674 append_fallback_font_families_for_locale(SkTDArray<FontFamily*>& fallbackFonts, const char* dir, const SkString& basePath) argument
716 append_system_fallback_font_families(SkTDArray<FontFamily*>& fallbackFonts, const SkString& basePath) argument
725 mixin_vendor_fallback_font_families(SkTDArray<FontFamily*>& fallbackFonts, const SkString& basePath) argument
774 GetCustomFontFamilies(SkTDArray<FontFamily*>& fontFamilies, const SkString& basePath, const char* fontsXml, const char* fallbackFontsXml, const char* langFallbackFontsDir) argument
[all...]
H A DSkFontMgr_android_parser.h87 FontFamily(const SkString& basePath, bool isFallbackFont) argument
91 , fBasePath(basePath)
110 const SkString& basePath,
/external/smali/util/src/main/java/org/jf/util/
H A DPathUtil.java47 public static String getRelativePath(String basePath, String pathToRelativize) throws IOException { argument
48 File baseFile = new File(basePath);
58 ArrayList<String> basePath = getPathComponents(canonicalBaseFile);
63 if (!basePath.get(0).equals(pathToRelativize.get(0))) {
70 for (commonDirs=1; commonDirs<basePath.size() && commonDirs<pathToRelativize.size(); commonDirs++) {
71 if (!basePath.get(commonDirs).equals(pathToRelativize.get(commonDirs))) {
77 for (int i=commonDirs; i<basePath.size(); i++) {
/external/deqp/external/vulkancts/
H A Dverify_submission.py49 def __init__ (self, basePath, statement, testLogs, gitStatus, gitLog, patches, otherItems):
50 self.basePath = basePath
166 statementPath = os.path.join(package.basePath, package.statement)
201 messages.append(error(package.basePath, "Missing conformance statement file"))
209 statusPath = os.path.join(package.basePath, package.gitStatus)
213 messages.append(error(package.basePath, "Working directory is not clean"))
215 messages.append(error(package.basePath, "Missing git-status.txt"))
222 logPath = os.path.join(package.basePath, package.gitLog)
232 messages.append(warning(os.path.join(package.basePath, packag
[all...]
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
H A DSampleServer.java62 private MockResponse directoryToResponse(String basePath, File directory) { argument
63 if (!basePath.endsWith("/")) basePath += "/";
66 response.append(String.format("<html><head><title>%s</title></head><body>", basePath));
67 response.append(String.format("<h1>%s</h1>", basePath));
70 basePath + file, file));
/external/deqp/scripts/build/
H A Dconfig.py78 def getBinaryPath (self, buildType, basePath):
79 return basePath
108 def getBinaryPath (self, buildType, basePath):
109 return os.path.join(os.path.dirname(basePath), buildType, os.path.basename(basePath) + ".exe")
/external/libvncserver/libvncserver/tightvnc-filetransfer/
H A Dfiletransfermsg.c171 char *basePath, *pChar; local
187 basePath = malloc(pathLen + 3);
188 memcpy(basePath, path, pathLen);
190 basePath[basePathLength] = '\\';
191 basePath[basePathLength + 1] = '*';
192 basePath[basePathLength + 2] = '\0';
198 basePath[basePathLength] = '\0'; /* Restore to a basePath + \ */
200 for(pChar = basePath; *pChar; pChar++) {
214 strncpy_s(fullpath, PATH_MAX, basePath, basePathLengt
[all...]
/external/jsoncpp/src/jsontestrunner/
H A Dmain.cpp243 std::string basePath = removeSuffix(argv[1], ".json"); local
244 if (!parseOnly && basePath.empty()) {
250 std::string actualPath = basePath + ".actual";
251 std::string rewritePath = basePath + ".rewrite";
252 std::string rewriteActualPath = basePath + ".actual-rewrite";
/external/deqp/scripts/
H A Dmake_release.py48 def removeLeadingPath (path, basePath):
51 assert os.path.normpath(basePath) == basePath
52 return path[len(basePath) + 1:]
60 def getFileList (basePath):
62 basePath = os.path.normpath(basePath)
63 for root, dirs, files in os.walk(basePath):
65 relPath = removeLeadingPath(os.path.normpath(os.path.join(root, file)), basePath)
H A Drun_nightly.py97 def getBinaryPath(self, basePath):
98 return os.path.join(self.buildConfig.getBuildDir(), self.generator.getBinaryPath(self.buildConfig.getBuildType(), basePath))
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPIteratorImpl.java80 XMPPath basePath = new XMPPath();
83 basePath.add(path.getSegment(i));
88 initialPath = basePath.toString();
/external/deqp/executor/tools/
H A DxeExtractShaderPrograms.cpp70 const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de::toString(programNdx); local
75 const string shaderPath = basePath + "." + getShaderTypeSuffix(shader.shaderType);
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/experimental/javascript/closure/
H A Dbase.js347 goog.basePath = '';
475 goog.basePath = goog.global.CLOSURE_BASE_PATH;
489 goog.basePath = src.substr(0, l - 7);
587 goog.importScript_(goog.basePath + scripts[i]);
614 goog.importScript_(goog.basePath + 'deps.js');
/external/skia/tools/
H A Dskdiff_main.cpp415 SkString basePath(baseDir);
425 basePath.append(*baseFiles[i]);
429 drp->fBase.fFullPath = basePath;
443 basePath.append(*comparisonFiles[j]);
447 drp->fBase.fFullPath = basePath;
461 basePath.append(*baseFiles[i]);
465 drp->fBase.fFullPath = basePath;
/external/doclava/res/assets/templates/assets/
H A Ddoclava-developer-docs.js139 var basePath = getBaseUri(location.pathname);
140 return basePath.substring(1,basePath.indexOf("/",1));
/external/icu/icu4c/source/test/intltest/
H A Dintltest.cpp552 strcpy(basePath, "/");
578 strcpy(testToBeCalled.basePath, this->basePath );
579 UBool result = testToBeCalled.runTest( testPath, par, testToBeCalled.basePath );
580 strcpy(testToBeCalled.basePath, this->basePath ); // reset it.
717 if ((char *)this->basePath != baseName) {
718 strcpy(this->basePath, baseName);
975 strcpy(fullpath, basePath);
/external/autotest/frontend/client/src/autotest/afe/
H A DJobDetailView.java582 String basePath = jobId + "-" + owner + "/" + executionSubdir + "/";
585 return new HTML(getLogsLinkHtml(basePath + "debug", "Debug logs"));
587 return new HTML(getLogsLinkHtml(basePath + "status.log", "Status log"));
/external/apache-xml/src/main/java/org/apache/xml/serializer/utils/
H A DURI.java503 String basePath = p_base.getPath();
506 if (basePath != null)
508 int lastSlash = basePath.lastIndexOf('/');
512 path = basePath.substring(0, lastSlash + 1);
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DURI.java523 String basePath = p_base.getPath();
526 if (basePath != null)
528 int lastSlash = basePath.lastIndexOf('/');
532 path = basePath.substring(0, lastSlash + 1);

Completed in 854 milliseconds

123