Home
last modified time | relevance | path

Searched refs:path_importer_cache (Results 1 – 9 of 9) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_importhooks.py145 sys.path_importer_cache.clear()
152 sys.path_importer_cache.clear()
Dregrtest.py982 pic = sys.path_importer_cache.copy()
1047 sys.path_importer_cache.clear()
1048 sys.path_importer_cache.update(pic)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dimport.c1118 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, in get_path_importer() argument
1126 assert(PyDict_Check(path_importer_cache)); in get_path_importer()
1132 importer = PyDict_GetItem(path_importer_cache, p); in get_path_importer()
1137 if (PyDict_SetItem(path_importer_cache, p, Py_None) != 0) in get_path_importer()
1165 int err = PyDict_SetItem(path_importer_cache, p, importer); in get_path_importer()
1175 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; in PyImport_GetImporter() local
1177 if ((path_importer_cache = PySys_GetObject("path_importer_cache"))) { in PyImport_GetImporter()
1179 importer = get_path_importer(path_importer_cache, in PyImport_GetImporter()
1209 PyObject *path_hooks, *path_importer_cache; in find_module() local
1319 path_importer_cache = PySys_GetObject("path_importer_cache"); in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c1118 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, in get_path_importer() argument
1126 assert(PyDict_Check(path_importer_cache)); in get_path_importer()
1132 importer = PyDict_GetItem(path_importer_cache, p); in get_path_importer()
1137 if (PyDict_SetItem(path_importer_cache, p, Py_None) != 0) in get_path_importer()
1165 int err = PyDict_SetItem(path_importer_cache, p, importer); in get_path_importer()
1175 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; in PyImport_GetImporter() local
1177 if ((path_importer_cache = PySys_GetObject("path_importer_cache"))) { in PyImport_GetImporter()
1179 importer = get_path_importer(path_importer_cache, in PyImport_GetImporter()
1209 PyObject *path_hooks, *path_importer_cache; in find_module() local
1319 path_importer_cache = PySys_GetObject("path_importer_cache"); in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dimport.c1213 get_path_importer(PyObject *path_importer_cache, PyObject *path_hooks, in get_path_importer() argument
1221 assert(PyDict_Check(path_importer_cache)); in get_path_importer()
1227 importer = PyDict_GetItem(path_importer_cache, p); in get_path_importer()
1232 if (PyDict_SetItem(path_importer_cache, p, Py_None) != 0) in get_path_importer()
1260 int err = PyDict_SetItem(path_importer_cache, p, importer); in get_path_importer()
1270 PyObject *importer=NULL, *path_importer_cache=NULL, *path_hooks=NULL; in PyImport_GetImporter() local
1272 if ((path_importer_cache = PySys_GetObject("path_importer_cache"))) { in PyImport_GetImporter()
1274 importer = get_path_importer(path_importer_cache, in PyImport_GetImporter()
1304 PyObject *path_hooks, *path_importer_cache; in find_module() local
1421 path_importer_cache = PySys_GetObject("path_importer_cache"); in find_module()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dpkgutil.py380 importer = sys.path_importer_cache[path_item]
390 sys.path_importer_cache.setdefault(path_item, importer)
Drunpy.py187 cache = sys.path_importer_cache
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dpkgutil.py372 importer = sys.path_importer_cache[path_item]
382 sys.path_importer_cache.setdefault(path_item, importer)
Drunpy.py187 cache = sys.path_importer_cache