Searched refs:CommandLineOptions (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/cmds/idmap2/tests/ |
D | CommandLineOptionsTests.cpp | 43 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 …]
|
/frameworks/base/cmds/idmap2/include/idmap2/ |
D | CommandLineOptions.h | 34 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,
|
/frameworks/base/cmds/idmap2/libidmap2/ |
D | CommandLineOptions.cpp | 33 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()
|
/frameworks/base/cmds/idmap2/idmap2/ |
D | Verify.cpp | 27 using android::idmap2::CommandLineOptions; 37 const CommandLineOptions opts = in Verify() 38 CommandLineOptions("idmap2 verify") in Verify()
|
D | Dump.cpp | 31 using android::idmap2::CommandLineOptions; 44 const CommandLineOptions opts = in Dump() 45 CommandLineOptions("idmap2 dump") in Dump()
|
D | Create.cpp | 36 using android::idmap2::CommandLineOptions; 55 const CommandLineOptions opts = in Create() 56 CommandLineOptions("idmap2 create") in Create()
|
D | Main.cpp | 31 using android::idmap2::CommandLineOptions; 63 CommandLineOptions::ConvertArgvToVector(argc - 1, const_cast<const char**>(argv + 1)); in main()
|
D | Scan.cpp | 39 using android::idmap2::CommandLineOptions; 131 const CommandLineOptions opts = in Scan() 132 CommandLineOptions("idmap2 scan") in Scan()
|
D | Lookup.cpp | 54 using android::idmap2::CommandLineOptions; 166 const CommandLineOptions opts = in Lookup() 167 CommandLineOptions("idmap2 lookup") in Lookup()
|
/frameworks/base/cmds/idmap2/ |
D | Android.bp | 39 "libidmap2/CommandLineOptions.cpp",
|