Lines Matching refs:use_environment
137 COPY_ATTR(use_environment); in precmdline_get_preconfig()
151 COPY_ATTR(use_environment); in precmdline_set_preconfig()
170 COPY_ATTR(use_environment); in _PyPreCmdline_SetConfig()
199 cmdline->use_environment = 0; in precmdline_parse_cmdline()
244 cmdline->use_environment = 0; in _PyPreCmdline_Read()
246 if (cmdline->use_environment < 0) { in _PyPreCmdline_Read()
247 cmdline->use_environment = 0; in _PyPreCmdline_Read()
253 || _Py_GetEnv(cmdline->use_environment, "PYTHONDEVMODE"))) in _PyPreCmdline_Read()
263 || _Py_GetEnv(cmdline->use_environment, "PYTHONWARNDEFAULTENCODING")) in _PyPreCmdline_Read()
268 assert(cmdline->use_environment >= 0); in _PyPreCmdline_Read()
288 config->use_environment = -1; in _PyPreConfig_InitCompatConfig()
326 config->use_environment = 1; in PyPreConfig_InitPythonConfig()
347 config->use_environment = 0; in PyPreConfig_InitIsolatedConfig()
394 COPY_ATTR(use_environment); in preconfig_copy()
435 SET_ITEM_INT(use_environment); in _PyPreConfig_AsDict()
465 COPY_ATTR(use_environment); in _PyPreConfig_GetConfig()
490 COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag); in preconfig_get_global_vars()
516 COPY_NOT_FLAG(use_environment, Py_IgnoreEnvironmentFlag); in preconfig_set_global_vars()
528 _Py_GetEnv(int use_environment, const char *name) in _Py_GetEnv() argument
530 assert(use_environment >= 0); in _Py_GetEnv()
532 if (!use_environment) { in _Py_GetEnv()
565 _Py_get_env_flag(int use_environment, int *flag, const char *name) in _Py_get_env_flag() argument
567 const char *var = _Py_GetEnv(use_environment, name); in _Py_get_env_flag()
638 const char *opt = _Py_GetEnv(config->use_environment, "PYTHONUTF8"); in preconfig_init_utf8_mode()
683 const char *env = _Py_GetEnv(config->use_environment, "PYTHONCOERCECLOCALE"); in preconfig_init_coerce_c_locale()
729 const char *envvar = _Py_GetEnv(config->use_environment, "PYTHONMALLOC"); in preconfig_init_allocator()
760 _Py_get_env_flag(config->use_environment, in preconfig_read()
785 assert(config->use_environment >= 0); in preconfig_read()