Lines Matching refs:value
72 CmdlineBuilder& Add(const char* arg_format, const std::string& value) in Add() argument
75 return Add(android::base::StringPrintf(arg_format, value.c_str())); in Add()
79 CmdlineBuilder& AddRuntime(const char* arg_format, const std::string& value) in AddRuntime() argument
82 return AddRuntime(android::base::StringPrintf(arg_format, value.c_str())); in AddRuntime()
88 CmdlineBuilder& Add(const char* arg_format, int value) in Add() argument
91 return Add(android::base::StringPrintf(arg_format, value)); in Add()
95 CmdlineBuilder& AddRuntime(const char* arg_format, int value) in AddRuntime() argument
98 return AddRuntime(android::base::StringPrintf(arg_format, value)); in AddRuntime()
105 CmdlineBuilder& AddIfNonEmpty(const char* arg_format, const std::string& value) in AddIfNonEmpty() argument
108 if (!value.empty()) { in AddIfNonEmpty()
109 Add(android::base::StringPrintf(arg_format, value.c_str())); in AddIfNonEmpty()
115 CmdlineBuilder& AddRuntimeIfNonEmpty(const char* arg_format, const std::string& value) in AddRuntimeIfNonEmpty() argument
118 if (!value.empty()) { in AddRuntimeIfNonEmpty()
119 AddRuntime(android::base::StringPrintf(arg_format, value.c_str())); in AddRuntimeIfNonEmpty()
125 CmdlineBuilder& AddIf(bool value, std::string_view arg) { in AddIf() argument
126 if (value) { in AddIf()
133 CmdlineBuilder& AddRuntimeIf(bool value, std::string_view arg) { in AddRuntimeIf() argument
134 if (value) { in AddRuntimeIf()