Home
last modified time | relevance | path

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

/third_party/python/Python/
Dpreconfig.c137 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()
[all …]
Dinitconfig.c592 assert(config->use_environment >= 0); in config_check_consistency()
694 config->use_environment = -1; in _PyConfig_InitCompatConfig()
732 config->use_environment = 1; in config_init_defaults()
769 config->use_environment = 0; in PyConfig_InitIsolatedConfig()
878 COPY_ATTR(use_environment); in _PyConfig_Copy()
983 SET_ITEM_INT(use_environment); in _PyConfig_AsDict()
1256 GET_UINT(use_environment); in _PyConfig_FromDict()
1334 return _Py_GetEnv(config->use_environment, name); in config_get_env()
1348 assert(config->use_environment >= 0); in config_get_env_dup()
1350 if (!config->use_environment) { in config_get_env_dup()
[all …]
Dsysmodule.c2557 SetFlag(!config->use_environment); in set_flags_from_config()
/third_party/python/Include/internal/
Dpycore_initconfig.h86 int use_environment,
89 int use_environment,
103 int use_environment; /* -E option */ member
110 .use_environment = -1, \
/third_party/node/tools/gyp/pylib/gyp/
D__init__.py211 if options.use_environment and env_name:
259 elif options.use_environment and env_name and os.environ.get(env_name):
266 elif options.use_environment and env_name:
470 if options.use_environment:
496 if options.use_environment:
511 if not options.generator_output and options.use_environment:
576 if options.use_environment:
604 if options.use_environment:
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
D__init__.py186 if options.use_environment and env_name:
231 elif options.use_environment and env_name and os.environ.get(env_name):
237 elif options.use_environment and env_name:
365 if options.use_environment:
391 if options.use_environment:
406 if not options.generator_output and options.use_environment:
470 if options.use_environment:
497 if options.use_environment:
/third_party/python/Include/cpython/
Dinitconfig.h64 int use_environment; member
138 int use_environment; member
/third_party/python/Modules/
Dmain.c384 if (!config->use_environment) { in pymain_run_startup()
398 const char *env = _Py_GetEnv(config->use_environment, "PYTHONSTARTUP"); in pymain_run_startup()
512 if (!config->inspect && _Py_GetEnv(config->use_environment, "PYTHONINSPECT")) { in pymain_repl()
/third_party/python/Lib/test/
D_test_embed_set_config.py187 self.set_config(use_environment=0, isolated=0)
189 self.set_config(use_environment=1, isolated=0)
Dtest_embed.py356 use_environment=0,
450 use_environment=0,
/third_party/python/Programs/
D_testembed.c940 assert(rt_preconfig->use_environment == 0); in check_preinit_isolated_config()
951 assert(rt_preconfig->use_environment == 0); in check_preinit_isolated_config()
1285 config.use_environment = 1; in run_audit_run_test()
/third_party/python/Doc/c-api/
Dinit_config.rst321 .. c:member:: int use_environment
324 :c:member:`PyConfig.use_environment`.
509 * :c:member:`PyConfig.use_environment`
795 * Set :c:member:`~PyConfig.use_environment` and
1096 .. c:member:: int use_environment
/third_party/python/Doc/whatsnew/
D3.9.rst1345 the ``-E`` option is used (if :c:member:`PyConfig.use_environment` is set to