Home
last modified time | relevance | path

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

12

/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/skia/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/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/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()
100 System.out.println("#" + locale + "\t" + sampleData.basePath); in gatherData()
142 … System.out.println(missing + "\t" + samples.basePath + "\t<" + s1 + ">\t<" + s2 + ">"); in showMinimalPairs()
164 String basePath = parts.toString(); in getSamples() local
165 SampleData sampleData = data.get(basePath); in getSamples()
167 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/deqp/external/vulkancts/scripts/
Dverify_submission.py36 …messages.append(error(package.basePath, "Exactly one git status file must be present, found %s" % …
46 …messages.append(error(package.basePath, "Exactly one git log file must be present, found %s" % len…
56 messages += verifyTestLog(os.path.join(package.basePath, testLogFile), mustpass)
59 messages.append(error(package.basePath, "No test log files found"))
73 messages.append(warning(os.path.join(package.basePath, item), "Unknown file"))
/external/deqp/external/openglcts/scripts/verify/
Dverify_es.py178 summary = parseRunSummary(os.path.join(package.basePath, package.summary))
186 …messages += verifyConfigFile(os.path.join(package.basePath, summary.configLogFilename), summary.ty…
203 messages_log = verifyTestLog(os.path.join(package.basePath, runLog), mustpass)
229 …messages.append(error(package.basePath, "Exactly %s must be present, found %s" % (errorDict[numFil…
236 logPath = os.path.join(package.basePath, gitLog)
259 messages.append(warning(os.path.join(package.basePath, log), "Log is not empty"))
261 messages.append(error(package.basePath, "Missing git log files"))
273 messages.append(error(package.basePath, "Package includes patches but log is empty"))
275 …messages.append(error(package.basePath, "Test log is not empty but package doesn't contain patches…
286 …messages.append(error(package.basePath, "Exactly %s must be present, found %s" % (errorDict[numFil…
[all …]
/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.py103 def getBinaryPath (self, buildType, basePath): argument
104 return basePath
150 def getBinaryPath (self, buildType, basePath): argument
151 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/jsoncpp/src/jsontestrunner/
Dmain.cpp243 std::string basePath = removeSuffix(argv[1], ".json"); in main() local
244 if (!parseOnly && basePath.empty()) { in main()
250 std::string actualPath = basePath + ".actual"; in main()
251 std::string rewritePath = basePath + ".rewrite"; in main()
252 std::string rewriteActualPath = basePath + ".actual-rewrite"; in main()
/external/skia/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/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/angle/third_party/jsoncpp/source/src/jsontestrunner/
Dmain.cpp253 Json::String basePath = removeSuffix(opts.path, ".json"); in runTest() local
254 if (!opts.parseOnly && basePath.empty()) { in runTest()
260 Json::String const actualPath = basePath + ".actual"; in runTest()
261 Json::String const rewritePath = basePath + ".rewrite"; in runTest()
262 Json::String const rewriteActualPath = basePath + ".actual-rewrite"; in runTest()

12