Home
last modified time | relevance | path

Searched refs:baseDir (Results 1 – 25 of 43) sorted by relevance

12

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/input/
DDirectoryInputFileGenerator.java29 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/deqp/external/
Dfetch_sources.py47 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/
Dverify_kc_cts_rev.py42 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/proguard/src/proguard/
DWordReader.java40 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()
DLineWordReader.java42 File baseDir) throws IOException in LineWordReader() argument
44 super(baseDir); in LineWordReader()
DArgumentWordReader.java52 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/
DBasicOutputSourceFileGenerator.java29 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/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/
DMavenManifestFactory.java37 final FsFile baseDir = manifestFile.getParent(); in identify() local
38 final FsFile resDir = baseDir.join(config.resourceDir()); in identify()
39 final FsFile assetDir = baseDir.join(config.assetDir()); in identify()
48 FsFile libDir = baseDir.join(libraryDirName); in identify()
98 FsFile baseDir = resDirectory.getParent(); in findLibraries() local
99 final Properties properties = getProperties(baseDir.join("project.properties")); in findLibraries()
100 Properties overrideProperties = getProperties(baseDir.join("test-project.properties")); in findLibraries()
106 FsFile libraryDir = baseDir.join(lib); in findLibraries()
/external/proguard/src/proguard/ant/
DConfigurationElement.java45 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()
DClassPathElement.java63 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/
DClassPathsTest.java68 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/antlr-3.4/runtime/Python/tests/
Dtestbase.py67 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/
Dfixup-tests.py8 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/test/java/org/robolectric/
DManifestFactoryTest.java68 String baseDir = "./" + TestUtil.resourcesBaseDir().getPath();
70 baseDir + "/res",
71 baseDir + "/lib1/res",
72 baseDir + "/lib1/../lib3/res",
73 baseDir + "/lib1/../lib2/res");
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/internal/dependency/
DPropertiesDependencyResolver.java13 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/
Dskdiff_main.cpp379 const SkString& baseDir, in create_diff_images() argument
388 SkASSERT(!baseDir.isEmpty()); in create_diff_images()
394 get_file_list(baseDir, matchSubstrings, nomatchSubstrings, recurseIntoSubdirs, &baseFiles); in create_diff_images()
417 SkString basePath(baseDir); in create_diff_images()
526 drp->fBase.fFullPath = baseDir; in create_diff_images()
547 drp->fBase.fFullPath = baseDir; in create_diff_images()
620 SkString baseDir; in main() local
743 baseDir.set(argv[i]); in main()
774 if (!baseDir.endsWith(PATH_DIV_STR)) { in main()
775 baseDir.append(PATH_DIV_STR); in main()
[all …]
Dskdiff_html.cpp32 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()
Dskdiff_html.h17 const SkString& baseDir,
/external/skia/tools/skdiff/
Dskdiff_main.cpp379 const SkString& baseDir, in create_diff_images() argument
388 SkASSERT(!baseDir.isEmpty()); in create_diff_images()
394 get_file_list(baseDir, matchSubstrings, nomatchSubstrings, recurseIntoSubdirs, &baseFiles); in create_diff_images()
417 SkString basePath(baseDir); in create_diff_images()
526 drp->fBase.fFullPath = baseDir; in create_diff_images()
547 drp->fBase.fFullPath = baseDir; in create_diff_images()
620 SkString baseDir; in main() local
743 baseDir.set(argv[i]); in main()
774 if (!baseDir.endsWith(PATH_DIV_STR)) { in main()
775 baseDir.append(PATH_DIV_STR); in main()
[all …]
Dskdiff_html.cpp32 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()
Dskdiff_html.h17 const SkString& baseDir,
/external/deqp/scripts/
Dgen_android_mk.py98 baseDir = os.path.join(DEQP_DIR, srcRoot)
99 for root, dirs, files in os.walk(baseDir):
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/
DRobolectricConfig.java44 public RobolectricConfig(final File baseDir) { in RobolectricConfig() argument
45 …this(new File(baseDir, "AndroidManifest.xml"), new File(baseDir, "res"), new File(baseDir, "assets… in RobolectricConfig()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/util/
DTestUtil.java26 String baseDir = System.getProperty("robolectric-tests.base-dir"); in resourcesBaseDirFile() local
27 return testDirLocation = new File(baseDir, "src/test/resources"); in resourcesBaseDirFile()
/external/caliper/caliper/src/test/java/com/google/caliper/options/
DParsedOptionsTest.java58 private static void makeTestVmTree(File baseDir) throws IOException { in makeTestVmTree() argument
59 File bin = new File(baseDir, "testVm/bin"); in makeTestVmTree()

12