Searched refs:num_env_vars (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cc | 275 static int num_env_vars; variable 280 for (int i = 0; i < num_env_vars; i++) { in GetEnv() 284 CHECK_LT(num_env_vars, kEnvVariables); in GetEnv() 285 DWORD rv = GetEnvironmentVariableA(name, env_vars[num_env_vars].value, in GetEnv() 289 internal_strncpy(env_vars[num_env_vars].name, name, kMaxEnvNameLength); in GetEnv() 290 num_env_vars++; in GetEnv() 291 return env_vars[num_env_vars - 1].value; in GetEnv()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_win.cpp | 418 static int num_env_vars; variable 423 for (int i = 0; i < num_env_vars; i++) { in GetEnv() 427 CHECK_LT(num_env_vars, kEnvVariables); in GetEnv() 428 DWORD rv = GetEnvironmentVariableA(name, env_vars[num_env_vars].value, in GetEnv() 432 internal_strncpy(env_vars[num_env_vars].name, name, kMaxEnvNameLength); in GetEnv() 433 num_env_vars++; in GetEnv() 434 return env_vars[num_env_vars - 1].value; in GetEnv()
|