Home
last modified time | relevance | path

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

/aosp12/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 …]
/aosp12/frameworks/base/cmds/idmap2/libidmap2/
H A DCommandLineOptions.cpp33 std::unique_ptr<std::vector<std::string>> CommandLineOptions::ConvertArgvToVector( in ConvertArgvToVector()
38 CommandLineOptions& CommandLineOptions::OptionalFlag(const std::string& name, in OptionalFlag()
46 CommandLineOptions& CommandLineOptions::MandatoryOption(const std::string& name, in MandatoryOption()
55 CommandLineOptions& CommandLineOptions::MandatoryOption(const std::string& name, in MandatoryOption()
64 CommandLineOptions& CommandLineOptions::OptionalOption(const std::string& name, in OptionalOption()
73 CommandLineOptions& CommandLineOptions::OptionalOption(const std::string& name, in OptionalOption()
82 Result<Unit> CommandLineOptions::Parse(const std::vector<std::string>& argv) const { in Parse()
140 void CommandLineOptions::Usage(std::ostream& out) const { in Usage()
/aosp12/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,
/aosp12/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 DMain.cpp31 using android::idmap2::CommandLineOptions;
66 CommandLineOptions::ConvertArgvToVector(argc - 1, const_cast<const char**>(argv + 1)); in main()
H A DLookup.cpp51 using android::idmap2::CommandLineOptions;
158 const CommandLineOptions opts = in Lookup()
159 CommandLineOptions("idmap2 lookup") in Lookup()
/aosp12/packages/apps/TV/libs/
H A Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...