Home
last modified time | relevance | path

Searched refs:sourceDirectory (Results 1 – 17 of 17) 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.java321 public static Factory make(String sourceDirectory, String matchString) { in make() argument
322 return make(sourceDirectory, matchString, DraftStatus.unconfirmed); in make()
325 …public static Factory make(String sourceDirectory, String matchString, DraftStatus minimalDraftSta… in make() argument
326 File list[] = { new File(sourceDirectory) }; in make()
366 public static Factory make(File sourceDirectory[], String matchString) { in make() argument
367 return make(sourceDirectory, matchString, DraftStatus.unconfirmed); in make()
378 …public static Factory make(File sourceDirectory[], String matchString, DraftStatus minimalDraftSta… in make() argument
380 sourceDirectory = filterOutNulls(sourceDirectory); in make()
382 return new SimpleFactory(sourceDirectory, matchString, minimalDraftStatus); in make()
388 for (int i = 0; i < sourceDirectory.length; i++) { in make()
[all …]
DCldrUtility.java1268 public static String checkValidDirectory(String sourceDirectory) { in checkValidDirectory() argument
1269 return checkValidFile(sourceDirectory, true, null); in checkValidDirectory()
1272 public static String checkValidDirectory(String sourceDirectory, String correction) { in checkValidDirectory() argument
1273 return checkValidFile(sourceDirectory, true, correction); in checkValidDirectory()
1276 …public static String checkValidFile(String sourceDirectory, boolean checkForDirectory, String corr… in checkValidFile() argument
1280 file = new File(sourceDirectory); in checkValidFile()
1285 throw new RuntimeException("Directory not found: " + sourceDirectory in checkValidFile()
/external/cldr/tools/java/org/unicode/cldr/tool/
DXMLModify.java24 sourceDirectory(new Params() enumConstant
68 File sourceDirectory = new File(MyOptions.sourceDirectory.option.getValue()); in main() local
73 for (String file : sourceDirectory.list()) { in main()
81 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.java88 private String sourceDirectory; field in PivotData
90 PivotData(Factory factory, String sourceDirectory, String targetDirectory) { in PivotData() argument
92 this.sourceDirectory = sourceDirectory; in PivotData()
260 …ToolUtilities.generateBat(sourceDirectory, id + ".xml", outputDirectory, id + ".xml", lineComparer… in writeFile()
DCheckHtmlFiles.java671 File sourceDirectory = new File(base); in getSentences() local
672 if (!sourceDirectory.exists()) { in getSentences()
673 throw new IllegalArgumentException("Can't find " + sourceDirectory); in getSentences()
675 String canonicalBase = PathUtilities.getNormalizedPathString(sourceDirectory); in getSentences()
682 return getSentences(sourceDirectory, m); in getSentences()
685 public Data getSentences(File sourceDirectory, Matcher m) throws IOException { in getSentences() argument
687 for (File file : sourceDirectory.listFiles()) { in getSentences()
697 + "\t" + sourceDirectory); in getSentences()
702 … System.out.println("\nProcessing:\t" + sourceDirectory + File.separator + fileString); in getSentences()
DVettingAdder.java51 public VettingAdder(String sourceDirectory) throws IOException { in VettingAdder() argument
52 addFiles(sourceDirectory); in VettingAdder()
55 private void addFiles(String sourceDirectory) throws IOException { in addFiles() argument
56 File f = new File(sourceDirectory); in addFiles()
DSearchXml.java91 String sourceDirectory = myOptions.get("source").getValue(); in main() local
92 if (sourceDirectory == null) { in main()
135 File src = new File(sourceDirectory); in main()
137 System.err.println("#" + sourceDirectory + " must be a directory"); in main()
DCLDRFileTransformer.java270 final String sourceDirectory = CLDRPaths.COMMON_DIRECTORY + dir + "/"; in main() local
271 Factory factory = Factory.make(sourceDirectory, ".*"); in main()
DExtractMessages.java52 String sourceDirectory = getProperty("SOURCE", null); in main() local
53 if (sourceDirectory == null) { in main()
63 File src = new File(sourceDirectory); in main()
DSearchCLDR.java113 String sourceDirectory = myOptions.get("source").getValue(); in main() local
144 new File(sourceDirectory) }; in main()
DGenerateProductionData.java66 sourceDirectory(new Params() enumConstant
130 SOURCE_COMMON_DIR = MyOptions.sourceDirectory.option.getValue(); 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/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()
/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()