Home
last modified time | relevance | path

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

/ndk/sources/third_party/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_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]
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_filter_unittest.py169 def SetEnvVar(env_var, value): argument
173 environ[env_var] = value
174 elif env_var in environ:
175 del environ[env_var]
Dgtest_unittest.cc453 const std::string env_var = in SetTimeZone() local
455 _putenv(env_var.c_str()); in SetTimeZone()
/ndk/sources/third_party/googletest/googletest/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()
Dgtest-internal-inl.h268 GTEST_API_ Int32 Int32FromEnvOrDie(const char* env_var, Int32 default_val);
/ndk/build/lib/
Dbuild_support.py154 def _get_dir_from_env(default, env_var): argument
155 path = os.path.realpath(os.getenv(env_var, default))