Home | History | Annotate | Download | only in Modules

Lines Matching refs:core_config

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