/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_env_var_test.py | 55 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)
|
D | gtest_throw_on_failure_test.py | 58 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]
|
D | gtest_color_test.py | 47 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]
|
D | gtest_break_on_failure_unittest.py | 75 def SetEnvVar(env_var, value): argument 81 environ[env_var] = value 82 elif env_var in environ: 83 del environ[env_var]
|
D | gtest_filter_unittest.py | 169 def SetEnvVar(env_var, value): argument 173 environ[env_var] = value 174 elif env_var in environ: 175 del environ[env_var]
|
/external/libcxx/utils/google-benchmark/src/ |
D | commandlineflags.cc | 84 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/google-benchmark/src/ |
D | commandlineflags.cc | 84 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/googletest/googletest/test/ |
D | googletest-env-var-test.py | 53 def SetEnvVar(env_var, value): argument 57 environ[env_var] = value 58 elif env_var in environ: 59 del environ[env_var] 74 env_var = 'GTEST_' + flag.upper() 75 SetEnvVar(env_var, test_val) 77 SetEnvVar(env_var, None)
|
D | googletest-throw-on-failure-test.py | 56 def SetEnvVar(env_var, value): argument 61 env_var = env_var.upper() 63 os.environ[env_var] = value 64 elif env_var in os.environ: 65 del os.environ[env_var]
|
D | googletest-color-test.py | 44 def SetEnvVar(env_var, value): argument 48 os.environ[env_var] = value 49 elif env_var in os.environ: 50 del os.environ[env_var]
|
D | gtest_test_utils.py | 62 def SetEnvVar(env_var, value): argument 66 environ[env_var] = value 67 elif env_var in environ: 68 del environ[env_var]
|
/external/python/cpython3/Lib/test/ |
D | test_c_locale_coercion.py | 265 for env_var in ("LANG", "LC_CTYPE"): 270 if env_var == "LANG" and locale_to_set == "UTF-8": 273 with self.subTest(env_var=env_var, 276 var_dict[env_var] = locale_to_set 352 for env_var in ("LANG", "LC_CTYPE"): 353 with self.subTest(env_var=env_var, 357 var_dict[env_var] = locale_to_set
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
D | gtest-port.cc | 654 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/llvm/utils/unittest/googletest/src/ |
D | gtest-port.cc | 658 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/webrtc/webrtc/examples/peerconnection/client/ |
D | defaults.cc | 33 const char* env_var = getenv(env_var_name); in GetEnvVarOrDefault() local 34 if (env_var) in GetEnvVarOrDefault() 35 value = env_var; in GetEnvVarOrDefault()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-port.cc | 695 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/u-boot/common/ |
D | hash.c | 273 int env_var = 0; in store_result() local 285 env_var = 1; in store_result() 288 if (env_var) { in store_result() 328 int env_var = 0; in parse_verify_sum() local 335 env_var = 1; in parse_verify_sum() 338 if (!env_var) { in parse_verify_sum()
|
/external/libvpx/libvpx/third_party/googletest/src/src/ |
D | gtest-port.cc | 1197 Message env_var; in FlagToEnvVar() local 1199 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar() 1202 return env_var.GetString(); in FlagToEnvVar() 1254 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() 1255 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 1268 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() 1269 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 1276 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv() 1311 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv() 1312 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-port.cc | 1138 Message env_var; in FlagToEnvVar() local 1140 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar() 1143 return env_var.GetString(); in FlagToEnvVar() 1195 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local 1196 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 1208 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local 1209 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 1216 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv() 1233 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local 1234 const char* value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/libaom/libaom/third_party/googletest/src/googletest/src/ |
D | gtest-port.cc | 1138 Message env_var; in FlagToEnvVar() local 1140 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar() 1143 return env_var.GetString(); in FlagToEnvVar() 1195 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local 1196 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 1208 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local 1209 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 1216 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv() 1233 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local 1234 const char* value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/ |
D | gtest-port.cc | 1138 Message env_var; in FlagToEnvVar() local 1140 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar() 1143 return env_var.GetString(); in FlagToEnvVar() 1195 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() local 1196 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 1208 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() local 1209 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 1216 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv() 1233 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv() local 1234 const char* value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/mesa3d/src/mesa/main/ |
D | version.c | 58 const char *env_var = (api == API_OPENGL_CORE || api == API_OPENGL_COMPAT) in get_gl_override() local 81 version_str = getenv(env_var); in get_gl_override() 89 env_var, version_str); in get_gl_override() 101 env_var, version_str); in get_gl_override() 219 const char *env_var = "MESA_GLSL_VERSION_OVERRIDE"; in _mesa_override_glsl_version() local 223 version = getenv(env_var); in _mesa_override_glsl_version() 230 fprintf(stderr, "error: invalid value for %s: %s\n", env_var, version); in _mesa_override_glsl_version()
|
/external/googletest/googletest/src/ |
D | gtest-port.cc | 1263 Message env_var; in FlagToEnvVar() local 1265 env_var << ToUpper(full_flag.c_str()[i]); in FlagToEnvVar() 1268 return env_var.GetString(); in FlagToEnvVar() 1320 const std::string env_var = FlagToEnvVar(flag); in BoolFromGTestEnv() 1321 const char* const string_value = posix::GetEnv(env_var.c_str()); in BoolFromGTestEnv() 1334 const std::string env_var = FlagToEnvVar(flag); in Int32FromGTestEnv() 1335 const char* const string_value = posix::GetEnv(env_var.c_str()); in Int32FromGTestEnv() 1342 if (!ParseInt32(Message() << "Environment variable " << env_var, in Int32FromGTestEnv() 1377 const std::string env_var = FlagToEnvVar(flag); in StringFromGTestEnv() 1378 const char* const value = posix::GetEnv(env_var.c_str()); in StringFromGTestEnv()
|
/external/chromium-trace/catapult/devil/devil/ |
D | devil_env_test.py | 42 def mock_environment(env_var): argument 43 return '/my/fake/adb/path' if env_var == 'ADB_PATH' else None
|
/external/u-boot/board/compulab/cl-som-imx7/ |
D | cl-som-imx7.c | 177 static int cl_som_imx7_handle_mac_address(char *env_var, uint eeprom_bus) in cl_som_imx7_handle_mac_address() argument 182 ret = eth_env_get_enetaddr(env_var, enetaddr); in cl_som_imx7_handle_mac_address() 194 return eth_env_set_enetaddr(env_var, enetaddr); in cl_som_imx7_handle_mac_address()
|