Lines Matching refs:StringPiece
34 explicit Command(const android::StringPiece& name) : name_(name.to_string()), in Command()
38 explicit Command(const android::StringPiece& name, const android::StringPiece& short_name) in Command()
53 void AddRequiredFlag(const android::StringPiece& name, const android::StringPiece& description,
56 void AddRequiredFlagList(const android::StringPiece& name,
57 const android::StringPiece& description, std::vector<std::string>* value,
60 void AddOptionalFlag(const android::StringPiece& name, const android::StringPiece& description,
63 void AddOptionalFlagList(const android::StringPiece& name,
64 const android::StringPiece& description, std::vector<std::string>* value,
67 void AddOptionalFlagList(const android::StringPiece& name,
68 const android::StringPiece& description,
71 void AddOptionalSwitch(const android::StringPiece& name, const android::StringPiece& description,
76 void SetDescription(const android::StringPiece& name);
84 int Execute(const std::vector<android::StringPiece>& args, std::ostream* outError);
93 explicit Flag(const android::StringPiece& name, const android::StringPiece& description, in Flag()
95 std::function<bool(const android::StringPiece& value)>&& action) in Flag()
103 const std::function<bool(const android::StringPiece& value)> action;