Home
last modified time | relevance | path

Searched refs:module_search_path (Results 1 – 13 of 13) 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/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/cpython2/Modules/
Dgetpath.c110 static char *module_search_path = NULL; variable
584 module_search_path = PYTHONPATH; in calculate_path()
636 module_search_path = buf; in calculate_path()
672 if (!module_search_path) in Py_GetPath()
674 return module_search_path; in Py_GetPath()
680 if (!module_search_path) in Py_GetPrefix()
688 if (!module_search_path) in Py_GetExecPrefix()
696 if (!module_search_path) in Py_GetProgramFullPath()
/external/python/cpython3/Python/
Dpathconfig.c38 CLEAR(config->module_search_path); in _PyPathConfig_Clear()
52 if (_Py_path_config.module_search_path) { in _PyPathConfig_Init()
103 if (_Py_path_config.module_search_path) { in pathconfig_global_init()
151 new_config.module_search_path = _PyMem_RawWcsdup(path); in Py_SetPath()
233 return _Py_path_config.module_search_path; in Py_GetPath()
Dsysmodule.c2470 assert(config->module_search_path != NULL); in _PySys_EndInit()
2477 SET_SYS_FROM_STRING_BORROW("path", config->module_search_path); in _PySys_EndInit()
/external/python/cpython3/Include/internal/
Dpystate.h50 wchar_t *module_search_path; member
57 #define _PyPathConfig_INIT {.module_search_path = NULL}
/external/python/cpython3/PC/
Dgetpathp.c648 config->module_search_path = buf; in read_pth_file()
832 config->module_search_path = core_config->module_search_path_env; in calculate_module_search_path()
836 config->module_search_path = PYTHONPATH; in calculate_module_search_path()
951 config->module_search_path = start_buf; in calculate_module_search_path()
/external/python/cpython3/Include/
Dpystate.h106 PyObject *module_search_path; /* sys.path list */ member
/external/python/cpython3/Tools/c-globals/
Dignored-globals.txt20 module_search_path
/external/python/cpython3/Modules/
Dmain.c2639 Py_CLEAR(config->module_search_path); in _PyMainInterpreterConfig_Clear()
2693 COPY_OBJ_ATTR(module_search_path); in _PyMainInterpreterConfig_Copy()
2745 SET_ITEM_OBJ(module_search_path); in _PyMainInterpreterConfig_AsDict()
2805 COPY_WSTRLIST(main_config->module_search_path, in _PyMainInterpreterConfig_Read()
Dgetpath.c885 config->module_search_path = buf; in calculate_module_search_path()