Home
last modified time | relevance | path

Searched refs:basePath (Results 1 – 25 of 60) sorted by relevance

123

/external/smali/util/src/test/java/org/jf/util/
DPathUtilTest.java42 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest1() local
45 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest1()
55 …File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "te… in pathUtilTest2() local
58 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest2()
70 … File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar); in pathUtilTest3() local
73 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest3()
82 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest4() local
85 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest4()
94 File basePath = new File(roots[0] + "some" + File.separatorChar + "dir"); in pathUtilTest5() local
97 String path = PathUtil.getRelativeFileInternal(basePath, relativePath); in pathUtilTest5()
[all …]
/external/jsilver/src/com/google/clearsilver/jsilver/resourceloader/
DClassLoaderResourceLoader.java54 private String basePath; field in ClassLoaderResourceLoader
56 public ClassLoaderResourceLoader(ClassLoader classLoader, String basePath) { in ClassLoaderResourceLoader() argument
58 this.basePath = basePath; in ClassLoaderResourceLoader()
67 String path = basePath + '/' + name; in open()
77 + basePath + "'"); in openOrFail()
DClassResourceLoader.java54 private final String basePath; field in ClassResourceLoader
58 this.basePath = "/" + cls.getPackage().getName().replace('.', '/'); in ClassResourceLoader()
65 public ClassResourceLoader(Class<?> cls, String basePath) { in ClassResourceLoader() argument
67 this.basePath = basePath; in ClassResourceLoader()
72 InputStream stream = cls.getResourceAsStream(basePath + '/' + name); in open()
/external/deqp/scripts/verify/
Dverify.py101 statementPath = os.path.join(package.basePath, package.statement)
140 messages.append(error(package.basePath, "Missing conformance statement file"))
149 statusPath = os.path.join(package.basePath, s)
153 messages.append(error(package.basePath, "Working directory is not clean"))
155 messages.append(error(package.basePath, "Missing git status files"))
160 logPath = os.path.join(package.basePath, gitLog)
171 messages.append(warning(os.path.join(package.basePath, log), "Log is not empty"))
173 messages.append(error(package.basePath, "Missing git log files"))
185 messages.append(error(package.basePath, "Package includes patches but log is empty"))
187 …messages.append(error(package.basePath, "Test log is not empty but package doesn't contain patches…
Dpackage.py34 …def __init__ (self, basePath, statement, testLogs, gitStatus, gitLog, patches, summary, conformVer… argument
35 self.basePath = basePath
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/
DTempDirectory.java12 private final Path basePath; field in TempDirectory
16 basePath = Files.createTempDirectory("robolectric-" + name); in TempDirectory()
31 Path path = basePath.resolve(name); in create()
41 Path path = basePath.resolve(name); in createIfNotExists()
55 clearDirectory(basePath); in destroy()
56 Files.delete(basePath); in destroy()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
DParameterizedRobolectricTestRunnerUriTest.java20 private final String basePath; field in ParameterizedRobolectricTestRunnerUriTest
24 public ParameterizedRobolectricTestRunnerUriTest(String basePath, in ParameterizedRobolectricTestRunnerUriTest() argument
27 this.basePath = basePath; in ParameterizedRobolectricTestRunnerUriTest()
35 assertThat(Uri.parse(basePath).buildUpon().path(resourcePath).build()).isEqualTo(expectedUri); in parse()
/external/skqp/src/ports/
DSkFontMgr_android_parser.cpp89 const SkString& basePath, bool isFallback, const char* filename, in FamilyData()
96 , fBasePath(basePath) in FamilyData()
636 const SkString& basePath, bool isFallback) in parse_config_file() argument
654 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file()
693 const SkString& basePath) in append_system_font_families() argument
696 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
698 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
712 const SkString& basePath) in append_fallback_font_families_for_locale() argument
738 parse_config_file(absoluteFilename.c_str(), langSpecificFonts, basePath, true); in append_fallback_font_families_for_locale()
749 const SkString& basePath) in append_system_fallback_font_families() argument
[all …]
DSkFontMgr_android_parser.h88 FontFamily(const SkString& basePath, bool isFallbackFont) in FontFamily()
92 , fBasePath(basePath) in FontFamily()
113 const SkString& basePath,
/external/skia/src/ports/
DSkFontMgr_android_parser.cpp91 const SkString& basePath, bool isFallback, const char* filename, in FamilyData()
98 , fBasePath(basePath) in FamilyData()
638 const SkString& basePath, bool isFallback) in parse_config_file() argument
656 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file()
695 const SkString& basePath) in append_system_font_families() argument
698 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
700 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families()
714 const SkString& basePath) in append_fallback_font_families_for_locale() argument
740 parse_config_file(absoluteFilename.c_str(), langSpecificFonts, basePath, true); in append_fallback_font_families_for_locale()
751 const SkString& basePath) in append_system_fallback_font_families() argument
[all …]
DSkFontMgr_android_parser.h88 FontFamily(const SkString& basePath, bool isFallbackFont) in FontFamily()
92 , fBasePath(basePath) in FontFamily()
113 const SkString& basePath,
/external/cldr/tools/java/org/unicode/cldr/draft/
DExtractCountItems.java37 String basePath; field in ExtractCountItems.SampleData
39 public SampleData(String basePath) { in SampleData() argument
40 this.basePath = basePath; in SampleData()
101 System.out.println("#" + locale + "\t" + sampleData.basePath); in gatherData()
143 … System.out.println(missing + "\t" + samples.basePath + "\t<" + s1 + ">\t<" + s2 + ">"); in showMinimalPairs()
165 String basePath = parts.toString(); in getSamples() local
166 SampleData sampleData = data.get(basePath); in getSamples()
168 data.put(basePath, sampleData = new SampleData(basePath)); in getSamples()
/external/smali/util/src/main/java/org/jf/util/
DPathUtil.java51 List<String> basePath = getPathComponents(canonicalBaseFile); in getRelativeFileInternal() local
56 if (!basePath.get(0).equals(pathToRelativize.get(0))) { in getRelativeFileInternal()
63 …for (commonDirs=1; commonDirs<basePath.size() && commonDirs<pathToRelativize.size(); commonDirs++)… in getRelativeFileInternal()
64 if (!basePath.get(commonDirs).equals(pathToRelativize.get(commonDirs))) { in getRelativeFileInternal()
70 for (int i=commonDirs; i<basePath.size(); i++) { in getRelativeFileInternal()
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/
DSampleServer.java62 private MockResponse directoryToResponse(String basePath, File directory) { in directoryToResponse() argument
63 if (!basePath.endsWith("/")) basePath += "/"; in directoryToResponse()
66 response.append(String.format("<html><head><title>%s</title></head><body>", basePath)); in directoryToResponse()
67 response.append(String.format("<h1>%s</h1>", basePath)); in directoryToResponse()
70 basePath + file, file)); in directoryToResponse()
/external/dokka/core/src/main/kotlin/Formats/
DHtmlTemplateService.kt6 fun appendHeader(to: StringBuilder, title: String?, basePath: File) in appendHeader()
19 override fun appendHeader(to: StringBuilder, title: String?, basePath: File) { in appendHeader()
27 val cssPath = basePath.resolve(css).toUnixString() in appendHeader()
/external/skia/modules/pathkit/tests/
Dpath2d.spec.js129 let basePath = PathKit.NewPath();
133 basePath.addPath(otherPath)
142 reportPath(basePath, 'add_path_3x', done);
143 basePath.delete();
/external/skqp/modules/pathkit/tests/
Dpath2d.spec.js146 let basePath = PathKit.NewPath();
150 basePath.addPath(otherPath)
159 reportPath(basePath, 'add_path_3x', done);
160 basePath.delete();
/external/deqp/scripts/build/
Dconfig.py102 def getBinaryPath (self, buildType, basePath): argument
103 return basePath
149 def getBinaryPath (self, buildType, basePath): argument
150 return os.path.join(os.path.dirname(basePath), buildType, os.path.basename(basePath) + ".exe")
/external/deqp/scripts/
Dmake_release.py50 def removeLeadingPath (path, basePath): argument
53 assert os.path.normpath(basePath) == basePath
54 return path[len(basePath) + 1:]
62 def getFileList (basePath): argument
64 basePath = os.path.normpath(basePath)
65 for root, dirs, files in os.walk(basePath):
67 relPath = removeLeadingPath(os.path.normpath(os.path.join(root, file)), basePath)
/external/skqp/tests/
DFontMgrAndroidParserTest.cpp242 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST() local
252 custom.fBasePath = basePath.c_str(); in DEF_TEST()
277 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST() local
287 custom.fBasePath = basePath.c_str(); in DEF_TEST()
354 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST() local
364 custom.fBasePath = basePath.c_str(); in DEF_TEST()
/external/skia/tests/
DFontMgrAndroidParserTest.cpp241 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST() local
251 custom.fBasePath = basePath.c_str(); in DEF_TEST()
276 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST() local
286 custom.fBasePath = basePath.c_str(); in DEF_TEST()
353 SkString basePath = GetResourcePath("fonts/"); in DEF_TEST() local
363 custom.fBasePath = basePath.c_str(); in DEF_TEST()
/external/jsoncpp/src/jsontestrunner/
Dmain.cpp282 Json::String basePath = removeSuffix(opts.path, ".json"); in runTest() local
283 if (!opts.parseOnly && basePath.empty()) { in runTest()
289 Json::String const actualPath = basePath + ".actual"; in runTest()
290 Json::String const rewritePath = basePath + ".rewrite"; in runTest()
291 Json::String const rewriteActualPath = basePath + ".actual-rewrite"; in runTest()
/external/cldr/tools/java/org/unicode/cldr/util/
DValidity.java52 final String basePath = validityDirectory; in Validity() local
54 for (String file : new File(basePath).list()) { in Validity()
74 XMLFileReader.loadPathValues(basePath + file, lineData, true); in Validity()
/external/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/regex/
DResultSpec.java259 VarString basePath = instructions.get(Instruction.BASE_XPATH); in getResultPath() local
260 if (basePath == null) { in getResultPath()
263 String resolvedBasePath = basePath.apply(dynamicVarFn.andThen(varLookupFn)).get(); in getResultPath()
403 private final Optional<CldrPath> basePath;
411 this.basePath = checkNotNull(path);
425 return basePath;
/external/skqp/tools/skdiff/
Dskdiff_main.cpp418 SkString basePath(baseDir); in create_diff_images() local
428 basePath.append(*baseFiles[i]); in create_diff_images()
432 drp->fBase.fFullPath = basePath; in create_diff_images()
446 basePath.append(*comparisonFiles[j]); in create_diff_images()
450 drp->fBase.fFullPath = basePath; in create_diff_images()
464 basePath.append(*baseFiles[i]); in create_diff_images()
468 drp->fBase.fFullPath = basePath; in create_diff_images()

123