Home
last modified time | relevance | path

Searched refs:env_value (Results 1 – 5 of 5) sorted by relevance

/external/chromium/base/
Denvironment_unittest.cc15 std::string env_value; in TEST_F() local
16 EXPECT_TRUE(env->GetVar("PATH", &env_value)); in TEST_F()
17 EXPECT_NE(env_value, ""); in TEST_F()
29 std::string env_value; in TEST_F() local
30 EXPECT_TRUE(env->GetVar(kFooLower, &env_value)); in TEST_F()
32 EXPECT_STREQ(env_value.c_str(), kFooLower); in TEST_F()
41 EXPECT_TRUE(env->GetVar(kFooUpper, &env_value)); in TEST_F()
43 EXPECT_STREQ(env_value.c_str(), kBar); in TEST_F()
Denvironment.cc54 const char* env_value = getenv(variable_name); in GetVarImpl() local
55 if (!env_value) in GetVarImpl()
59 *result = env_value; in GetVarImpl()
/external/chromium/base/nix/
Dxdg_util.cc17 std::string env_value; in GetXDGDirectory() local
18 if (env->GetVar(env_name, &env_value) && !env_value.empty()) in GetXDGDirectory()
19 return FilePath(env_value); in GetXDGDirectory()
/external/chromium/net/proxy/
Dproxy_config_service_linux.cc91 std::string env_value; in GetProxyFromEnvVarForScheme() local
92 if (env_var_getter_->GetVar(variable, &env_value)) { in GetProxyFromEnvVarForScheme()
93 if (!env_value.empty()) { in GetProxyFromEnvVarForScheme()
94 env_value = FixupProxyHostScheme(scheme, env_value); in GetProxyFromEnvVarForScheme()
96 ProxyServer::FromURI(env_value, ProxyServer::SCHEME_HTTP); in GetProxyFromEnvVarForScheme()
Dproxy_config_service_linux_unittest.cc110 const char* env_value = table.Get(variable_name); in GetVar() local
111 if (env_value) { in GetVar()
113 *result = env_value; in GetVar()