Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/xla/
Dparse_flags_from_env.cc195 auto* env_argv = &EnvArgvs()[string(envvar)]; in ParseFlagsFromEnvAndDieIfUnknown() local
196 SetArgvFromEnv(envvar, env_argv); // a no-op if already initialized in ParseFlagsFromEnvAndDieIfUnknown()
200 for (int i = 0; i < env_argv->argc; i++) { in ParseFlagsFromEnvAndDieIfUnknown()
201 VLOG(1) << " argv[" << i << "] = " << env_argv->argv[i]; in ParseFlagsFromEnvAndDieIfUnknown()
206 tensorflow::Flags::Parse(&env_argv->argc, &env_argv->argv[0], flag_list); in ParseFlagsFromEnvAndDieIfUnknown()
209 if (result && env_argv->argc != 1) { in ParseFlagsFromEnvAndDieIfUnknown()
211 auto unknown_flags = absl::MakeSpan(env_argv->argv); in ParseFlagsFromEnvAndDieIfUnknown()
247 auto& env_argv = EnvArgvs()[string(envvar)]; in ResetFlagsFromEnvForTesting() local
248 *pargc = &env_argv.argc; in ResetFlagsFromEnvForTesting()
249 *pargv = &env_argv.argv; in ResetFlagsFromEnvForTesting()