Home
last modified time | relevance | path

Searched refs:env_var (Results 1 – 25 of 64) sorted by relevance

123

/external/protobuf/gtest/test/
Dgtest_env_var_test.py55 def SetEnvVar(env_var, value): argument
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
76 env_var = 'GTEST_' + flag.upper()
77 SetEnvVar(env_var, test_val)
79 SetEnvVar(env_var, None)
Dgtest_throw_on_failure_test.py58 def SetEnvVar(env_var, value): argument
63 env_var = env_var.upper()
65 os.environ[env_var] = value
66 elif env_var in os.environ:
67 del os.environ[env_var]
Dgtest_color_test.py47 def SetEnvVar(env_var, value): argument
51 os.environ[env_var] = value
52 elif env_var in os.environ:
53 del os.environ[env_var]
Dgtest_break_on_failure_unittest.py75 def SetEnvVar(env_var, value): argument
81 environ[env_var] = value
82 elif env_var in environ:
83 del environ[env_var]
/external/google-breakpad/src/testing/gtest/test/
Dgtest_env_var_test.py55 def SetEnvVar(env_var, value): argument
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
77 env_var = 'GTEST_' + flag.upper()
78 SetEnvVar(env_var, test_val)
80 SetEnvVar(env_var, None)
Dgtest_throw_on_failure_test.py58 def SetEnvVar(env_var, value): argument
63 env_var = env_var.upper()
65 os.environ[env_var] = value
66 elif env_var in os.environ:
67 del os.environ[env_var]
Dgtest_color_test.py47 def SetEnvVar(env_var, value): argument
51 os.environ[env_var] = value
52 elif env_var in os.environ:
53 del os.environ[env_var]
Dgtest_break_on_failure_unittest.py75 def SetEnvVar(env_var, value): argument
81 environ[env_var] = value
82 elif env_var in environ:
83 del environ[env_var]
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/
Dgtest_env_var_test.py55 def SetEnvVar(env_var, value): argument
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
76 env_var = 'GTEST_' + flag.upper()
77 SetEnvVar(env_var, test_val)
79 SetEnvVar(env_var, None)
Dgtest_throw_on_failure_test.py58 def SetEnvVar(env_var, value): argument
63 env_var = env_var.upper()
65 os.environ[env_var] = value
66 elif env_var in os.environ:
67 del os.environ[env_var]
Dgtest_color_test.py47 def SetEnvVar(env_var, value): argument
51 os.environ[env_var] = value
52 elif env_var in os.environ:
53 del os.environ[env_var]
/external/v8/testing/gtest/test/
Dgtest_env_var_test.py55 def SetEnvVar(env_var, value): argument
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
76 env_var = 'GTEST_' + flag.upper()
77 SetEnvVar(env_var, test_val)
79 SetEnvVar(env_var, None)
Dgtest_throw_on_failure_test.py58 def SetEnvVar(env_var, value): argument
63 env_var = env_var.upper()
65 os.environ[env_var] = value
66 elif env_var in os.environ:
67 del os.environ[env_var]
Dgtest_color_test.py47 def SetEnvVar(env_var, value): argument
51 os.environ[env_var] = value
52 elif env_var in os.environ:
53 del os.environ[env_var]
/external/googletest/googletest/test/
Dgtest_env_var_test.py55 def SetEnvVar(env_var, value): argument
59 environ[env_var] = value
60 elif env_var in environ:
61 del environ[env_var]
76 env_var = 'GTEST_' + flag.upper()
77 SetEnvVar(env_var, test_val)
79 SetEnvVar(env_var, None)
Dgtest_throw_on_failure_test.py58 def SetEnvVar(env_var, value): argument
63 env_var = env_var.upper()
65 os.environ[env_var] = value
66 elif env_var in os.environ:
67 del os.environ[env_var]
Dgtest_color_test.py47 def SetEnvVar(env_var, value): argument
51 os.environ[env_var] = value
52 elif env_var in os.environ:
53 del os.environ[env_var]
/external/google-benchmark/src/
Dcommandlineflags.cc84 std::string env_var; in FlagToEnvVar() local
86 env_var += static_cast<char>(::toupper(flag_str.c_str()[i])); in FlagToEnvVar()
88 return "BENCHMARK_" + env_var; in FlagToEnvVar()
96 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv() local
97 const char* const string_value = getenv(env_var.c_str()); in BoolFromEnv()
106 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv() local
107 const char* const string_value = getenv(env_var.c_str()); in Int32FromEnv()
114 if (!ParseInt32(std::string("Environment variable ") + env_var, string_value, in Int32FromEnv()
126 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv() local
127 const char* const value = getenv(env_var.c_str()); in StringFromEnv()
/external/libcxx/utils/google-benchmark/src/
Dcommandlineflags.cc84 std::string env_var; in FlagToEnvVar() local
86 env_var += static_cast<char>(::toupper(flag_str.c_str()[i])); in FlagToEnvVar()
88 return "BENCHMARK_" + env_var; in FlagToEnvVar()
96 const std::string env_var = FlagToEnvVar(flag); in BoolFromEnv() local
97 const char* const string_value = getenv(env_var.c_str()); in BoolFromEnv()
106 const std::string env_var = FlagToEnvVar(flag); in Int32FromEnv() local
107 const char* const string_value = getenv(env_var.c_str()); in Int32FromEnv()
114 if (!ParseInt32(std::string("Environment variable ") + env_var, string_value, in Int32FromEnv()
126 const std::string env_var = FlagToEnvVar(flag); in StringFromEnv() local
127 const char* const value = getenv(env_var.c_str()); in StringFromEnv()
/external/webrtc/webrtc/examples/peerconnection/client/
Ddefaults.cc33 const char* env_var = getenv(env_var_name); in GetEnvVarOrDefault() local
34 if (env_var) in GetEnvVarOrDefault()
35 value = env_var; in GetEnvVarOrDefault()
/external/protobuf/gtest/src/
Dgtest-port.cc619 Message env_var; in FlagToEnvVar() local
621 env_var << static_cast<char>(toupper(full_flag.c_str()[i])); in FlagToEnvVar()
624 return env_var.GetString(); in FlagToEnvVar()
673 const String env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local
674 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
683 const String env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local
684 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
691 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv()
705 const String env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local
706 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc658 Message env_var; in FlagToEnvVar() local
660 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar()
663 return env_var.GetString(); in FlagToEnvVar()
712 const String env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local
713 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
722 const String env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local
723 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
730 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv()
744 const String env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local
745 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/
Dgtest-port.cc654 Message env_var; in FlagToEnvVar() local
656 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar()
659 return env_var.GetString(); in FlagToEnvVar()
708 const String env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local
709 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
718 const String env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local
719 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
726 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv()
740 const String env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local
741 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc695 Message env_var; in FlagToEnvVar() local
697 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar()
700 return env_var.GetString(); in FlagToEnvVar()
749 const String env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local
750 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
759 const String env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local
760 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
767 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv()
781 const String env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local
782 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc713 Message env_var; in FlagToEnvVar() local
715 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar()
718 return env_var.GetString(); in FlagToEnvVar()
767 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local
768 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()
777 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local
778 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv()
785 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv()
799 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local
800 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()

123