• Home
  • Raw
  • Download

Lines Matching refs:pathconfig

144 pathconfig_set_from_config(_PyPathConfig *pathconfig, const PyConfig *config)  in pathconfig_set_from_config()  argument
151 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
152pathconfig->module_search_path = _PyWideStringList_Join(&config->module_search_paths, DELIM); in pathconfig_set_from_config()
153 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
160 PyMem_RawFree(pathconfig->PATH_ATTR); \ in pathconfig_set_from_config()
161 pathconfig->PATH_ATTR = NULL; \ in pathconfig_set_from_config()
162 if (copy_wstr(&pathconfig->PATH_ATTR, config->CONFIG_ATTR) < 0) { \ in pathconfig_set_from_config()
272 config_init_module_search_paths(PyConfig *config, _PyPathConfig *pathconfig) in config_init_module_search_paths() argument
278 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
335 pathconfig_init(_PyPathConfig *pathconfig, const PyConfig *config, in pathconfig_init() argument
343 status = pathconfig_copy(pathconfig, &_Py_path_config); in pathconfig_init()
348 status = pathconfig_set_from_config(pathconfig, config); in pathconfig_init()
354 status = _PyPathConfig_Calculate(pathconfig, config); in pathconfig_init()
366 _PyPathConfig pathconfig = _PyPathConfig_INIT; in config_init_pathconfig() local
369 status = pathconfig_init(&pathconfig, config, compute_path_config); in config_init_pathconfig()
375 && pathconfig.module_search_path != NULL) in config_init_pathconfig()
377 status = config_init_module_search_paths(config, &pathconfig); in config_init_pathconfig()
384 if (config->CONFIG_ATTR == NULL && pathconfig.PATH_ATTR != NULL) { \ in config_init_pathconfig()
385 if (copy_wstr(&config->CONFIG_ATTR, pathconfig.PATH_ATTR) < 0) { \ in config_init_pathconfig()
409 if (pathconfig.isolated != -1) { in config_init_pathconfig()
410 config->isolated = pathconfig.isolated; in config_init_pathconfig()
412 if (pathconfig.site_import != -1) { in config_init_pathconfig()
413 config->site_import = pathconfig.site_import; in config_init_pathconfig()
424 pathconfig_clear(&pathconfig); in config_init_pathconfig()