Home
last modified time | relevance | path

Searched refs:optionName (Results 1 – 25 of 42) 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/converters/
DBaseConverter.java30 private String optionName; field in BaseConverter
32 public BaseConverter(String optionName) { in BaseConverter() argument
33 this.optionName = optionName; in BaseConverter()
37 return optionName; in getOptionName()
DEnumConverter.java15 private final String optionName; field in EnumConverter
23 public EnumConverter(String optionName, Class<T> clazz) { in EnumConverter() argument
24 this.optionName = optionName; in EnumConverter()
37 … throw new ParameterException("Invalid value for " + optionName + " parameter. Allowed values:" + in convert()
DIntegerConverter.java30 public IntegerConverter(String optionName) { in IntegerConverter() argument
31 super(optionName); in IntegerConverter()
DDoubleConverter.java30 public DoubleConverter(String optionName) { in DoubleConverter() argument
31 super(optionName); in DoubleConverter()
DLongConverter.java30 public LongConverter(String optionName) { in LongConverter() argument
31 super(optionName); in LongConverter()
DFloatConverter.java30 public FloatConverter(String optionName) { in FloatConverter() argument
31 super(optionName); in FloatConverter()
DBooleanConverter.java30 public BooleanConverter(String optionName) { in BooleanConverter() argument
31 super(optionName); in BooleanConverter()
DBigDecimalConverter.java32 public BigDecimalConverter(String optionName) { in BigDecimalConverter() argument
33 super(optionName); in BigDecimalConverter()
DURIConverter.java33 public URIConverter(String optionName) { in URIConverter() argument
34 super(optionName); in URIConverter()
DURLConverter.java33 public URLConverter(String optionName) { in URLConverter() argument
34 super(optionName); in URLConverter()
DISO8601DateConverter.java37 public ISO8601DateConverter(String optionName) { in ISO8601DateConverter() argument
38 super(optionName); in ISO8601DateConverter()
/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/jcommander/src/test/java/com/beust/jcommander/
DDefaultProviderTest.java30 public String getDefaultValueFor(String optionName) {
31 return "-debug".equals(optionName) ? "false" : "42";
128 public String getDefaultValueFor(String optionName) { in missingRequiredParameterWithDefaultValueProviderShouldNotRaiseParameterException()
129 return "-log".equals(optionName) ? "1" : ""; in missingRequiredParameterWithDefaultValueProviderShouldNotRaiseParameterException()
/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()
/external/jcommander/src/main/java/com/beust/jcommander/
DJCommander.java616 for (String optionName : pd.getParameter().names()) { in initializeDefaultValue()
617 String def = options.defaultProvider.getDefaultValueFor(optionName); in initializeDefaultValue()
619 p("Initializing " + optionName + " with default value:" + def); in initializeDefaultValue()
760 public int processVariableArity(String optionName, String[] options) { in processVariableArity() argument
1345 …StringConverter<?> getConverterInstance(Parameter parameter, Class<?> forType, String optionName) { in addConverterFactory()
1348 if(optionName == null) { in addConverterFactory()
1349optionName = parameter.names().length > 0 ? parameter.names()[0] : "[Main class]"; in addConverterFactory()
1351 … return converterClass != null ? instantiateConverter(optionName, converterClass) : null; in addConverterFactory()
1367 …tringConverter<?> findConverterInstance(Parameter parameter, Class<?> forType, String optionName) { in findConverterInstance() argument
1369 IStringConverter<?> result = f.getConverterInstance(parameter, forType, optionName); in findConverterInstance()
[all …]
DIDefaultProvider.java34 String getDefaultValueFor(String optionName); in getDefaultValueFor() argument
DIVariableArity.java15 int processVariableArity(String optionName, String[] options); in processVariableArity() argument
DIStringConverterInstanceFactory.java19 …IStringConverter<?> getConverterInstance(Parameter parameter, Class<?> forType, String optionName); in getConverterInstance() 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/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()
/external/gptfdisk/
Dgptcurses.cc613 string optionName, optionDesc = ""; in DisplayOptions() local
631 optionName = ""; in DisplayOptions()
634 optionName = menuMain[j].name; in DisplayOptions()
642 printw("[ %s ]", optionName.c_str()); in DisplayOptions()
645 printw("[ %s ]", optionName.c_str()); in DisplayOptions()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DVariableArity.java23 public int processVariableArity(String optionName, String[] options) { in processVariableArity() argument
/external/armnn/tests/ExecuteNetwork/
DExecuteNetworkProgramOptions.cpp99 optionType GetOptionValue(std::string&& optionName, const cxxopts::ParseResult& result) in GetOptionValue() argument
102 if(result.count(optionName)) in GetOptionValue()
104 out = result[optionName].as<optionType>(); in GetOptionValue()

12