Lines Matching refs:core_config
338 search_for_prefix(const _PyCoreConfig *core_config, in search_for_prefix() argument
345 if (core_config->home) { in search_for_prefix()
346 wcsncpy(prefix, core_config->home, MAXPATHLEN); in search_for_prefix()
405 calculate_prefix(const _PyCoreConfig *core_config, in calculate_prefix() argument
408 calculate->prefix_found = search_for_prefix(core_config, calculate, prefix); in calculate_prefix()
450 search_for_exec_prefix(const _PyCoreConfig *core_config, in search_for_exec_prefix() argument
456 if (core_config->home) { in search_for_exec_prefix()
457 wchar_t *delim = wcschr(core_config->home, DELIM); in search_for_exec_prefix()
462 wcsncpy(exec_prefix, core_config->home, MAXPATHLEN); in search_for_exec_prefix()
526 calculate_exec_prefix(const _PyCoreConfig *core_config, in calculate_exec_prefix() argument
529 calculate->exec_prefix_found = search_for_exec_prefix(core_config, in calculate_exec_prefix()
562 calculate_program_full_path(const _PyCoreConfig *core_config, in calculate_program_full_path() argument
582 if (wcschr(core_config->program_name, SEP)) { in calculate_program_full_path()
583 wcsncpy(program_full_path, core_config->program_name, MAXPATHLEN); in calculate_program_full_path()
625 joinpath(program_full_path, core_config->program_name); in calculate_program_full_path()
800 calculate_module_search_path(const _PyCoreConfig *core_config, in calculate_module_search_path() argument
807 if (core_config->module_search_path_env != NULL) { in calculate_module_search_path()
808 bufsz += wcslen(core_config->module_search_path_env) + 1; in calculate_module_search_path()
842 if (core_config->module_search_path_env) { in calculate_module_search_path()
843 wcscpy(buf, core_config->module_search_path_env); in calculate_module_search_path()
892 const _PyCoreConfig *core_config) in calculate_init() argument
935 calculate_path_impl(const _PyCoreConfig *core_config, in calculate_path_impl() argument
940 err = calculate_program_full_path(core_config, calculate, config); in calculate_path_impl()
954 calculate_prefix(core_config, calculate, prefix); in calculate_path_impl()
960 calculate_exec_prefix(core_config, calculate, exec_prefix); in calculate_path_impl()
969 err = calculate_module_search_path(core_config, calculate, in calculate_path_impl()
994 _PyPathConfig_Calculate(_PyPathConfig *config, const _PyCoreConfig *core_config) in _PyPathConfig_Calculate() argument
999 _PyInitError err = calculate_init(&calculate, core_config); in _PyPathConfig_Calculate()
1004 err = calculate_path_impl(core_config, &calculate, config); in _PyPathConfig_Calculate()