Searched refs:env_argv (Results 1 – 1 of 1) sorted by relevance
187 auto* env_argv = &EnvArgvs()[string(envvar)]; in ParseFlagsFromEnvAndDieIfUnknown() local188 SetArgvFromEnv(envvar, env_argv); // a no-op if already initialized in ParseFlagsFromEnvAndDieIfUnknown()192 for (int i = 0; i < env_argv->argc; i++) { in ParseFlagsFromEnvAndDieIfUnknown()193 VLOG(1) << " argv[" << i << "] = " << env_argv->argv[i]; in ParseFlagsFromEnvAndDieIfUnknown()198 tensorflow::Flags::Parse(&env_argv->argc, &env_argv->argv[0], flag_list); in ParseFlagsFromEnvAndDieIfUnknown()201 if (result && env_argv->argc != 1) { in ParseFlagsFromEnvAndDieIfUnknown()203 auto unknown_flags = absl::MakeSpan(env_argv->argv); in ParseFlagsFromEnvAndDieIfUnknown()239 auto& env_argv = EnvArgvs()[string(envvar)]; in ResetFlagsFromEnvForTesting() local240 *pargc = &env_argv.argc; in ResetFlagsFromEnvForTesting()241 *pargv = &env_argv.argv; in ResetFlagsFromEnvForTesting()