Searched refs:env_var (Results 1 – 8 of 8) sorted by relevance
55 def SetEnvVar(env_var, value): argument59 environ[env_var] = value60 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)
58 def SetEnvVar(env_var, value): argument63 env_var = env_var.upper()65 os.environ[env_var] = value66 elif env_var in os.environ:67 del os.environ[env_var]
75 def SetEnvVar(env_var, value): argument81 environ[env_var] = value82 elif env_var in environ:83 del environ[env_var]
47 def SetEnvVar(env_var, value): argument51 os.environ[env_var] = value52 elif env_var in os.environ:53 del os.environ[env_var]
169 def SetEnvVar(env_var, value): argument173 environ[env_var] = value174 elif env_var in environ:175 del environ[env_var]
453 const std::string env_var = in SetTimeZone() local455 _putenv(env_var.c_str()); in SetTimeZone()
713 Message env_var; in FlagToEnvVar() local715 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() local768 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv()777 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local778 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() local800 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
268 GTEST_API_ Int32 Int32FromEnvOrDie(const char* env_var, Int32 default_val);