Home
last modified time | relevance | path

Searched refs:OptionsParser (Results 1 – 17 of 17) sorted by relevance

/external/desugar/java/com/google/devtools/common/options/
DOptions.java17 import com.google.devtools.common.options.OptionsParser.ConstructionException;
53 OptionsParser parser = OptionsParser.newOptionsParser(optionsClass); in parse()
66 OptionsParser parser = null; in parseAndExitUponError()
68 parser = OptionsParser.newOptionsParser(optionsClass); in parseAndExitUponError()
DInvocationPolicyEnforcer.java30 import com.google.devtools.common.options.OptionsParser.OptionDescription;
103 public void enforce(OptionsParser parser) throws OptionsParsingException { in enforce()
116 public void enforce(OptionsParser parser, @Nullable String command) in enforce()
217 InvocationPolicy invocationPolicy, OptionsParser parser, String command, Level loglevel) in getEffectiveInvocationPolicy()
235 InvocationPolicy invocationPolicy, OptionsParser parser, String command, Level loglevel) in getEffectivePolicies()
318 FlagPolicyWithContext originalPolicy, OptionsParser parser, Level loglevel) in expandPolicy()
544 OptionsParser parser, in applySetValueOperation()
615 OptionsParser parser, String policyType, OptionDefinition option, Level loglevel) in applyUseDefaultOperation()
682 OptionsParser parser, in apply()
754 OptionsParser parser, in checkDefaultValue()
[all …]
DOptionsUsage.java44 OptionsData data = OptionsParser.getOptionsDataInternal(optionsClass); in getUsage()
49 getUsage(optionDefinition, usage, OptionsParser.HelpVerbosity.LONG, data, false); in getUsage()
110 OptionsParser.HelpVerbosity helpVerbosity, in getUsage()
116 if (helpVerbosity == OptionsParser.HelpVerbosity.SHORT) { in getUsage()
141 if (helpVerbosity == OptionsParser.HelpVerbosity.MEDIUM) { in getUsage()
DOptionsParser.java69 public class OptionsParser implements OptionsProvider { class
149 public static OptionsParser newOptionsParser(Class<? extends OptionsBase> class1) in newOptionsParser()
155 public static OptionsParser newOptionsParser( in newOptionsParser()
162 public static OptionsParser newOptionsParser( in newOptionsParser()
172 public static OptionsParser newOptionsParser(OpaqueOptionsData optionsData) { in newOptionsParser()
173 return new OptionsParser((OptionsData) optionsData); in newOptionsParser()
180 OptionsParser(OptionsData optionsData) { in OptionsParser() method in OptionsParser
731 OptionsData data = OptionsParser.getOptionsDataInternal(optionsClass); in getUsesOnlyCoreTypes()
DOptionsBase.java76 for (Map.Entry<Field, Object> entry : OptionsParser.toMap(castClass, castThis).entrySet()) { in asMap()
DConverters.java507 public static class HelpVerbosityConverter extends EnumConverter<OptionsParser.HelpVerbosity> {
509 super(OptionsParser.HelpVerbosity.class, "--help_verbosity setting"); in HelpVerbosityConverter()
DOptionDefinition.java17 import com.google.devtools.common.options.OptionsParser.ConstructionException;
DIsolatedOptionsData.java20 import com.google.devtools.common.options.OptionsParser.ConstructionException;
DOptionValueDescription.java21 import com.google.devtools.common.options.OptionsParser.ConstructionException;
DOptionsParserImpl.java26 import com.google.devtools.common.options.OptionsParser.OptionDescription;
/external/clang/tools/clang-check/
DClangCheck.cpp161 CommonOptionsParser OptionsParser(argc, argv, ClangCheckCategory); in main() local
162 ClangTool Tool(OptionsParser.getCompilations(), in main()
163 OptionsParser.getSourcePathList()); in main()
/external/syzkaller/tools/syz-declextract/
Dsyz-declextract.cpp275 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory); in main() local
276 ClangTool Tool(OptionsParser.getCompilations(), in main()
277 OptionsParser.getSourcePathList()); in main()
/external/clang/docs/
DLibTooling.rst74 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
76 // Use OptionsParser.getCompilations() and OptionsParser.getSourcePathList()
96 ClangTool Tool(OptionsParser.getCompilations(), Sources);
136 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
137 ClangTool Tool(OptionsParser.getCompilations(),
138 OptionsParser.getSourcePathList());
DLibASTMatchersTutorial.rst152 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
153 ClangTool Tool(OptionsParser.getCompilations(),
154 OptionsParser.getSourcePathList());
293 CommonOptionsParser OptionsParser(argc, argv, MyToolCategory);
294 ClangTool Tool(OptionsParser.getCompilations(),
295 OptionsParser.getSourcePathList());
/external/desugar/java/com/google/devtools/build/android/desugar/scan/
DKeepScanner.java37 import com.google.devtools.common.options.OptionsParser;
116 OptionsParser parser = OptionsParser.newOptionsParser(KeepScannerOptions.class); in main()
/external/desugar/java/com/google/devtools/build/android/desugar/
DDesugar.java41 import com.google.devtools.common.options.OptionsParser;
915 OptionsParser parser = OptionsParser.newOptionsParser(DesugarOptions.class); in parseCommandLineOptions()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java26 import com.google.devtools.common.options.OptionsParser;