Home
last modified time | relevance | path

Searched refs:module_search_path (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/RISCOS/Modules/
Dgetpath_riscos.c4 static char *prefix, *exec_prefix, *progpath, *module_search_path=NULL; variable
12 module_search_path = malloc(pathlen + 1); in calculate_path()
13 if (module_search_path) in calculate_path()
14 strncpy(module_search_path, pypath, pathlen + 1); in calculate_path()
21 if (!module_search_path) in calculate_path()
22 module_search_path = "<Python$Dir>.Lib"; in calculate_path()
33 if (!module_search_path) in Py_GetPath()
35 return module_search_path; in Py_GetPath()
41 if (!module_search_path) in Py_GetPrefix()
49 if (!module_search_path) in Py_GetExecPrefix()
[all …]
/external/python/cpython2/PC/os2emx/
Dgetpathp.c84 static char *module_search_path = NULL; variable
325 module_search_path = buf = malloc(bufsz); in calculate_path()
331 module_search_path = envpath; in calculate_path()
335 module_search_path = PYTHONPATH; in calculate_path()
393 if (!module_search_path) in Py_GetPath()
395 return module_search_path; in Py_GetPath()
401 if (!module_search_path) in Py_GetPrefix()
415 if (!module_search_path) in Py_GetProgramFullPath()
/external/python/cpython2/PC/os2vacpp/
Dgetpathp.c54 static char *module_search_path = NULL; variable
377 module_search_path = buf = malloc(bufsz); in calculate_path()
383 module_search_path = envpath; in calculate_path()
387 module_search_path = PYTHONPATH; in calculate_path()
451 if (!module_search_path) in Py_GetPath()
454 return module_search_path; in Py_GetPath()
460 if (!module_search_path) in Py_GetPrefix()
469 if (!module_search_path) in Py_GetExecPrefix()
478 if (!module_search_path) in Py_GetProgramFullPath()
/external/python/cpython3/Python/
Dpathconfig.c57 CLEAR(config->module_search_path); in pathconfig_clear()
85 COPY_ATTR(module_search_path); in pathconfig_copy()
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()
220 SET_ITEM_STR(module_search_path); in _PyPathConfig_AsDict()
278 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
375 && pathconfig.module_search_path != NULL) in config_init_pathconfig()
489 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
493 _Py_path_config.module_search_path = _PyMem_RawWcsdup(path); in Py_SetPath()
[all …]
/external/python/cpython2/PC/
Dgetpathp.c91 static char *module_search_path = NULL; variable
561 module_search_path = buf = malloc(bufsz); in calculate_path()
567 module_search_path = envpath; in calculate_path()
571 module_search_path = PYTHONPATH; in calculate_path()
665 while (look >= module_search_path && *look != DELIM) in calculate_path()
676 if (look < module_search_path) in calculate_path()
689 if (!module_search_path) in Py_GetPath()
691 return module_search_path; in Py_GetPath()
697 if (!module_search_path) in Py_GetPrefix()
711 if (!module_search_path) in Py_GetProgramFullPath()
/external/python/cpython3/Include/internal/
Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/external/python/cpython2/Modules/
Dgetpath.c111 static char *module_search_path = NULL; variable
585 module_search_path = PYTHONPATH; in calculate_path()
637 module_search_path = buf; in calculate_path()
673 if (!module_search_path) in Py_GetPath()
675 return module_search_path; in Py_GetPath()
681 if (!module_search_path) in Py_GetPrefix()
689 if (!module_search_path) in Py_GetExecPrefix()
697 if (!module_search_path) in Py_GetProgramFullPath()
/external/python/cpython3/PC/
Dgetpathp.c647 if (pathconfig->module_search_path == NULL) { in read_pth_file()
648 pathconfig->module_search_path = _PyMem_RawWcsdup(buf); in read_pth_file()
649 if (pathconfig->module_search_path == NULL) { in read_pth_file()
949 pathconfig->module_search_path = start_buf; in calculate_module_search_path()
1003 if (pathconfig->module_search_path == NULL) { in calculate_path()
/external/python/cpython3/Modules/
Dgetpath.c1419 pathconfig->module_search_path = buf; in calculate_module_search_path()
1536 if (pathconfig->module_search_path == NULL) { in calculate_path()
/external/python/cpython3/Doc/data/
Dpython3.10.abi16404 …<var-decl name='module_search_path' type-id='type-id-325' visibility='default' filepath='./Include…