Home
last modified time | relevance | path

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

/third_party/python/Include/internal/
Dpycore_pathconfig.h27 int site_import; member
37 .site_import = -1}
/third_party/python/Python/
Dpathconfig.c90 config->site_import = config2->site_import; in pathconfig_copy()
225 SET_ITEM_INT(site_import); in _PyPathConfig_AsDict()
412 if (pathconfig.site_import != -1) { in config_init_pathconfig()
413 config->site_import = pathconfig.site_import; in config_init_pathconfig()
Dinitconfig.c611 assert(config->site_import >= 0); in config_check_consistency()
710 config->site_import = -1; in _PyConfig_InitCompatConfig()
745 config->site_import = 1; in config_init_defaults()
923 COPY_ATTR(site_import); in _PyConfig_Copy()
1025 SET_ITEM_INT(site_import); in _PyConfig_AsDict()
1290 GET_UINT(site_import); in _PyConfig_FromDict()
1423 COPY_NOT_FLAG(site_import, Py_NoSiteFlag); in config_get_global_vars()
1460 COPY_NOT_FLAG(site_import, Py_NoSiteFlag); in config_set_global_vars()
2400 config->site_import = 0; in config_parse_cmdline()
3075 PySys_WriteStderr(" import site = %i\n", config->site_import); in _Py_DumpPathConfig()
Dpylifecycle.c1150 if (config->site_import) { in init_interp_main()
Dsysmodule.c2599 SetFlag(!config->site_import); in set_flags_from_config()
/third_party/python/Lib/test/
D_test_embed_set_config.py177 self.set_config(site_import=0)
179 self.set_config(site_import=1)
/third_party/python/Programs/
D_freeze_importlib.c82 config.site_import = 0; in main()
D_testembed.c576 config.site_import = 0; in test_init_from_config()
/third_party/python/Include/cpython/
Dinitconfig.h157 int site_import; member
/third_party/python/PC/
Dgetpathp.c563 pathconfig->site_import = 0; in read_pth_file()
592 pathconfig->site_import = 1; in read_pth_file()
/third_party/python/Modules/
Dmain.c196 if (config->site_import) { in pymain_header()
/third_party/python/Doc/c-api/
Dinit_config.rst1031 .. c:member:: int site_import
1044 :c:member:`~PyConfig.site_import`.
1385 If :c:member:`~PyConfig.site_import` is non-zero, :data:`sys.path` can be