Home
last modified time | relevance | path

Searched refs:GetEnvVar (Results 1 – 12 of 12) sorted by relevance

/external/openscreen/third_party/abseil/src/absl/base/internal/
Dscoped_set_env_test.cc26 std::string GetEnvVar(const char* name) { in GetEnvVar() function
50 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
55 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
58 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
62 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
67 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
70 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
75 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
80 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "new_value"); in TEST()
83 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/base/internal/
Dscoped_set_env_test.cc26 std::string GetEnvVar(const char* name) { in GetEnvVar() function
50 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
55 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
58 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
62 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
67 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
70 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
75 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
80 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "new_value"); in TEST()
83 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
[all …]
/external/libtextclassifier/abseil-cpp/absl/base/internal/
Dscoped_set_env_test.cc26 std::string GetEnvVar(const char* name) { in GetEnvVar() function
50 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
55 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
58 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
62 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
67 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
70 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
75 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
80 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "new_value"); in TEST()
83 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/
Dscoped_set_env_test.cc26 std::string GetEnvVar(const char* name) { in GetEnvVar() function
50 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
55 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
58 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
62 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
67 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
70 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
75 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
80 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "new_value"); in TEST()
83 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
[all …]
/external/abseil-cpp/absl/base/internal/
Dscoped_set_env_test.cc26 std::string GetEnvVar(const char* name) { in GetEnvVar() function
50 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
55 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
58 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
62 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
67 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
70 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "UNSET"); in TEST()
75 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
80 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "new_value"); in TEST()
83 EXPECT_EQ(GetEnvVar("SCOPED_SET_ENV_TEST_VAR"), "value"); in TEST()
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dgcs_file_system.cc784 if (GetEnvVar(kReadaheadBufferSize, strings::safe_strtou64, &value)) { in GcsFileSystem()
790 if (GetEnvVar(kBlockSize, strings::safe_strtou64, &value)) { in GcsFileSystem()
794 if (GetEnvVar(kMaxCacheSize, strings::safe_strtou64, &value)) { in GcsFileSystem()
798 if (GetEnvVar(kMaxStaleness, strings::safe_strtou64, &value)) { in GcsFileSystem()
811 if (GetEnvVar(kStatCacheMaxAge, strings::safe_strtou64, &value)) { in GcsFileSystem()
814 if (GetEnvVar(kStatCacheMaxEntries, strings::safe_strtou64, &value)) { in GcsFileSystem()
824 if (GetEnvVar(kMatchingPathsCacheMaxAge, strings::safe_strtou64, &value)) { in GcsFileSystem()
827 if (GetEnvVar(kMatchingPathsCacheMaxEntries, strings::safe_strtou64, in GcsFileSystem()
838 if (GetEnvVar(kResolveCacheSecs, strings::safe_strto64, in GcsFileSystem()
850 if (GetEnvVar(kAdditionalRequestHeader, StringPieceIdentity, in GcsFileSystem()
[all …]
Dgcs_file_system.h57 bool GetEnvVar(const char* varname, bool (*convert)(StringPiece, T*), in GetEnvVar() function
/external/abseil-cpp/absl/flags/
Dparse.cc208 bool GetEnvVar(const char* var_name, std::string* var_value) { in GetEnvVar() function
356 if (!GetEnvVar(envname.c_str(), &envval)) { in ReadFlagsFromEnv()
/external/webrtc/third_party/abseil-cpp/absl/flags/
Dparse.cc208 bool GetEnvVar(const char* var_name, std::string* var_value) { in GetEnvVar() function
356 if (!GetEnvVar(envname.c_str(), &envval)) { in ReadFlagsFromEnv()
/external/libtextclassifier/abseil-cpp/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() function
375 if (!GetEnvVar(envname.c_str(), envval)) { in ReadFlagsFromEnv()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() function
375 if (!GetEnvVar(envname.c_str(), envval)) { in ReadFlagsFromEnv()
/external/openscreen/third_party/abseil/src/absl/flags/
Dparse.cc226 bool GetEnvVar(const char* var_name, std::string& var_value) { in GetEnvVar() function
375 if (!GetEnvVar(envname.c_str(), envval)) { in ReadFlagsFromEnv()