Searched refs:CommandLineOptions (Results 1 – 9 of 9) sorted by relevance
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 …]
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()
34 class CommandLineOptions {38 explicit CommandLineOptions(const std::string& name) : name_(name) { in CommandLineOptions() function41 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,
31 using android::idmap2::CommandLineOptions;44 const CommandLineOptions opts = in Dump()45 CommandLineOptions("idmap2 dump") in Dump()
35 using android::idmap2::CommandLineOptions;58 const CommandLineOptions opts = in Create()59 CommandLineOptions("idmap2 create") in Create()
39 using android::idmap2::CommandLineOptions;59 const CommandLineOptions opts = in CreateMultiple()60 CommandLineOptions("idmap2 create-multiple") in CreateMultiple()
31 using android::idmap2::CommandLineOptions;66 CommandLineOptions::ConvertArgvToVector(argc - 1, const_cast<const char**>(argv + 1)); in main()
51 using android::idmap2::CommandLineOptions;158 const CommandLineOptions opts = in Lookup()159 CommandLineOptions("idmap2 lookup") in Lookup()
META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...