Home
last modified time | relevance | path

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

/third_party/python/Python/
H A Dpreconfig.c133 COPY_ATTR(use_environment); in precmdline_get_preconfig()
147 COPY_ATTR(use_environment); in precmdline_set_preconfig()
166 COPY_ATTR(use_environment); in _PyPreCmdline_SetConfig()
195 cmdline->use_environment = 0; in precmdline_parse_cmdline()
235 /* isolated, use_environment */ in _PyPreCmdline_Read()
240 cmdline->use_environment = 0; in _PyPreCmdline_Read()
242 if (cmdline->use_environment < 0) { in _PyPreCmdline_Read()
243 cmdline->use_environment = 0; in _PyPreCmdline_Read()
249 || _Py_GetEnv(cmdline->use_environment, "PYTHONDEVMODE"))) in _PyPreCmdline_Read()
259 || _Py_GetEnv(cmdline->use_environment, "PYTHONWARNDEFAULTENCODIN in _PyPreCmdline_Read()
514 _Py_GetEnv(int use_environment, const char *name) _Py_GetEnv() argument
551 _Py_get_env_flag(int use_environment, int *flag, const char *name) _Py_get_env_flag() argument
[all...]
H A Dinitconfig.c638 assert(config->use_environment >= 0); in config_check_consistency()
744 config->use_environment = -1; in _PyConfig_InitCompatConfig()
794 config->use_environment = 1; in config_init_defaults()
831 config->use_environment = 0; in PyConfig_InitIsolatedConfig()
941 COPY_ATTR(use_environment); in _PyConfig_Copy()
1052 SET_ITEM_INT(use_environment); in _PyConfig_AsDict()
1330 GET_UINT(use_environment); in _PyConfig_FromDict()
1413 return _Py_GetEnv(config->use_environment, name); in config_get_env()
1427 assert(config->use_environment >= 0); in config_get_env_dup()
1429 if (!config->use_environment) { in config_get_env_dup()
[all...]
H A Dsysmodule.c2572 SetFlag(!config->use_environment); in set_flags_from_config()
/third_party/python/Include/internal/
H A 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/
H A D__init__.py215 if options.use_environment and env_name:
263 elif options.use_environment and env_name and os.environ.get(env_name):
270 elif options.use_environment and env_name:
406 dest="use_environment",
474 if options.use_environment:
500 if options.use_environment:
515 if not options.generator_output and options.use_environment:
580 if options.use_environment:
608 if options.use_environment:
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/
H A D__init__.py218 if options.use_environment and env_name:
266 elif options.use_environment and env_name and os.environ.get(env_name):
273 elif options.use_environment and env_name:
409 dest="use_environment",
488 if options.use_environment:
514 if options.use_environment:
529 if not options.generator_output and options.use_environment:
594 if options.use_environment:
622 if options.use_environment:
/third_party/python/Modules/
H A Dgetpath.py46 # There is no need to check the use_environment flag before reading
228 use_environment = config.get('use_environment', 1) variable
284 # NOTE: The use_environment value is ignored for this lookup.
333 elif use_environment and ENV_PYTHONHOME and not py_setpath:
472 use_environment = 0 variable
658 if use_environment and ENV_PYTHONPATH:
676 if os_name == 'nt' and use_environment and winreg:
756 config['use_environment'] = 0
H A Dmain.c391 if (!config->use_environment) { in pymain_run_startup()
405 const char *env = _Py_GetEnv(config->use_environment, "PYTHONSTARTUP"); in pymain_run_startup()
519 if (!config->inspect && _Py_GetEnv(config->use_environment, "PYTHONINSPECT")) { in pymain_repl()
/third_party/python/Include/cpython/
H A Dinitconfig.h64 int use_environment; member
138 int use_environment; member
/third_party/python/Lib/test/
H A D_test_embed_set_config.py58 'use_environment',
189 self.set_config(use_environment=0, isolated=0)
191 self.set_config(use_environment=1, isolated=0)
H A Dtest_getpath.py146 ns["config"]["use_environment"] = 0
871 use_environment=1, variable
H A Dtest_embed.py423 use_environment=0, variable in InitConfigTests
432 'use_environment',
438 'use_environment': 1,
522 use_environment=0, variable in InitConfigTests
553 ('Py_IgnoreEnvironmentFlag', 'use_environment', True),
1024 'use_environment': 0,
1034 'use_environment': 0,
1044 'use_environment': 0,
1141 'use_environment': 0,
1638 'use_environment'
[all...]
/third_party/python/Programs/
H A D_testembed.c580 /* FIXME: test use_environment */ in test_init_from_config()
857 config.use_environment = 1; in test_init_isolated_flag()
1028 assert(rt_preconfig->use_environment == 0); in check_preinit_isolated_config()
1039 assert(rt_preconfig->use_environment == 0); in check_preinit_isolated_config()
1373 config.use_environment = 1; in run_audit_run_test()

Completed in 18 milliseconds