Searched refs:from_env (Results 1 – 4 of 4) sorted by relevance
/system/testing/gtest_extras/ |
D | Options.cpp | 81 static void PrintError(const std::string& arg, std::string msg, bool from_env) { in PrintError() argument 82 if (from_env) { in PrintError() 96 bool from_env) { in GetNumeric() argument 99 PrintError(arg, std::string("value overflows (") + value + ")", from_env); in GetNumeric() 104 from_env); in GetNumeric() 117 bool Options::SetNumeric(const std::string& arg, const std::string& value, bool from_env) { in SetNumeric() argument 119 if (!GetNumeric<uint64_t>(arg, value, numeric, from_env)) { in SetNumeric() 123 PrintError(arg, "requires a number greater than zero.", from_env); in SetNumeric() 129 bool Options::SetNumericEnvOnly(const std::string& arg, const std::string& value, bool from_env) { in SetNumericEnvOnly() argument 130 if (!from_env) { in SetNumericEnvOnly() [all …]
|
D | Options.h | 78 bool from_env = false);
|
/system/extras/profcollectd/libprofcollectd/ |
D | config.rs | 62 pub fn from_env() -> Result<Self> { in from_env() method
|
D | service.rs | 141 let new_config = Config::from_env()?; in new()
|