Home
last modified time | relevance | path

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

/external/qemu/distrib/sdl-1.2.12/src/video/riscos/
DSDL_riscostask.c193 char *env_var; in RISCOS_GetTaskName() local
223 env_var = SDL_stack_alloc(char, len); in RISCOS_GetTaskName()
224 if (env_var) in RISCOS_GetTaskName()
230 SDL_strlcpy(env_var, "SDL$", len); in RISCOS_GetTaskName()
231 SDL_strlcat(env_var, p, len); in RISCOS_GetTaskName()
232 SDL_strlcat(env_var, "$TaskName", len); in RISCOS_GetTaskName()
234 env_val = SDL_getenv(env_var); in RISCOS_GetTaskName()
237 SDL_strlcpy(env_var, "SDL$", len); in RISCOS_GetTaskName()
238 SDL_strlcat(env_var, p, len); in RISCOS_GetTaskName()
239 SDL_strlcat(env_var, "$BackBuffer", len); in RISCOS_GetTaskName()
[all …]
/external/gtest/test/
Dgtest_env_var_test.py65 def SetEnvVar(env_var, value): argument
69 os.environ[env_var] = value
70 elif env_var in os.environ:
71 del os.environ[env_var]
90 env_var = 'GTEST_' + flag.upper()
91 SetEnvVar(env_var, test_val)
93 SetEnvVar(env_var, None)
Dgtest_throw_on_failure_test.py59 def SetEnvVar(env_var, value): argument
64 env_var = env_var.upper()
66 os.environ[env_var] = value
67 elif env_var in os.environ:
68 del os.environ[env_var]
Dgtest_break_on_failure_unittest.py68 def SetEnvVar(env_var, value): argument
74 os.environ[env_var] = value
75 elif env_var in os.environ:
76 del os.environ[env_var]
Dgtest_color_test.py48 def SetEnvVar(env_var, value): argument
52 os.environ[env_var] = value
53 elif env_var in os.environ:
54 del os.environ[env_var]
Dgtest_filter_unittest.py125 def SetEnvVar(env_var, value): argument
129 os.environ[env_var] = value
130 elif env_var in os.environ:
131 del os.environ[env_var]
/external/gtest/src/
Dgtest-port.cc557 Message env_var; in FlagToEnvVar() local
559 env_var << static_cast<char>(toupper(full_flag.c_str()[i])); in FlagToEnvVar()
562 return env_var.GetString(); in FlagToEnvVar()
611 const String env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local
612 const char* const string_value = GetEnv(env_var.c_str()); in BoolFromGTestEnv()
621 const String env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local
622 const char* const string_value = GetEnv(env_var.c_str()); in Int32FromGTestEnv()
629 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv()
643 const String env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local
644 const char* const value = GetEnv(env_var.c_str()); in StringFromGTestEnv()
Dgtest-internal-inl.h191 Int32 Int32FromEnvOrDie(const char* env_var, Int32 default_val);
/external/dbus/dbus/
Ddbus-bus.c131 const char *env_var) in get_from_env() argument
137 s = _dbus_getenv (env_var); in get_from_env()