/external/smali/util/src/test/java/org/jf/util/ |
D | PathUtilTest.java | 42 …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/ |
D | ClassLoaderResourceLoader.java | 54 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()
|
D | ClassResourceLoader.java | 54 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/ |
D | verify.py | 101 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…
|
D | package.py | 34 …def __init__ (self, basePath, statement, testLogs, gitStatus, gitLog, patches, summary, conformVer… argument 35 self.basePath = basePath
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.cpp | 89 const SkString& basePath, bool isFallback, const char* filename, in FamilyData() 96 , fBasePath(basePath) in FamilyData() 618 const SkString& basePath, bool isFallback) in parse_config_file() argument 636 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file() 675 const SkString& basePath) in append_system_font_families() argument 678 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 680 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 694 const SkString& basePath) in append_fallback_font_families_for_locale() argument 720 parse_config_file(absoluteFilename.c_str(), langSpecificFonts, basePath, true); in append_fallback_font_families_for_locale() 731 const SkString& basePath) in append_system_fallback_font_families() argument [all …]
|
D | SkFontMgr_android_parser.h | 87 FontFamily(const SkString& basePath, bool isFallbackFont) in FontFamily() 91 , fBasePath(basePath) in FontFamily() 110 const SkString& basePath,
|
/external/skqp/src/ports/ |
D | SkFontMgr_android_parser.cpp | 89 const SkString& basePath, bool isFallback, const char* filename, in FamilyData() 96 , fBasePath(basePath) in FamilyData() 618 const SkString& basePath, bool isFallback) in parse_config_file() argument 636 FamilyData self(parser, families, basePath, isFallback, filename, &topLevelHandler); in parse_config_file() 675 const SkString& basePath) in append_system_font_families() argument 678 int version = parse_config_file(LMP_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 680 version = parse_config_file(OLD_SYSTEM_FONTS_FILE, fontFamilies, basePath, false); in append_system_font_families() 694 const SkString& basePath) in append_fallback_font_families_for_locale() argument 720 parse_config_file(absoluteFilename.c_str(), langSpecificFonts, basePath, true); in append_fallback_font_families_for_locale() 731 const SkString& basePath) in append_system_fallback_font_families() argument [all …]
|
D | SkFontMgr_android_parser.h | 87 FontFamily(const SkString& basePath, bool isFallbackFont) in FontFamily() 91 , fBasePath(basePath) in FontFamily() 110 const SkString& basePath,
|
/external/robolectric-shadows/utils/src/main/java/org/robolectric/util/ |
D | TempDirectory.java | 12 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/ |
D | ParameterizedRobolectricTestRunnerUriTest.java | 20 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/deqp/external/openglcts/scripts/verify/ |
D | verify_es.py | 170 summary = parseRunSummary(os.path.join(package.basePath, package.summary)) 178 …messages += verifyConfigFile(os.path.join(package.basePath, summary.configLogFilename), summary.ty… 195 messages_log = verifyTestLog(os.path.join(package.basePath, runLog), mustpass) 218 …messages.append(error(package.basePath, "Exactly two git status files must be present, found %s" %… 225 logPath = os.path.join(package.basePath, gitLog) 248 messages.append(warning(os.path.join(package.basePath, log), "Log is not empty")) 250 messages.append(error(package.basePath, "Missing git log files")) 262 messages.append(error(package.basePath, "Package includes patches but log is empty")) 264 …messages.append(error(package.basePath, "Test log is not empty but package doesn't contain patches… 272 …messages.append(error(package.basePath, "Exactly two git log file must be present, found %s" % len… [all …]
|
/external/smali/util/src/main/java/org/jf/util/ |
D | PathUtil.java | 51 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/ |
D | verify_submission.py | 36 …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/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/ |
D | SampleServer.java | 62 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/deqp/scripts/build/ |
D | config.py | 94 def getBinaryPath (self, buildType, basePath): argument 95 return basePath 131 def getBinaryPath (self, buildType, basePath): argument 132 return os.path.join(os.path.dirname(basePath), buildType, os.path.basename(basePath) + ".exe")
|
/external/libvncserver/libvncserver/tightvnc-filetransfer/ |
D | filetransfermsg.c | 171 char *basePath, *pChar; in CreateFileListInfo() local 187 basePath = malloc(pathLen + 3); in CreateFileListInfo() 188 memcpy(basePath, path, pathLen); in CreateFileListInfo() 190 basePath[basePathLength] = '\\'; in CreateFileListInfo() 191 basePath[basePathLength + 1] = '*'; in CreateFileListInfo() 192 basePath[basePathLength + 2] = '\0'; in CreateFileListInfo() 198 basePath[basePathLength] = '\0'; /* Restore to a basePath + \ */ in CreateFileListInfo() 200 for(pChar = basePath; *pChar; pChar++) { in CreateFileListInfo() 214 strncpy_s(fullpath, PATH_MAX, basePath, basePathLength); in CreateFileListInfo() 245 free(basePath); in CreateFileListInfo()
|
/external/deqp/scripts/ |
D | make_release.py | 48 def removeLeadingPath (path, basePath): argument 51 assert os.path.normpath(basePath) == basePath 52 return path[len(basePath) + 1:] 60 def getFileList (basePath): argument 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)
|
/external/jsoncpp/src/jsontestrunner/ |
D | main.cpp | 243 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/skqp/tools/skdiff/ |
D | skdiff_main.cpp | 417 SkString basePath(baseDir); in create_diff_images() local 427 basePath.append(*baseFiles[i]); in create_diff_images() 431 drp->fBase.fFullPath = basePath; in create_diff_images() 445 basePath.append(*comparisonFiles[j]); in create_diff_images() 449 drp->fBase.fFullPath = basePath; in create_diff_images() 463 basePath.append(*baseFiles[i]); in create_diff_images() 467 drp->fBase.fFullPath = basePath; in create_diff_images()
|
/external/skia/tools/skdiff/ |
D | skdiff_main.cpp | 417 SkString basePath(baseDir); in create_diff_images() local 427 basePath.append(*baseFiles[i]); in create_diff_images() 431 drp->fBase.fFullPath = basePath; in create_diff_images() 445 basePath.append(*comparisonFiles[j]); in create_diff_images() 449 drp->fBase.fFullPath = basePath; in create_diff_images() 463 basePath.append(*baseFiles[i]); in create_diff_images() 467 drp->fBase.fFullPath = basePath; in create_diff_images()
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
D | XMPIteratorImpl.java | 80 XMPPath basePath = new XMPPath(); in XMPIteratorImpl() local 83 basePath.add(path.getSegment(i)); in XMPIteratorImpl() 88 initialPath = basePath.toString(); in XMPIteratorImpl()
|
/external/annotation-tools/scene-lib/src/annotations/tools/ |
D | IndexFileMerger.java | 64 String basePath = baseFile.getCanonicalPath(); in main() local 77 if (!inputPath.startsWith(basePath)) { in main() 84 String relPath = inputPath.substring(basePath.length()+1); // +1 '/' in main()
|
/external/deqp/executor/tools/ |
D | xeExtractShaderPrograms.cpp | 70 …const string basePath = string(de::FilePath::join(cmdLine.dstPath, casePath).getPath()) + "." + de… in writeShaderProgram() local 75 const string shaderPath = basePath + "." + getShaderTypeSuffix(shader.shaderType); in writeShaderProgram()
|
/external/icu/icu4c/source/test/intltest/ |
D | intltest.cpp | 575 strcpy(basePath, "/"); in IntlTest() 601 strcpy(testToBeCalled.basePath, this->basePath ); in callTest() 602 UBool result = testToBeCalled.runTest( testPath, par, testToBeCalled.basePath ); in callTest() 603 strcpy(testToBeCalled.basePath, this->basePath ); // reset it. in callTest() 740 if ((char *)this->basePath != baseName) { in runTestLoop() 741 strcpy(this->basePath, baseName); in runTestLoop() 998 strcpy(fullpath, basePath); in logKnownIssue()
|