Lines Matching refs:StringPiece
33 explicit Command(android::StringPiece name) : name_(name), full_subcommand_name_(name){}; in Command()
35 explicit Command(android::StringPiece name, android::StringPiece short_name) in Command()
52 void AddRequiredFlag(android::StringPiece name, android::StringPiece description,
55 void AddRequiredFlagList(android::StringPiece name, android::StringPiece description,
58 void AddOptionalFlag(android::StringPiece name, android::StringPiece description,
61 void AddOptionalFlagList(android::StringPiece name, android::StringPiece description,
64 void AddOptionalFlagList(android::StringPiece name, android::StringPiece description,
67 void AddOptionalSwitch(android::StringPiece name, android::StringPiece description, bool* value);
71 void SetDescription(android::StringPiece name);
79 int Execute(const std::vector<android::StringPiece>& args, std::ostream* outError);
86 explicit Flag(android::StringPiece name, android::StringPiece description, in Flag()
88 std::function<bool(android::StringPiece value)>&& action) in Flag()
100 const std::function<bool(android::StringPiece value)> action;