Home
last modified time | relevance | path

Searched refs:OptionDefinition (Results 1 – 25 of 72) sorted by relevance

123

/external/desugar/java/com/google/devtools/common/options/
DIsolatedOptionsData.java19 import com.google.devtools.common.options.OptionDefinition.NotAnOptionException;
56 private static final Map<Class<? extends OptionsBase>, ImmutableList<OptionDefinition>>
60 public static synchronized ImmutableList<OptionDefinition> getAllOptionDefinitionsForClass( in getAllOptionDefinitionsForClass()
69 return OptionDefinition.extractOptionDefinition(field); in getAllOptionDefinitionsForClass()
77 .sorted(OptionDefinition.BY_OPTION_NAME) in getAllOptionDefinitionsForClass()
92 private final ImmutableMap<String, OptionDefinition> nameToField;
100 private final ImmutableMap<String, OptionDefinition> oldNameToField;
103 private final ImmutableMap<Character, OptionDefinition> abbrevToField;
114 Map<String, OptionDefinition> nameToField,
115 Map<String, OptionDefinition> oldNameToField,
[all …]
DOptionsParser.java25 import com.google.devtools.common.options.OptionDefinition.NotAnOptionException;
239 private final OptionDefinition optionDefinition;
242 OptionDescription(OptionDefinition definition, OptionsData optionsData) { in OptionDescription()
247 public OptionDefinition getOptionDefinition() { in getOptionDefinition()
297 LinkedHashMap<OptionDocumentationCategory, List<OptionDefinition>> optionsByCategory = in describeOptions()
301 for (Map.Entry<OptionDocumentationCategory, List<OptionDefinition>> e : in describeOptions()
304 List<OptionDefinition> categorizedOptionList = e.getValue(); in describeOptions()
311 for (OptionDefinition optionDef : categorizedOptionList) { in describeOptions()
322 private LinkedHashMap<OptionDocumentationCategory, List<OptionDefinition>>
330 ListMultimap<OptionDocumentationCategory, OptionDefinition> optionsByCategories = in getOptionsSortedByCategory()
[all …]
DOptionDefinition.java32 public class OptionDefinition implements Comparable<OptionDefinition> { class
51 static OptionDefinition extractOptionDefinition(Field field) { in extractOptionDefinition()
56 return new OptionDefinition(field, annotation); in extractOptionDefinition()
64 private OptionDefinition(Field field, Option optionAnnotation) { in OptionDefinition() method in OptionDefinition
289 if (!(object instanceof OptionDefinition)) { in equals()
292 OptionDefinition otherOption = (OptionDefinition) object; in equals()
302 public int compareTo(OptionDefinition o) { in compareTo()
311 static final Comparator<OptionDefinition> BY_OPTION_NAME =
312 Comparator.comparing(OptionDefinition::getOptionName);
318 static final Comparator<OptionDefinition> BY_CATEGORY =
DOptionsData.java34 private final ImmutableMap<OptionDefinition, ImmutableList<String>> evaluatedExpansions;
38 IsolatedOptionsData base, Map<OptionDefinition, ImmutableList<String>> evaluatedExpansions) { in OptionsData() argument
50 public ImmutableList<String> getEvaluatedExpansion(OptionDefinition optionDefinition) { in getEvaluatedExpansion()
66 ImmutableMap.Builder<OptionDefinition, ImmutableList<String>> evaluatedExpansionsBuilder = in from()
68 for (Map.Entry<String, OptionDefinition> entry : isolatedData.getAllOptionDefinitions()) { in from()
69 OptionDefinition optionDefinition = entry.getValue(); in from()
DOptionsParserImpl.java61 private final Map<OptionDefinition, OptionValueDescription> optionValues = new HashMap<>();
155 for (Map.Entry<String, OptionDefinition> mapEntry : optionsData.getAllOptionDefinitions()) { in asListOfEffectiveOptions()
156 OptionDefinition optionDefinition = mapEntry.getValue(); in asListOfEffectiveOptions()
167 private void maybeAddDeprecationWarning(OptionDefinition optionDefinition) { in maybeAddDeprecationWarning()
182 OptionValueDescription clearValue(OptionDefinition optionDefinition) in clearValue()
188 OptionDefinition optionDefinition = optionsData.getOptionDefinitionFromName(name); in getOptionValueDescription()
196 OptionDefinition optionDefinition = optionsData.getOptionDefinitionFromName(name); in getOptionDescription()
208 OptionDefinition expansionFlagDef, OptionInstanceOrigin originOfExpansionFlag) in getExpansionValueDescriptions()
257 OptionDefinition optionDefinition = optionsData.getOptionDefinitionFromName(name); in containsExplicitOption()
273 Function<OptionDefinition, String> sourceFunction, in parse() argument
[all …]
DOptionValueDescription.java36 protected final OptionDefinition optionDefinition;
38 public OptionValueDescription(OptionDefinition optionDefinition) { in OptionValueDescription()
42 public OptionDefinition getOptionDefinition() { in getOptionDefinition()
94 OptionDefinition option, OptionsData optionsData) { in createOptionValueDescription()
110 public static OptionValueDescription getDefaultOptionValue(OptionDefinition option) { in getDefaultOptionValue()
116 private DefaultOptionValueDescription(OptionDefinition optionDefinition) { in DefaultOptionValueDescription()
151 private SingleOptionValueDescription(OptionDefinition optionDefinition) { in SingleOptionValueDescription()
263 private RepeatableOptionValueDescription(OptionDefinition optionDefinition) { in RepeatableOptionValueDescription()
341 OptionDefinition optionDefinition, OptionsData optionsData) { in ExpansionOptionValueDescription()
391 private OptionWithImplicitRequirementsValueDescription(OptionDefinition optionDefinition) { in OptionWithImplicitRequirementsValueDescription()
DOptionsUsage.java45 List<OptionDefinition> optionDefinitions = in getUsage()
47 optionDefinitions.sort(OptionDefinition.BY_OPTION_NAME); in getUsage()
48 for (OptionDefinition optionDefinition : optionDefinitions) { in getUsage()
90 OptionDefinition optionDefinition, OptionsData optionsData) { in getExpansionIfKnown()
108 OptionDefinition optionDefinition, in getUsage()
194 OptionDefinition optionDefinition, in getUsageHtml()
317 static void getCompletion(OptionDefinition optionDefinition, StringBuilder builder) { in getCompletion()
347 private static String getTypeDescription(OptionDefinition optionsDefinition) { in getTypeDescription()
351 static String getFlagName(OptionDefinition optionDefinition) { in getFlagName()
DParsedOptionDescription.java30 private final OptionDefinition optionDefinition;
36 OptionDefinition optionDefinition, in ParsedOptionDescription()
47 OptionDefinition optionDefinition, in newParsedOptionDescription()
65 OptionDefinition optionDefinition, OptionInstanceOrigin origin) { in newDummyInstance()
69 public OptionDefinition getOptionDefinition() { in getOptionDefinition()
DOptionsBase.java77 OptionDefinition optionDefinition = OptionDefinition.extractOptionDefinition(entry.getKey()); in asMap()
DInvocationPolicyEnforcer.java432 OptionDefinition subflag = subflagDesc.getOptionDefinition(); in getSetValueSubflagAsPolicy()
550 OptionDefinition optionDefinition = flagPolicy.description.getOptionDefinition(); in applySetValueOperation()
615 OptionsParser parser, String policyType, OptionDefinition option, Level loglevel) in applyUseDefaultOperation()
690 OptionDefinition optionDefinition = optionDescription.getOptionDefinition(); in apply()
762 OptionDefinition optionDefinition = optionDescription.getOptionDefinition(); in checkDefaultValue()
807 OptionDefinition option = optionDescription.getOptionDefinition(); in checkUserValue()
/external/llvm-project/lldb/include/lldb/Interpreter/
DOptionGroupFile.h29 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
30 return llvm::ArrayRef<OptionDefinition>(&m_option_definition, 1); in GetDefinitions()
45 OptionDefinition m_option_definition;
60 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
61 return llvm::ArrayRef<OptionDefinition>(&m_option_definition, 1); in GetDefinitions()
76 OptionDefinition m_option_definition;
DOptions.h86 const OptionDefinition &option_def,
97 virtual llvm::ArrayRef<OptionDefinition> GetDefinitions() { in GetDefinitions()
98 return llvm::ArrayRef<OptionDefinition>(); in GetDefinitions()
239 virtual llvm::ArrayRef<OptionDefinition> GetDefinitions() = 0;
305 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
319 std::vector<OptionDefinition> m_option_defs;
DOptionGroupBoolean.h30 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
31 return llvm::ArrayRef<OptionDefinition>(&m_option_definition, 1); in GetDefinitions()
46 OptionDefinition m_option_definition;
DOptionGroupString.h27 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
28 return llvm::ArrayRef<OptionDefinition>(&m_option_definition, 1); in GetDefinitions()
43 OptionDefinition m_option_definition;
DOptionGroupUInt64.h28 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
29 return llvm::ArrayRef<OptionDefinition>(&m_option_definition, 1); in GetDefinitions()
44 OptionDefinition m_option_definition;
DOptionGroupPythonClassWithDict.h34 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
35 return llvm::ArrayRef<OptionDefinition>(m_option_definition); in GetDefinitions()
58 OptionDefinition m_option_definition[4];
/external/llvm-project/lldb/include/lldb/Host/
DOptionParser.h22 struct OptionDefinition;
26 const OptionDefinition *definition;
/external/llvm-project/lldb/source/Interpreter/
DOptionGroupPlatform.cpp63 static constexpr OptionDefinition g_option_table[] = {
79 llvm::ArrayRef<OptionDefinition> OptionGroupPlatform::GetDefinitions() { in GetDefinitions()
80 llvm::ArrayRef<OptionDefinition> result(g_option_table); in GetDefinitions()
DOptionGroupUUID.cpp20 static constexpr OptionDefinition g_option_table[] = {
25 llvm::ArrayRef<OptionDefinition> OptionGroupUUID::GetDefinitions() { in GetDefinitions()
DOptionGroupOutputFile.cpp23 static constexpr OptionDefinition g_option_table[] = {
32 llvm::ArrayRef<OptionDefinition> OptionGroupOutputFile::GetDefinitions() { in GetDefinitions()
DOptionGroupArchitecture.cpp20 static constexpr OptionDefinition g_option_table[] = {
26 llvm::ArrayRef<OptionDefinition> OptionGroupArchitecture::GetDefinitions() { in GetDefinitions()
DOptionGroupWatchpoint.cpp59 static constexpr OptionDefinition g_option_table[] = {
117 llvm::ArrayRef<OptionDefinition> OptionGroupWatchpoint::GetDefinitions() { in GetDefinitions()
DOptionGroupVariable.cpp22 static constexpr OptionDefinition g_variable_options[] = {
133 llvm::ArrayRef<OptionDefinition> OptionGroupVariable::GetDefinitions() { in GetDefinitions()
DOptionGroupValueObjectDisplay.cpp26 static const OptionDefinition g_option_table[] = {
67 llvm::ArrayRef<OptionDefinition>
/external/llvm-project/lldb/source/Commands/
DCommandObjectTrace.cpp66 ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
166 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()
233 llvm::ArrayRef<OptionDefinition> GetDefinitions() override { in GetDefinitions()

123