Searched refs:path_hooks (Results 1 – 8 of 8) sorted by relevance
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
D | test_importhooks.py | 144 self.path_hooks = sys.path_hooks[:] 151 sys.path_hooks[:] = self.path_hooks 224 sys.path_hooks.append(PathImporter) 237 sys.path_hooks.append(ImpWrapper)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/ |
D | import.c | 174 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init() local 199 path_hooks = PyList_New(0); in _PyImportHooks_Init() 200 if (path_hooks == NULL) in _PyImportHooks_Init() 202 err = PySys_SetObject("path_hooks", path_hooks); in _PyImportHooks_Init() 229 err = PyList_Append(path_hooks, zipimporter); in _PyImportHooks_Init() 238 Py_DECREF(path_hooks); in _PyImportHooks_Init() 1118 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, in get_path_importer() argument 1125 assert(PyList_Check(path_hooks)); in get_path_importer() 1128 nhooks = PyList_Size(path_hooks); in get_path_importer() 1141 PyObject *hook = PyList_GetItem(path_hooks, j); in get_path_importer() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
D | import.c | 174 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init() local 199 path_hooks = PyList_New(0); in _PyImportHooks_Init() 200 if (path_hooks == NULL) in _PyImportHooks_Init() 202 err = PySys_SetObject("path_hooks", path_hooks); in _PyImportHooks_Init() 229 err = PyList_Append(path_hooks, zipimporter); in _PyImportHooks_Init() 238 Py_DECREF(path_hooks); in _PyImportHooks_Init() 1118 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, in get_path_importer() argument 1125 assert(PyList_Check(path_hooks)); in get_path_importer() 1128 nhooks = PyList_Size(path_hooks); in get_path_importer() 1141 PyObject *hook = PyList_GetItem(path_hooks, j); in get_path_importer() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
D | import.c | 202 PyObject *v, *path_hooks = NULL, *zimpimport; in _PyImportHooks_Init() local 227 path_hooks = PyList_New(0); in _PyImportHooks_Init() 228 if (path_hooks == NULL) in _PyImportHooks_Init() 230 err = PySys_SetObject("path_hooks", path_hooks); in _PyImportHooks_Init() 257 err = PyList_Append(path_hooks, zipimporter); in _PyImportHooks_Init() 266 Py_DECREF(path_hooks); in _PyImportHooks_Init() 1213 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, in get_path_importer() argument 1220 assert(PyList_Check(path_hooks)); in get_path_importer() 1223 nhooks = PyList_Size(path_hooks); in get_path_importer() 1236 PyObject *hook = PyList_GetItem(path_hooks, j); in get_path_importer() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
D | runpy.py | 195 for hook in sys.path_hooks:
|
D | pkgutil.py | 374 for path_hook in sys.path_hooks:
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
D | runpy.py | 195 for hook in sys.path_hooks:
|
D | pkgutil.py | 382 for path_hook in sys.path_hooks:
|