Searched refs:env_value (Results 1 – 5 of 5) sorted by relevance
24 const char* env_value = std::getenv(key); in GetEnvVar() local25 if (!env_value || env_value[0] == '\0') { in GetEnvVar()28 *value = env_value; in GetEnvVar()35 const char* env_value = std::getenv(key); in GetEnvVar() local36 if (!env_value || env_value[0] == '\0') { in GetEnvVar()40 return strings::safe_strto64(env_value, value); in GetEnvVar()45 const char* env_value = std::getenv(key); in GetEnvVar() local46 if (!env_value || env_value[0] == '\0') { in GetEnvVar()50 return strings::safe_strtou64(env_value, value); in GetEnvVar()
31 std::string env_value; in TEST_F() local32 EXPECT_TRUE(env->GetVar(kValidEnvironmentVariable, &env_value)); in TEST_F()33 EXPECT_NE(env_value, ""); in TEST_F()45 std::string env_value; in TEST_F() local46 EXPECT_TRUE(env->GetVar(kFooLower, &env_value)); in TEST_F()48 EXPECT_STREQ(env_value.c_str(), kFooLower); in TEST_F()57 EXPECT_TRUE(env->GetVar(kFooUpper, &env_value)); in TEST_F()59 EXPECT_STREQ(env_value.c_str(), kBar); in TEST_F()
72 const char* env_value = getenv(variable_name.data()); in GetVarImpl()73 if (!env_value) in GetVarImpl()77 *result = env_value; in GetVarImpl()
457 char const * const env_value = getenv(env_names[it]); in bear_capture_env_t() local458 char const * const env_copy = (env_value) ? strdup(env_value) : env_value; in bear_capture_env_t()
626 const char* env_value = std::getenv(varname); in GetEnvVar() local627 if (!env_value) { in GetEnvVar()630 return convert(env_value, value); in GetEnvVar()