Searched refs:pathconfig (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython3/Modules/ |
D | getpath.c | 451 search_for_prefix(PyCalculatePath *calculate, _PyPathConfig *pathconfig, in search_for_prefix() argument 457 if (pathconfig->home) { in search_for_prefix() 459 if (safe_wcscpy(prefix, pathconfig->home, prefix_len) < 0) { in search_for_prefix() 571 calculate_prefix(PyCalculatePath *calculate, _PyPathConfig *pathconfig) in calculate_prefix() argument 578 status = search_for_prefix(calculate, pathconfig, in calculate_prefix() 606 calculate_set_prefix(PyCalculatePath *calculate, _PyPathConfig *pathconfig) in calculate_set_prefix() argument 622 pathconfig->prefix = prefix; in calculate_set_prefix() 629 pathconfig->prefix = _PyMem_RawWcsdup(separator); in calculate_set_prefix() 630 if (pathconfig->prefix == NULL) { in calculate_set_prefix() 636 pathconfig->prefix = _PyMem_RawWcsdup(calculate->prefix_macro); in calculate_set_prefix() [all …]
|
/external/python/cpython3/PC/ |
D | getpathp.c | 493 get_program_full_path(_PyPathConfig *pathconfig) in get_program_full_path() argument 510 if (pathconfig->base_executable == NULL) { in get_program_full_path() 511 pathconfig->base_executable = PyMem_RawMalloc( in get_program_full_path() 513 if (pathconfig->base_executable == NULL) { in get_program_full_path() 517 status = canonicalize(pathconfig->base_executable, in get_program_full_path() 530 if (pathconfig->program_full_path == NULL) { in get_program_full_path() 531 pathconfig->program_full_path = PyMem_RawMalloc( in get_program_full_path() 533 if (pathconfig->program_full_path == NULL) { in get_program_full_path() 537 status = canonicalize(pathconfig->program_full_path, in get_program_full_path() 548 read_pth_file(_PyPathConfig *pathconfig, wchar_t *prefix, const wchar_t *path, in read_pth_file() argument [all …]
|
/external/python/cpython3/Python/ |
D | pathconfig.c | 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() 152 … pathconfig->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() 198 config_init_module_search_paths(PyConfig *config, _PyPathConfig *pathconfig) in config_init_module_search_paths() argument 204 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths() 261 pathconfig_calculate(_PyPathConfig *pathconfig, const PyConfig *config) in pathconfig_calculate() argument [all …]
|
/external/python/cpython3/Include/internal/ |
D | pycore_pathconfig.h | 52 _PyPathConfig *pathconfig,
|
/external/python/cpython3/ |
D | Android.bp | 294 "Python/pathconfig.c",
|
D | Makefile.pre.in | 369 Python/pathconfig.o \
|
/external/python/cpython3/Tools/c-analyzer/ |
D | known.tsv | 1525 Python/pathconfig.c - _Py_path_config variable _PyPathConfig _Py_path_config
|