Home
last modified time | relevance | path

Searched refs:module_search_path (Results 1 – 5 of 5) 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
576 module_search_path = PYTHONPATH; in calculate_path()
624 module_search_path = buf; in calculate_path()
660 if (!module_search_path) in Py_GetPath()
662 return module_search_path; in Py_GetPath()
668 if (!module_search_path) in Py_GetPrefix()
676 if (!module_search_path) in Py_GetExecPrefix()
684 if (!module_search_path) in Py_GetProgramFullPath()