Home
last modified time | relevance | path

Searched refs:optionName (Results 1 – 25 of 34) sorted by relevance

12

/external/desugar/java/com/google/devtools/common/options/
DIsolatedOptionsData.java177 Map<A, OptionDefinition> aFieldMap, A optionName, String description)
179 if (aFieldMap.containsKey(optionName)) {
181 "Duplicate option name, due to " + description + ": --" + optionName);
190 Map<String, String> booleanAliasMap, String optionName, String description)
192 if (booleanAliasMap.containsKey(optionName)) {
197 + optionName
199 + booleanAliasMap.get(optionName));
212 String optionName)
215 checkForCollisions(nameToFieldMap, "no" + optionName, "boolean option alias");
216 checkForCollisions(oldNameToFieldMap, "no" + optionName, "boolean option alias");
[all …]
/external/proguard/src/proguard/
DConfigurationWriter.java187 String optionName = entry.isOutput() ? in writeJarOptions() local
191 writer.print(optionName); in writeJarOptions()
242 private void writeOption(String optionName, boolean flag) in writeOption() argument
246 writer.println(optionName); in writeOption()
251 private void writeOption(String optionName, int argument) in writeOption() argument
255 writer.print(optionName); in writeOption()
262 private void writeOption(String optionName, List arguments) in writeOption() argument
264 writeOption(optionName, arguments, false); in writeOption()
268 private void writeOption(String optionName, in writeOption() argument
276 writer.println(optionName); in writeOption()
[all …]
/external/jcommander/src/main/java/com/beust/jcommander/defaultprovider/
DPropertyFileDefaultProvider.java61 public String getDefaultValueFor(String optionName) { in getDefaultValueFor() argument
63 while (index < optionName.length() && ! Character.isLetterOrDigit(optionName.charAt(index))) { in getDefaultValueFor()
66 String key = optionName.substring(index); in getDefaultValueFor()
/external/caliper/caliper/src/main/java/com/google/caliper/options/
DCommandLineParser.java214 for (String optionName : option.value()) { in forClass()
215 builder.put(optionName, injectable); in forClass()
235 for (String optionName : option.value()) { in forClass()
236 builder.put(optionName, injectable); in forClass()
253 InjectableOption getInjectableOption(String optionName) throws InvalidCommandException { in getInjectableOption() argument
254 InjectableOption injectable = optionMap.get(optionName); in getInjectableOption()
256 throw new InvalidCommandException("Invalid option: %s", optionName); in getInjectableOption()
DParsedOptions.java77 private void dryRunIncompatible(String optionName) throws InvalidCommandException { in dryRunIncompatible() argument
80 throw new InvalidCommandException("Option not available in dry-run mode: " + optionName); in dryRunIncompatible()
/external/jcommander/src/main/java/com/beust/jcommander/converters/
DLongConverter.java30 public LongConverter(String optionName) { in LongConverter() argument
31 super(optionName); in LongConverter()
DDoubleConverter.java30 public DoubleConverter(String optionName) { in DoubleConverter() argument
31 super(optionName); in DoubleConverter()
DFloatConverter.java30 public FloatConverter(String optionName) { in FloatConverter() argument
31 super(optionName); in FloatConverter()
DIntegerConverter.java30 public IntegerConverter(String optionName) { in IntegerConverter() argument
31 super(optionName); in IntegerConverter()
DBigDecimalConverter.java32 public BigDecimalConverter(String optionName) { in BigDecimalConverter() argument
33 super(optionName); in BigDecimalConverter()
DBooleanConverter.java30 public BooleanConverter(String optionName) { in BooleanConverter() argument
31 super(optionName); in BooleanConverter()
DBaseConverter.java32 public BaseConverter(String optionName) { in BaseConverter() argument
33 m_optionName = optionName; in BaseConverter()
DURLConverter.java33 public URLConverter(String optionName) { in URLConverter() argument
34 super(optionName); in URLConverter()
DURIConverter.java33 public URIConverter(String optionName) { in URIConverter() argument
34 super(optionName); in URIConverter()
DISO8601DateConverter.java37 public ISO8601DateConverter(String optionName) { in ISO8601DateConverter() argument
38 super(optionName); in ISO8601DateConverter()
/external/jcommander/src/main/java/com/beust/jcommander/
DJCommander.java664 for (String optionName : pd.getParameter().names()) { in initializeDefaultValue()
665 String def = m_defaultProvider.getDefaultValueFor(optionName); in initializeDefaultValue()
667 p("Initializing " + optionName + " with default value:" + def); in initializeDefaultValue()
812 public int processVariableArity(String optionName, String[] options) { in processVariableArity() argument
1272 String optionName = names.length > 0 ? names[0] : "[Main class]"; in convertValue() local
1280 … throw new ParameterException("Invalid value for " + optionName + " parameter. Allowed values:" + in convertValue()
1284 … throw new ParameterException("Invalid value for " + optionName + " parameter. Allowed values:" + in convertValue()
1288 converter = instantiateConverter(optionName, converterClass); in convertValue()
1297 instantiateConverter(optionName, annotation.listConverter()); in convertValue()
1334 private IStringConverter<?> instantiateConverter(String optionName, in instantiateConverter() argument
[all …]
DIDefaultProvider.java34 String getDefaultValueFor(String optionName); in getDefaultValueFor() argument
DIVariableArity.java15 int processVariableArity(String optionName, String[] options); in processVariableArity() argument
/external/caliper/caliper/src/main/java/com/google/caliper/model/
DVmSpec.java104 public Builder addOption(String optionName, String value) { in addOption() argument
105 this.options.put(optionName, value); in addOption()
/external/jcommander/src/test/java/com/beust/jcommander/
DDefaultProviderTest.java30 public String getDefaultValueFor(String optionName) {
31 return "-debug".equals(optionName) ? "false" : "42";
/external/gptfdisk/
Dgptcurses.cc598 string optionName, optionDesc = ""; in DisplayOptions() local
616 optionName = ""; in DisplayOptions()
619 optionName = menuMain[j].name; in DisplayOptions()
627 printw("[ %s ]", optionName.c_str()); in DisplayOptions()
630 printw("[ %s ]", optionName.c_str()); in DisplayOptions()
/external/antlr/tool/src/main/java/org/antlr/tool/
DGrammarAST.java247 for (String optionName : keys) { in setOptions()
248 String stored= setBlockOption(grammar, optionName, options.get(optionName)); in setOptions()
250 options.remove(optionName); in setOptions()
DRule.java559 String optionName = it.next(); in setOptions() local
560 Object optionValue = options.get(optionName); in setOptions()
561 String stored=setOption(optionName, optionValue, optionsStartToken); in setOptions()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DVariableArity.java23 public int processVariableArity(String optionName, String[] options) { in processVariableArity() argument
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java429 String optionName = annotation.name(); in checkOptionName() local
430 if (optionName.isEmpty()) { in checkOptionName()
437 if (!Pattern.matches("([\\w:-])*", optionName)) { in checkOptionName()

12