Home
last modified time | relevance | path

Searched refs:CommandLineOptions (Results 1 – 25 of 74) sorted by relevance

123

/aosp_15_r20/frameworks/base/cmds/idmap2/tests/
H A DCommandLineOptionsTests.cpp43 CommandLineOptions opts = in TEST()
44 CommandLineOptions("test").OptionalFlag("--foo", "", &foo).OptionalFlag("--bar", "", &bar); in TEST()
61 CommandLineOptions opts = CommandLineOptions("test") in TEST()
75 CommandLineOptions opts = CommandLineOptions("test").MandatoryOption("--foo", "", &foo); in TEST()
83 CommandLineOptions opts = CommandLineOptions("test").MandatoryOption("--foo", "", &args); in TEST()
94 CommandLineOptions opts = CommandLineOptions("test") in TEST()
119 CommandLineOptions opts = CommandLineOptions("test") in TEST()
168 CommandLineOptions opts = CommandLineOptions("test") in TEST()
191 std::unique_ptr<std::vector<std::string>> v = CommandLineOptions::ConvertArgvToVector(3, argv); in TEST()
202 std::unique_ptr<std::vector<std::string>> v = CommandLineOptions::ConvertArgvToVector(1, argv); in TEST()
[all …]
/aosp_15_r20/frameworks/base/cmds/idmap2/libidmap2/
H A DCommandLineOptions.cpp35 std::unique_ptr<std::vector<std::string>> CommandLineOptions::ConvertArgvToVector( in ConvertArgvToVector()
40 CommandLineOptions& CommandLineOptions::OptionalFlag(const std::string& name, in OptionalFlag()
48 CommandLineOptions& CommandLineOptions::MandatoryOption(const std::string& name, in MandatoryOption()
57 CommandLineOptions& CommandLineOptions::MandatoryOption(const std::string& name, in MandatoryOption()
66 CommandLineOptions& CommandLineOptions::OptionalOption(const std::string& name, in OptionalOption()
75 CommandLineOptions& CommandLineOptions::OptionalOption(const std::string& name, in OptionalOption()
84 Result<Unit> CommandLineOptions::Parse(const std::vector<std::string>& argv) const { in Parse()
142 void CommandLineOptions::Usage(std::ostream& out) const { in Usage()
/aosp_15_r20/frameworks/base/cmds/idmap2/include/idmap2/
H A DCommandLineOptions.h34 class CommandLineOptions {
38 explicit CommandLineOptions(const std::string& name) : name_(name) { in CommandLineOptions() function
41 CommandLineOptions& OptionalFlag(const std::string& name, const std::string& description,
43 CommandLineOptions& MandatoryOption(const std::string& name, const std::string& description,
45 CommandLineOptions& MandatoryOption(const std::string& name, const std::string& description,
47 CommandLineOptions& OptionalOption(const std::string& name, const std::string& description,
49 CommandLineOptions& OptionalOption(const std::string& name, const std::string& description,
/aosp_15_r20/external/flac/src/metaflac/
H A Doperations.c38 static FLAC__bool do_major_operation(const CommandLineOptions *options);
39 static FLAC__bool do_major_operation_on_file(const char *filename, const CommandLineOptions *option…
40 …ration__list(const char *filename, FLAC__Metadata_Chain *chain, const CommandLineOptions *options);
41 static FLAC__bool do_major_operation__append(FLAC__Metadata_Chain *chain, const CommandLineOptions
42 static FLAC__bool do_major_operation__remove(FLAC__Metadata_Chain *chain, const CommandLineOptions
43 …ool do_major_operation__remove_all(FLAC__Metadata_Chain *chain, const CommandLineOptions *options);
44 static FLAC__bool do_shorthand_operations(const CommandLineOptions *options);
45 static FLAC__bool do_shorthand_operations_on_file(const char *filename, const CommandLineOptions *o…
50 static FLAC__bool passes_filter(const CommandLineOptions *options, const FLAC__StreamMetadata *bloc…
70 FLAC__bool do_operations(const CommandLineOptions *options) in do_operations()
[all …]
H A Doptions.c106 static FLAC__bool parse_option(int option_index, const char *option_argument, CommandLineOptions *o…
107 static void append_new_operation(CommandLineOptions *options, Operation operation);
108 static void append_new_argument(CommandLineOptions *options, Argument argument);
109 static Operation *append_major_operation(CommandLineOptions *options, OperationType type);
110 static Operation *append_shorthand_operation(CommandLineOptions *options, OperationType type);
111 static Argument *find_argument(CommandLineOptions *options, ArgumentType type);
112 static Operation *find_shorthand_operation(CommandLineOptions *options, OperationType type);
113 static Argument *append_argument(CommandLineOptions *options, ArgumentType type);
129 void init_options(CommandLineOptions *options) in init_options()
163 FLAC__bool parse_options(int argc, char *argv[], CommandLineOptions *options) in parse_options()
[all …]
H A Doptions.h215 } CommandLineOptions; typedef
217 void init_options(CommandLineOptions *options);
218 FLAC__bool parse_options(int argc, char *argv[], CommandLineOptions *options);
219 void free_options(CommandLineOptions *options);
/aosp_15_r20/external/perfetto/src/bigtrace/worker/
H A Dworker_main.cc32 struct CommandLineOptions { struct
36 CommandLineOptions ParseCommandLineOptions(int argc, char** argv) { in ParseCommandLineOptions()
37 CommandLineOptions command_line_options; in ParseCommandLineOptions()
56 CommandLineOptions options = ParseCommandLineOptions(argc, argv); in WorkerMain()
/aosp_15_r20/external/perfetto/src/bigtrace/orchestrator/
H A Dorchestrator_main.cc41 struct CommandLineOptions { struct
80 base::StatusOr<CommandLineOptions> ParseCommandLineOptions(int argc, in ParseCommandLineOptions()
82 CommandLineOptions command_line_options; in ParseCommandLineOptions()
147 ASSIGN_OR_RETURN(base::StatusOr<CommandLineOptions> options, in OrchestratorMain()
/aosp_15_r20/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
H A DMain.java111 CommandLineOptions parameters = processArgs(args); in format()
133 private int formatFiles(CommandLineOptions parameters, JavaFormatterOptions options) { in formatFiles()
215 private int formatStdin(CommandLineOptions parameters, JavaFormatterOptions options) { in formatStdin()
249 public static CommandLineOptions processArgs(String... args) throws UsageException { in processArgs()
250 CommandLineOptions parameters; in processArgs()
H A DCommandLineOptions.java27 final class CommandLineOptions { class
47 CommandLineOptions( in CommandLineOptions() method in CommandLineOptions
281 CommandLineOptions build() { in build()
282 return new CommandLineOptions( in build()
H A DCommandLineOptionsParser.java41 static CommandLineOptions parse(Iterable<String> options) { in parse()
42 CommandLineOptions.Builder optionsBuilder = CommandLineOptions.builder(); in parse()
H A DFormatFileCallable.java56 private final CommandLineOptions parameters;
60 CommandLineOptions parameters, Path path, String input, JavaFormatterOptions options) { in FormatFileCallable()
/aosp_15_r20/frameworks/base/cmds/idmap2/idmap2/
H A DDump.cpp31 using android::idmap2::CommandLineOptions;
44 const CommandLineOptions opts = in Dump()
45 CommandLineOptions("idmap2 dump") in Dump()
H A DCreate.cpp35 using android::idmap2::CommandLineOptions;
58 const CommandLineOptions opts = in Create()
59 CommandLineOptions("idmap2 create") in Create()
H A DCreateMultiple.cpp39 using android::idmap2::CommandLineOptions;
59 const CommandLineOptions opts = in CreateMultiple()
60 CommandLineOptions("idmap2 create-multiple") in CreateMultiple()
H A DLookup.cpp51 using android::idmap2::CommandLineOptions;
158 const CommandLineOptions opts = in Lookup()
159 CommandLineOptions("idmap2 lookup") in Lookup()
H A DMain.cpp31 using android::idmap2::CommandLineOptions;
66 CommandLineOptions::ConvertArgvToVector(argc - 1, const_cast<const char**>(argv + 1)); in main()
/aosp_15_r20/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
H A DCommandLineOptionsParserTest.java42 CommandLineOptions options = CommandLineOptionsParser.parse(ImmutableList.of()); in defaults()
62 CommandLineOptions options = in hello()
178 CommandLineOptions options = CommandLineOptionsParser.parse(Arrays.asList(args)); in paramsFile()
/aosp_15_r20/external/aws-sdk-java-v2/test/sdk-benchmarks/src/main/java/software/amazon/awssdk/benchmark/coldstart/
H A DV2DefaultClientCreationBenchmark.java37 import org.openjdk.jmh.runner.options.CommandLineOptions;
74 .parent(new CommandLineOptions()) in main()
H A DV1ClientCreationBenchmark.java39 import org.openjdk.jmh.runner.options.CommandLineOptions;
72 .parent(new CommandLineOptions()) in main()
H A DV2OptimizedClientCreationBenchmark.java37 import org.openjdk.jmh.runner.options.CommandLineOptions;
84 .parent(new CommandLineOptions()) in main()
/aosp_15_r20/external/armnn/tests/
H A DDeepSpeechV1InferenceTest.hpp183 typename Model::CommandLineOptions m_ModelCommandLineOptions;
185 typename Model::CommandLineOptions)> m_ConstructModel;
H A DMobileNetSsdInferenceTest.hpp202 typename Model::CommandLineOptions m_ModelCommandLineOptions;
204 typename Model::CommandLineOptions)> m_ConstructModel;
H A DInferenceTest.hpp193 typename InferenceModel::CommandLineOptions m_ModelCommandLineOptions;
195 … typename InferenceModel::CommandLineOptions)> m_ConstructModel;
H A DYoloInferenceTest.hpp230 typename Model::CommandLineOptions m_ModelCommandLineOptions;
232 typename Model::CommandLineOptions)> m_ConstructModel;

123