/external/desugar/java/com/google/devtools/common/options/ |
D | IsolatedOptionsData.java | 177 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/ |
D | ConfigurationWriter.java | 187 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/ |
D | BaseConverter.java | 30 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()
|
D | EnumConverter.java | 15 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()
|
D | DoubleConverter.java | 30 public DoubleConverter(String optionName) { in DoubleConverter() argument 31 super(optionName); in DoubleConverter()
|
D | FloatConverter.java | 30 public FloatConverter(String optionName) { in FloatConverter() argument 31 super(optionName); in FloatConverter()
|
D | IntegerConverter.java | 30 public IntegerConverter(String optionName) { in IntegerConverter() argument 31 super(optionName); in IntegerConverter()
|
D | LongConverter.java | 30 public LongConverter(String optionName) { in LongConverter() argument 31 super(optionName); in LongConverter()
|
D | BigDecimalConverter.java | 32 public BigDecimalConverter(String optionName) { in BigDecimalConverter() argument 33 super(optionName); in BigDecimalConverter()
|
D | BooleanConverter.java | 30 public BooleanConverter(String optionName) { in BooleanConverter() argument 31 super(optionName); in BooleanConverter()
|
D | URIConverter.java | 33 public URIConverter(String optionName) { in URIConverter() argument 34 super(optionName); in URIConverter()
|
D | URLConverter.java | 33 public URLConverter(String optionName) { in URLConverter() argument 34 super(optionName); in URLConverter()
|
D | ISO8601DateConverter.java | 37 public ISO8601DateConverter(String optionName) { in ISO8601DateConverter() argument 38 super(optionName); in ISO8601DateConverter()
|
/external/jcommander/src/main/java/com/beust/jcommander/defaultprovider/ |
D | PropertyFileDefaultProvider.java | 61 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/ |
D | DefaultProviderTest.java | 30 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/ |
D | CommandLineParser.java | 214 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/ |
D | JCommander.java | 616 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() 1349 … optionName = 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 …]
|
D | IDefaultProvider.java | 34 String getDefaultValueFor(String optionName); in getDefaultValueFor() argument
|
D | IVariableArity.java | 15 int processVariableArity(String optionName, String[] options); in processVariableArity() argument
|
D | IStringConverterInstanceFactory.java | 19 …IStringConverter<?> getConverterInstance(Parameter parameter, Class<?> forType, String optionName); in getConverterInstance() argument
|
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
D | VmSpec.java | 104 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/ |
D | GrammarAST.java | 247 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/ |
D | gptcurses.cc | 600 string optionName, optionDesc = ""; in DisplayOptions() local 618 optionName = ""; in DisplayOptions() 621 optionName = menuMain[j].name; in DisplayOptions() 629 printw("[ %s ]", optionName.c_str()); in DisplayOptions() 632 printw("[ %s ]", optionName.c_str()); in DisplayOptions()
|
/external/jcommander/src/test/java/com/beust/jcommander/args/ |
D | VariableArity.java | 23 public int processVariableArity(String optionName, String[] options) { in processVariableArity() argument
|
/external/desugar/java/com/google/devtools/common/options/processor/ |
D | OptionProcessor.java | 429 String optionName = annotation.name(); in checkOptionName() local 430 if (optionName.isEmpty()) { in checkOptionName() 437 if (!Pattern.matches("([\\w:-])*", optionName)) { in checkOptionName()
|