Lines Matching refs:envValue
77 const char* envValue = getenv(key.c_str()); in getEnv() local
78 return envValue != nullptr ? std::string(envValue) : std::string(); in getEnv()
95 std::string envValue = getEnv(key); in getFlag() local
96 if (envValue.empty()) { in getFlag()
104 if (!parse(envValue, value)) { in getFlag()
105 std::cerr << "Cannot parse " << envValue << "." << std::endl; in getFlag()
122 T envValue; in getFlagIfUnset() local
125 if (!parse(envStrValue, &envValue)) { in getFlagIfUnset()
126 std::cerr << "Cannot parse " << envValue << "." << std::endl; in getFlagIfUnset()
133 if (hasEnvValue && (*out != envValue)) { in getFlagIfUnset()
135 << " (which is " << envValue << ")." << std::endl; in getFlagIfUnset()
141 *out = envValue; in getFlagIfUnset()
149 std::string envValue = getEnv(key); in getIntegerFlag() local
150 if (envValue.empty()) { in getIntegerFlag()
154 if (!base::ParseUint(envValue, &value)) { in getIntegerFlag()