Home
last modified time | relevance | path

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/
Dtest_importhooks.py144 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/Python-2.7.10/Python/
Dimport.c202 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/PyMod-2.7.2/Python/
Dimport.c174 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/
Dimport.c174 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/Lib/
Drunpy.py195 for hook in sys.path_hooks:
Dpkgutil.py374 for path_hook in sys.path_hooks:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Drunpy.py195 for hook in sys.path_hooks:
Dpkgutil.py382 for path_hook in sys.path_hooks: