Home
last modified time | relevance | path

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

123

/dports/lang/python-legacy/Python-2.7.18/RISCOS/Modules/
H A 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 …]
/dports/lang/python27/Python-2.7.18/RISCOS/Modules/
H A 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 …]
/dports/lang/python311/Python-3.11.0a3/Python/
H A Dpathconfig.c32 wchar_t *module_search_path; member
42 {.module_search_path = NULL}
51 return _Py_path_config.module_search_path; in _PyPathConfig_GetGlobalModuleSearchPath()
71 CLEAR(module_search_path); in _PyPathConfig_ClearGlobal()
149 PyMem_RawFree(_Py_path_config.module_search_path); in _PyPathConfig_UpdateGlobal()
150 _Py_path_config.module_search_path = NULL; in _PyPathConfig_UpdateGlobal()
207 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
219 _Py_path_config.module_search_path = _PyMem_RawWcsdup(path); in Py_SetPath()
227 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
300 if (_Py_path_config.module_search_path) { in Py_GetPath()
[all …]
/dports/lang/python27/Python-2.7.18/PC/os2emx/
H A 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()
/dports/lang/python-legacy/Python-2.7.18/PC/os2emx/
H A 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()
/dports/lang/python27/Python-2.7.18/PC/os2vacpp/
H A 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()
/dports/lang/python-legacy/Python-2.7.18/PC/os2vacpp/
H A 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()
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Efi/
H A Dgetpath.c83 static char *module_search_path = NULL; variable
617 module_search_path = PYTHONPATH; in calculate_path()
662 module_search_path = buf; in calculate_path()
680 …PySys_WriteStderr("%s[%d]: module_search_path = \"%s\"\n", __func__, __LINE__, module_search_path); in calculate_path()
692 if (!module_search_path) in Py_GetPath()
694 return module_search_path; in Py_GetPath()
700 if (!module_search_path) in Py_GetPrefix()
708 if (!module_search_path) in Py_GetExecPrefix()
716 if (!module_search_path) in Py_GetProgramFullPath()
/dports/databases/py-gdbm/Python-3.8.12/Python/
H A Dpathconfig.c55 CLEAR(config->module_search_path); in pathconfig_clear()
83 COPY_ATTR(module_search_path); in pathconfig_copy()
149 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
151 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
202 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
277 if (_Py_path_config.module_search_path == NULL) { in pathconfig_calculate()
418 if (_Py_path_config.module_search_path == NULL) { in pathconfig_global_init()
431 assert(_Py_path_config.module_search_path != NULL); in pathconfig_global_init()
459 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
471 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/databases/py-sqlite3/Python-3.8.12/Python/
H A Dpathconfig.c55 CLEAR(config->module_search_path); in pathconfig_clear()
83 COPY_ATTR(module_search_path); in pathconfig_copy()
149 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
151 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
202 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
277 if (_Py_path_config.module_search_path == NULL) { in pathconfig_calculate()
418 if (_Py_path_config.module_search_path == NULL) { in pathconfig_global_init()
431 assert(_Py_path_config.module_search_path != NULL); in pathconfig_global_init()
459 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
471 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/lang/python-tools/Python-3.8.12/Python/
H A Dpathconfig.c55 CLEAR(config->module_search_path); in pathconfig_clear()
83 COPY_ATTR(module_search_path); in pathconfig_copy()
149 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
151 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
202 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
277 if (_Py_path_config.module_search_path == NULL) { in pathconfig_calculate()
418 if (_Py_path_config.module_search_path == NULL) { in pathconfig_global_init()
431 assert(_Py_path_config.module_search_path != NULL); in pathconfig_global_init()
459 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
471 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/lang/python38/Python-3.8.12/Python/
H A Dpathconfig.c55 CLEAR(config->module_search_path); in pathconfig_clear()
83 COPY_ATTR(module_search_path); in pathconfig_copy()
149 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
151 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
202 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
277 if (_Py_path_config.module_search_path == NULL) { in pathconfig_calculate()
418 if (_Py_path_config.module_search_path == NULL) { in pathconfig_global_init()
431 assert(_Py_path_config.module_search_path != NULL); in pathconfig_global_init()
459 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
471 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/lang/python39/Python-3.9.9/Python/
H A 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()
153 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
204 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
278 if (_Py_path_config.module_search_path == NULL) { in pathconfig_calculate()
419 if (_Py_path_config.module_search_path == NULL) { in pathconfig_global_init()
432 assert(_Py_path_config.module_search_path != NULL); in pathconfig_global_init()
466 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
478 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Python/
H A Dpathconfig.c55 CLEAR(config->module_search_path); in pathconfig_clear()
83 COPY_ATTR(module_search_path); in pathconfig_copy()
149 PyMem_RawFree(pathconfig->module_search_path); in pathconfig_set_from_config()
151 if (pathconfig->module_search_path == NULL) { in pathconfig_set_from_config()
202 const wchar_t *sys_path = pathconfig->module_search_path; in config_init_module_search_paths()
277 if (_Py_path_config.module_search_path == NULL) { in pathconfig_calculate()
418 if (_Py_path_config.module_search_path == NULL) { in pathconfig_global_init()
431 assert(_Py_path_config.module_search_path != NULL); in pathconfig_global_init()
459 PyMem_RawFree(_Py_path_config.module_search_path); in Py_SetPath()
471 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/lang/python310/Python-3.10.1/Python/
H A 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()
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()
499 || _Py_path_config.module_search_path == NULL) in Py_SetPath()
[all …]
/dports/lang/python-legacy/Python-2.7.18/PC/
H A 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()
/dports/lang/python27/Python-2.7.18/PC/
H A 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()
/dports/lang/python39/Python-3.9.9/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/devel/py-frozendict/frozendict-2.1.1/frozendict/src/3_9/cpython_src/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/lang/python310/Python-3.10.1/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/devel/py-frozendict/frozendict-2.1.1/frozendict/src/3_10/cpython_src/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/databases/py-gdbm/Python-3.8.12/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/databases/py-sqlite3/Python-3.8.12/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/lang/python38/Python-3.8.12/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}
/dports/lang/python-tools/Python-3.8.12/Include/internal/
H A Dpycore_pathconfig.h17 wchar_t *module_search_path; member
35 {.module_search_path = NULL, \
40 {.module_search_path = NULL}

123