/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/ |
D | DefaultManifestFactoryTest.java | 28 String baseDir = System.getProperty("robolectric-tests.base-dir"); in identify() local 29 if (baseDir == null) { in identify() 30 baseDir = ""; in identify() 34 .isEqualTo(FileFsFile.from(baseDir + "/gradle/AndroidManifest.xml")); in identify() 36 .isEqualTo(FileFsFile.from(baseDir + "/gradle/res")); in identify() 38 .isEqualTo(FileFsFile.from(baseDir + "/gradle/assets")); in identify() 53 String baseDir = System.getProperty("robolectric-tests.base-dir"); in identify_withResourceApk() local 54 if (baseDir == null) { in identify_withResourceApk() 55 baseDir = ""; in identify_withResourceApk() 59 .isEqualTo(FileFsFile.from(baseDir + "/gradle/AndroidManifest.xml")); in identify_withResourceApk() [all …]
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/input/ |
D | DirectoryInputFileGenerator.java | 29 private final File baseDir; field in DirectoryInputFileGenerator 31 public DirectoryInputFileGenerator(File baseDir) { in DirectoryInputFileGenerator() argument 32 if (baseDir == null) { in DirectoryInputFileGenerator() 35 this.baseDir = baseDir; in DirectoryInputFileGenerator() 41 collectFiles(baseDir, files); in generate() 45 private void collectFiles(File baseDir, List<File> files) { in collectFiles() argument 46 if (!baseDir.exists()) { in collectFiles() 47 throw new IllegalArgumentException("Not found: " + baseDir.getAbsolutePath()); in collectFiles() 49 if (!baseDir.isDirectory()) { in collectFiles() 50 throw new IllegalArgumentException("Not a directory: " + baseDir.getAbsolutePath()); in collectFiles() [all …]
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/ |
D | ManifestFactoryTest.java | 35 String baseDir = System.getProperty("robolectric-tests.base-dir"); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() local 36 if (baseDir == null) { in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 37 baseDir = ""; in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 45 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/MergedManifest.xml")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 47 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-resources")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 49 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-assets")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 56 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/MergedManifest.xml")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 58 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-resources")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 60 .isEqualTo(Fs.fileFromPath(baseDir + "/path/to/merged-assets")); in whenBuildSystemApiPropertiesFileIsPresent_shouldUseDefaultManifestFactory() 79 String baseDir = System.getProperty("robolectric-tests.base-dir"); in whenConfigSpecified_overridesValuesFromFile() local [all …]
|
/external/deqp/external/ |
D | fetch_sources.py | 47 def __init__(self, baseDir, extractDir): argument 48 self.baseDir = baseDir 52 fullDstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.extractDir) 61 def __init__(self, url, filename, checksum, baseDir, extractDir = "src", postExtract=None): argument 62 Source.__init__(self, baseDir, extractDir) 83 archiveDir = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir) 88 archiveFile = os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir, pkg.filename) 95 return os.path.join(EXTERNAL_DIR, pkg.baseDir, pkg.archiveDir, "extracted") 132 dstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.archiveDir, self.filename) 143 print("Extracting %s to %s/%s" % (self.filename, self.baseDir, self.extractDir)) [all …]
|
/external/deqp/external/openglcts/scripts/ |
D | verify_kc_cts_rev.py | 42 def __init__(self, baseDir, extractDir): argument 43 self.baseDir = baseDir 47 fullDstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.extractDir) 52 def __init__(self, url, revision, baseDir, extractDir = "src"): argument 53 Source.__init__(self, baseDir, extractDir) 58 fullDstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.extractDir) 70 fullDstPath = os.path.join(EXTERNAL_DIR, self.baseDir, self.extractDir)
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/ |
D | DefaultManifestFactory.java | 24 String baseDir = System.getProperty("robolectric-tests.base-dir"); in identify() local 26 FsFile manifestFile = getFsFileFromProperty(baseDir, "android_merged_manifest"); in identify() 27 FsFile resourcesDir = getFsFileFromProperty(baseDir, "android_merged_resources"); in identify() 28 FsFile assetsDir = getFsFileFromProperty(baseDir, "android_merged_assets"); in identify() 29 FsFile apkFile = getFsFileFromProperty(baseDir, "android_resource_apk"); in identify() 69 private FsFile getFsFileFromProperty(String baseDir, String name) { in getFsFileFromProperty() argument 75 if (baseDir != null) { in getFsFileFromProperty() 76 path = new File(baseDir, path).getPath(); in getFsFileFromProperty()
|
D | MavenManifestFactory.java | 43 final FsFile baseDir = manifestFile.getParent(); in identify() local 44 final FsFile resDir = baseDir.join(config.resourceDir()); in identify() 45 final FsFile assetDir = baseDir.join(config.assetDir()); in identify() 54 FsFile libDir = baseDir.join(libraryDirName); in identify() 104 FsFile baseDir = resDirectory.getParent(); in findLibraries() local 105 final Properties properties = getProperties(baseDir.join("project.properties")); in findLibraries() 106 Properties overrideProperties = getProperties(baseDir.join("test-project.properties")); in findLibraries() 112 FsFile libraryDir = baseDir.join(lib); in findLibraries()
|
/external/proguard/src/proguard/ |
D | WordReader.java | 40 private File baseDir; field in WordReader 52 protected WordReader(File baseDir) in WordReader() argument 54 this.baseDir = baseDir; in WordReader() 61 public void setBaseDir(File baseDir) in setBaseDir() argument 65 includeWordReader.setBaseDir(baseDir); in setBaseDir() 69 this.baseDir = baseDir; in setBaseDir() 81 baseDir; in getBaseDir()
|
D | LineWordReader.java | 42 File baseDir) throws IOException in LineWordReader() argument 44 super(baseDir); in LineWordReader()
|
D | ArgumentWordReader.java | 52 public ArgumentWordReader(String[] arguments, File baseDir) in ArgumentWordReader() argument 54 super(baseDir); in ArgumentWordReader()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/output/ |
D | BasicOutputSourceFileGenerator.java | 29 private final File baseDir; field in BasicOutputSourceFileGenerator 31 public BasicOutputSourceFileGenerator(File baseDir) { in BasicOutputSourceFileGenerator() argument 32 this.baseDir = baseDir; in BasicOutputSourceFileGenerator() 40 return new File(new File(baseDir, packageSubDir), sourceFileName); in generate()
|
/external/proguard/src/proguard/ant/ |
D | ConfigurationElement.java | 45 File baseDir; in appendTo() local 73 baseDir = scanner.getBasedir(); in appendTo() 85 baseDir = scanner.getBasedir(); in appendTo() 100 File configurationFile = new File(baseDir, fileNames[index]); in appendTo()
|
D | ClassPathElement.java | 63 File baseDir = getProject().getBaseDir(); in appendClassPathEntriesTo() local 85 baseDir = scanner.getBasedir(); in appendClassPathEntriesTo() 122 new ClassPathEntry(file.isAbsolute() ? file : new File(baseDir, fileName), in appendClassPathEntriesTo()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/ |
D | ClassPathsTest.java | 68 String baseDir = reply.getNextValueAsString(); in testClassPaths001() local 69 logWriter.println("baseDir = " + baseDir); in testClassPaths001() 70 assertTrue("baseDir = " + baseDir + " doesn't exists", in testClassPaths001() 71 new File(baseDir).exists()); in testClassPaths001()
|
/external/antlr/runtime/Python3/tests/ |
D | testbase.py | 68 baseDir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', '..')) variable 69 libDir = os.path.join(baseDir, 'lib') 92 cp.append(os.path.join(baseDir, 'runtime', 'Python', 'build')) 116 def baseDir(self): member in ANTLRTest 257 self._invokeantlr(self.baseDir, grammarPath, options, javaOptions) 284 modFile, modPathname, modDescription = imp.find_module(name, [self.baseDir]) 340 id = hashlib.md5(self.baseDir.encode('utf-8')).hexdigest()[-8:] 352 grammarPath = os.path.join(self.baseDir, grammarName + '.g') 363 path = os.path.join(self.baseDir, name)
|
/external/antlr/runtime/Python/tests/ |
D | testbase.py | 67 baseDir = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..', '..')) variable 68 libDir = os.path.join(baseDir, 'lib') 94 cp.append(os.path.join(baseDir, 'runtime', 'Python', 'build')) 129 def baseDir(self): member in ANTLRTest 276 self._invokeantlr(self.baseDir, grammarPath, options, javaOptions) 304 = imp.find_module(name, [self.baseDir]) 361 id = hashlib.md5(self.baseDir).hexdigest()[-8:] 375 grammarPath = os.path.join(self.baseDir, grammarName + '.g') 387 path = os.path.join(self.baseDir, name)
|
/external/libxml2/xstc/ |
D | fixup-tests.py | 8 baseDir = os.path.join('msxsdtest', 'Particles') variable 9 filenames = os.listdir(baseDir) 38 schemaFile = os.path.join(baseDir, mainXSD) 64 impFile = os.path.join(baseDir, loc)
|
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/ |
D | PropertiesDependencyResolver.java | 13 private final FsFile baseDir; field in PropertiesDependencyResolver 18 this.baseDir = propertiesFile.getParent(); in PropertiesDependencyResolver() 37 pathFile = new File(baseDir.getPath(), path); in getLocalArtifactUrl()
|
/external/skqp/tools/skdiff/ |
D | skdiff_main.cpp | 380 const SkString& baseDir, in create_diff_images() argument 389 SkASSERT(!baseDir.isEmpty()); in create_diff_images() 395 get_file_list(baseDir, matchSubstrings, nomatchSubstrings, recurseIntoSubdirs, &baseFiles); in create_diff_images() 418 SkString basePath(baseDir); in create_diff_images() 527 drp->fBase.fFullPath = baseDir; in create_diff_images() 548 drp->fBase.fFullPath = baseDir; in create_diff_images() 622 SkString baseDir; in main() local 750 baseDir.set(argv[i]); in main() 781 if (!baseDir.endsWith(PATH_DIV_STR)) { in main() 782 baseDir.append(PATH_DIV_STR); in main() [all …]
|
D | skdiff_html.cpp | 32 const SkString &baseDir, in print_table_header() argument 72 stream->writeText(baseDir.c_str()); in print_table_header() 227 const SkString& baseDir, in print_diff_page() argument 231 SkASSERT(!baseDir.isEmpty()); in print_diff_page() 284 baseDir, comparisonDir); in print_diff_page()
|
/external/skia/tools/skdiff/ |
D | skdiff_main.cpp | 380 const SkString& baseDir, in create_diff_images() argument 389 SkASSERT(!baseDir.isEmpty()); in create_diff_images() 395 get_file_list(baseDir, matchSubstrings, nomatchSubstrings, recurseIntoSubdirs, &baseFiles); in create_diff_images() 418 SkString basePath(baseDir); in create_diff_images() 527 drp->fBase.fFullPath = baseDir; in create_diff_images() 548 drp->fBase.fFullPath = baseDir; in create_diff_images() 622 SkString baseDir; in main() local 750 baseDir.set(argv[i]); in main() 781 if (!baseDir.endsWith(PATH_DIV_STR)) { in main() 782 baseDir.append(PATH_DIV_STR); in main() [all …]
|
D | skdiff_html.cpp | 32 const SkString &baseDir, in print_table_header() argument 72 stream->writeText(baseDir.c_str()); in print_table_header() 227 const SkString& baseDir, in print_diff_page() argument 231 SkASSERT(!baseDir.isEmpty()); in print_diff_page() 284 baseDir, comparisonDir); in print_diff_page()
|
/external/deqp/scripts/ |
D | gen_android_bp.py | 103 baseDir = os.path.join(DEQP_DIR, srcRoot) 104 for root, dirs, files in os.walk(baseDir):
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/ |
D | TestUtil.java | 30 String baseDir = System.getProperty("robolectric-tests.base-dir"); in resourcesBaseDirFile() local 31 return testDirLocation = new File(baseDir, "src/test/resources"); in resourcesBaseDirFile()
|
/external/cldr/tools/java/org/unicode/cldr/tool/ |
D | SubdivisionNames.java | 49 File baseDir = new File(CLDRPaths.COMMON_DIRECTORY + "subdivisions/"); in getAvailableLocales() local 50 for (String file : baseDir.list()) { in getAvailableLocales()
|