Home
last modified time | relevance | path

Searched refs:sourceDirectory (Results 1 – 15 of 15) sorted by relevance

/external/antlr/antlr3-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DAntlr3Mojo.java199 private File sourceDirectory; field in Antlr3Mojo
220 return sourceDirectory; in getSourceDirectory()
346 if (!sourceDirectory.exists()) { in execute()
348 log.info("No ANTLR grammars to compile in " + sourceDirectory.getAbsolutePath()); in execute()
353 log.info("ANTLR: Processing source directory " + sourceDirectory.getAbsolutePath()); in execute()
359 tool.setInputDirectory(sourceDirectory.getAbsolutePath()); in execute()
365 processGrammarFiles(sourceDirectory, outputDirectory); in execute()
409 private void processGrammarFiles(File sourceDirectory, File outputDirectory) in processGrammarFiles() argument
428 Set<File> grammarFiles = scan.getIncludedSources(sourceDirectory, null); in processGrammarFiles()
450 … String relPath = findSourceSubdir(sourceDirectory, grammar.getPath()) + grammar.getName(); in processGrammarFiles()
[all …]
/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleFactory.java315 public static Factory make(String sourceDirectory, String matchString) { in make() argument
316 return make(sourceDirectory, matchString, DraftStatus.unconfirmed); in make()
319 …public static Factory make(String sourceDirectory, String matchString, DraftStatus minimalDraftSta… in make() argument
320 File list[] = { new File(sourceDirectory) }; in make()
360 public static Factory make(File sourceDirectory[], String matchString) { in make() argument
361 return make(sourceDirectory, matchString, DraftStatus.unconfirmed); in make()
372 …public static Factory make(File sourceDirectory[], String matchString, DraftStatus minimalDraftSta… in make() argument
374 return new SimpleFactory(sourceDirectory, matchString, minimalDraftStatus); in make()
380 for (int i = 0; i < sourceDirectory.length; i++) { in make()
381 String cur = sourceDirectory[i].getAbsolutePath(); in make()
[all …]
DCldrUtility.java1248 public static String checkValidDirectory(String sourceDirectory) { in checkValidDirectory() argument
1249 return checkValidFile(sourceDirectory, true, null); in checkValidDirectory()
1252 public static String checkValidDirectory(String sourceDirectory, String correction) { in checkValidDirectory() argument
1253 return checkValidFile(sourceDirectory, true, correction); in checkValidDirectory()
1256 …public static String checkValidFile(String sourceDirectory, boolean checkForDirectory, String corr… in checkValidFile() argument
1260 file = new File(sourceDirectory); in checkValidFile()
1265 throw new RuntimeException("Directory not found: " + sourceDirectory in checkValidFile()
/external/cldr/tools/java/org/unicode/cldr/tool/
DXMLModify.java24 sourceDirectory(new Params() enumConstant
64 File sourceDirectory = new File(MyOptions.sourceDirectory.option.getValue()); in main() local
70 for (String file : sourceDirectory.list()) { in main()
78 sourceDirectory.toString() + "/" + file, data, true, true)) { in main()
DRegexModify.java26 .setHelp("verbose debugging messages")), sourceDirectory(new Params() enumConstant
63 File sourceDirectory = new File(MyOptions.sourceDirectory.option.getValue()); in main() local
69 for (String file : sourceDirectory.list()) { in main()
74 BufferedReader in = FileUtilities.openUTF8Reader(sourceDirectory.toString(), file); in main()
DPivotData.java89 private String sourceDirectory; field in PivotData
91 PivotData(Factory factory, String sourceDirectory, String targetDirectory) { in PivotData() argument
93 this.sourceDirectory = sourceDirectory; in PivotData()
261 …ToolUtilities.generateBat(sourceDirectory, id + ".xml", outputDirectory, id + ".xml", lineComparer… in writeFile()
DCheckHtmlFiles.java670 File sourceDirectory = new File(base); in getSentences() local
671 if (!sourceDirectory.exists()) { in getSentences()
672 throw new IllegalArgumentException("Can't find " + sourceDirectory); in getSentences()
674 String canonicalBase = sourceDirectory.getCanonicalPath(); in getSentences()
681 return getSentences(sourceDirectory, m); in getSentences()
684 public Data getSentences(File sourceDirectory, Matcher m) throws IOException { in getSentences() argument
686 for (File file : sourceDirectory.listFiles()) { in getSentences()
696 + "\t" + sourceDirectory); in getSentences()
701 … System.out.println("\nProcessing:\t" + sourceDirectory + File.separator + fileString); in getSentences()
DVettingAdder.java50 public VettingAdder(String sourceDirectory) throws IOException { in VettingAdder() argument
51 addFiles(sourceDirectory); in VettingAdder()
54 private void addFiles(String sourceDirectory) throws IOException { in addFiles() argument
55 File f = new File(sourceDirectory); in addFiles()
DSearchXml.java89 String sourceDirectory = myOptions.get("source").getValue(); in main() local
90 if (sourceDirectory == null) { in main()
133 File src = new File(sourceDirectory); in main()
135 System.err.println("#" + sourceDirectory + " must be a directory"); in main()
DSearchCLDR.java94 String sourceDirectory = myOptions.get("source").getValue(); in main() local
121 Factory cldrFactory = Factory.make(sourceDirectory, fileMatcher); in main()
DExtractMessages.java51 String sourceDirectory = getProperty("SOURCE", null); in main() local
52 if (sourceDirectory == null) { in main()
62 File src = new File(sourceDirectory); in main()
DShowKeyboards.java76 ….*", "Filter the information based on id, using a regex argument."), sourceDirectory(".+", CLDRPat… enumConstant
/external/jacoco/org.jacoco.examples/src/org/jacoco/examples/
DReportGenerator.java40 private final File sourceDirectory; field in ReportGenerator
54 this.sourceDirectory = new File(projectDirectory, "src"); in ReportGenerator()
99 sourceDirectory, "utf-8", 4)); in createReport()
/external/antlr/gunit-maven-plugin/src/main/java/org/antlr/mojo/antlr3/
DGUnitExecuteMojo.java80 private File sourceDirectory; field in GUnitExecuteMojo
353 return scan.getIncludedSources( sourceDirectory, null ); in collectIncludedSourceGrammars()
/external/cldr/tools/java/org/unicode/cldr/test/
DCasingInfo.java123 String sourceDirectory = CldrUtility.checkValidDirectory(CLDRPaths.MAIN_DIRECTORY); in generateCasingInformation() local
124 Factory cldrFactory = Factory.make(sourceDirectory, localePattern); in generateCasingInformation()