Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/util/rpc/
Drpc_factory.cc24 const char* env_value = std::getenv(key); in GetEnvVar() local
25 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() local
36 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() local
46 if (!env_value || env_value[0] == '\0') { in GetEnvVar()
50 return strings::safe_strtou64(env_value, value); in GetEnvVar()
/external/libchrome/base/
Denvironment_unittest.cc31 std::string env_value; in TEST_F() local
32 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() local
46 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()
Denvironment.cc72 const char* env_value = getenv(variable_name.data()); in GetVarImpl()
73 if (!env_value) in GetVarImpl()
77 *result = env_value; in GetVarImpl()
/external/clang/tools/scan-build-py/libear/
Dear.c457 char const * const env_value = getenv(env_names[it]); in bear_capture_env_t() local
458 char const * const env_copy = (env_value) ? strdup(env_value) : env_value; in bear_capture_env_t()
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc626 const char* env_value = std::getenv(varname); in GetEnvVar() local
627 if (!env_value) { in GetEnvVar()
630 return convert(env_value, value); in GetEnvVar()