Home
last modified time | relevance | path

Searched refs:import_func (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Include/
Dpystate.h152 PyObject *import_func; member
/external/python/cpython3/Python/
Dpylifecycle.c309 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in initimport()
310 if (interp->import_func == NULL) in initimport()
312 Py_INCREF(interp->import_func); in initimport()
Dpystate.c151 interp->import_func = NULL; in PyInterpreterState_New()
212 Py_CLEAR(interp->import_func); in PyInterpreterState_Clear()
Dceval.c4755 PyObject *import_func, *res; in import_name() local
4758 import_func = _PyDict_GetItemId(f->f_builtins, &PyId___import__); in import_name()
4759 if (import_func == NULL) { in import_name()
4765 if (import_func == PyThreadState_GET()->interp->import_func) { in import_name()
4779 Py_INCREF(import_func); in import_name()
4786 res = _PyObject_FastCall(import_func, stack, 5); in import_name()
4787 Py_DECREF(import_func); in import_name()
Dimport.c1648 interp->import_func, NULL); in import_find_and_load()
1819 fromlist, interp->import_func, in PyImport_ImportModuleLevelObject()