Lines Matching refs:env_var
217 Command& AddEnvironmentVariable(const std::string& env_var, in AddEnvironmentVariable() argument
219 return AddEnvironmentVariable(env_var + "=" + value); in AddEnvironmentVariable()
221 Command AddEnvironmentVariable(const std::string& env_var, in AddEnvironmentVariable() argument
223 AddEnvironmentVariable(env_var, value); in AddEnvironmentVariable()
227 Command& AddEnvironmentVariable(std::string env_var) & { in AddEnvironmentVariable() argument
228 env_.emplace_back(std::move(env_var)); in AddEnvironmentVariable()
231 Command AddEnvironmentVariable(std::string env_var) && { in AddEnvironmentVariable() argument
232 return std::move(AddEnvironmentVariable(std::move(env_var))); in AddEnvironmentVariable()
237 Command& UnsetFromEnvironment(const std::string& env_var) & { in UnsetFromEnvironment() argument
240 if (android::base::StartsWith(*it, env_var + "=")) { in UnsetFromEnvironment()
248 Command UnsetFromEnvironment(const std::string& env_var) && { in UnsetFromEnvironment() argument
249 return std::move(UnsetFromEnvironment(env_var)); in UnsetFromEnvironment()