Home
last modified time | relevance | path

Searched refs:interp (Results 1 – 25 of 27) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Dpystate.c61 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() local
64 if (interp != NULL) { in PyInterpreterState_New()
70 interp->modules = NULL; in PyInterpreterState_New()
71 interp->modules_reloading = NULL; in PyInterpreterState_New()
72 interp->sysdict = NULL; in PyInterpreterState_New()
73 interp->builtins = NULL; in PyInterpreterState_New()
74 interp->tstate_head = NULL; in PyInterpreterState_New()
75 interp->codec_search_path = NULL; in PyInterpreterState_New()
76 interp->codec_search_cache = NULL; in PyInterpreterState_New()
77 interp->codec_error_registry = NULL; in PyInterpreterState_New()
[all …]
Dcodecs.c31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() local
32 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
42 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
96 PyInterpreterState *interp; in _PyCodec_Lookup() local
105 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
106 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in _PyCodec_Lookup()
118 result = PyDict_GetItem(interp->codec_search_cache, v); in _PyCodec_Lookup()
131 len = PyList_Size(interp->codec_search_path); in _PyCodec_Lookup()
144 func = PyList_GetItem(interp->codec_search_path, i); in _PyCodec_Lookup()
170 PyDict_SetItem(interp->codec_search_cache, v, result); in _PyCodec_Lookup()
[all …]
Dpythonrun.c137 PyInterpreterState *interp; in Py_InitializeEx() local
170 interp = PyInterpreterState_New(); in Py_InitializeEx()
171 if (interp == NULL) in Py_InitializeEx()
174 tstate = PyThreadState_New(interp); in Py_InitializeEx()
195 interp->modules = PyDict_New(); in Py_InitializeEx()
196 if (interp->modules == NULL) in Py_InitializeEx()
198 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
199 if (interp->modules_reloading == NULL) in Py_InitializeEx()
210 interp->builtins = PyModule_GetDict(bimod); in Py_InitializeEx()
211 if (interp->builtins == NULL) in Py_InitializeEx()
[all …]
Dsysmodule.c53 PyObject *sd = tstate->interp->sysdict; in PySys_GetObject()
75 PyObject *sd = tstate->interp->sysdict; in PySys_SetObject()
90 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_displayhook() local
91 PyObject *modules = interp->modules; in sys_displayhook()
500 tstate->interp->tscdump = 1; in sys_settscdump()
502 tstate->interp->tscdump = 0; in sys_settscdump()
633 tstate->interp->dlopenflags = new_val; in sys_setdlopenflags()
656 return PyInt_FromLong(tstate->interp->dlopenflags); in sys_getdlopenflags()
Dimport.c357 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear() local
358 if (interp->modules_reloading != NULL) in imp_modules_reloading_clear()
359 PyDict_Clear(interp->modules_reloading); in imp_modules_reloading_clear()
367 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() local
368 if (interp->modules == NULL) in PyImport_GetModuleDict()
370 return interp->modules; in PyImport_GetModuleDict()
401 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() local
402 PyObject *modules = interp->modules; in PyImport_Cleanup()
521 interp->modules = NULL; in PyImport_Cleanup()
523 Py_CLEAR(interp->modules_reloading); in PyImport_Cleanup()
[all …]
Dmodsupport.c37 PyInterpreterState *interp = PyThreadState_Get()->interp; in Py_InitModule4() local
38 if (interp->modules == NULL) in Py_InitModule4()
Ddynload_shlib.c112 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_GetDynLoadFunc()
D_warnings.c454 globals = PyThreadState_Get()->interp->sysdict; in setup_context()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Dpystate.c60 PyInterpreterState *interp = (PyInterpreterState *) in PyInterpreterState_New() local
63 if (interp != NULL) { in PyInterpreterState_New()
69 interp->modules = NULL; in PyInterpreterState_New()
70 interp->modules_reloading = NULL; in PyInterpreterState_New()
71 interp->sysdict = NULL; in PyInterpreterState_New()
72 interp->builtins = NULL; in PyInterpreterState_New()
73 interp->tstate_head = NULL; in PyInterpreterState_New()
74 interp->codec_search_path = NULL; in PyInterpreterState_New()
75 interp->codec_search_cache = NULL; in PyInterpreterState_New()
76 interp->codec_error_registry = NULL; in PyInterpreterState_New()
[all …]
Dcodecs.c31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() local
32 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in PyCodec_Register()
42 return PyList_Append(interp->codec_search_path, search_function); in PyCodec_Register()
96 PyInterpreterState *interp; in _PyCodec_Lookup() local
105 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
106 if (interp->codec_search_path == NULL && _PyCodecRegistry_Init()) in _PyCodec_Lookup()
118 result = PyDict_GetItem(interp->codec_search_cache, v); in _PyCodec_Lookup()
131 len = PyList_Size(interp->codec_search_path); in _PyCodec_Lookup()
144 func = PyList_GetItem(interp->codec_search_path, i); in _PyCodec_Lookup()
170 PyDict_SetItem(interp->codec_search_cache, v, result); in _PyCodec_Lookup()
[all …]
Dpythonrun.c143 PyInterpreterState *interp; in Py_InitializeEx() local
182 interp = PyInterpreterState_New(); in Py_InitializeEx()
183 if (interp == NULL) in Py_InitializeEx()
186 tstate = PyThreadState_New(interp); in Py_InitializeEx()
207 interp->modules = PyDict_New(); in Py_InitializeEx()
208 if (interp->modules == NULL) in Py_InitializeEx()
210 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
211 if (interp->modules_reloading == NULL) in Py_InitializeEx()
222 interp->builtins = PyModule_GetDict(bimod); in Py_InitializeEx()
223 if (interp->builtins == NULL) in Py_InitializeEx()
[all …]
Dsysmodule.c53 PyObject *sd = tstate->interp->sysdict; in PySys_GetObject()
75 PyObject *sd = tstate->interp->sysdict; in PySys_SetObject()
90 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_displayhook() local
91 PyObject *modules = interp->modules; in sys_displayhook()
500 tstate->interp->tscdump = 1; in sys_settscdump()
502 tstate->interp->tscdump = 0; in sys_settscdump()
637 tstate->interp->dlopenflags = new_val; in sys_setdlopenflags()
660 return PyInt_FromLong(tstate->interp->dlopenflags); in sys_getdlopenflags()
Dimport.c389 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear() local
390 if (interp->modules_reloading != NULL) in imp_modules_reloading_clear()
391 PyDict_Clear(interp->modules_reloading); in imp_modules_reloading_clear()
399 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() local
400 if (interp->modules == NULL) in PyImport_GetModuleDict()
402 return interp->modules; in PyImport_GetModuleDict()
433 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() local
434 PyObject *modules = interp->modules; in PyImport_Cleanup()
553 interp->modules = NULL; in PyImport_Cleanup()
555 Py_CLEAR(interp->modules_reloading); in PyImport_Cleanup()
[all …]
Dmodsupport.c37 PyInterpreterState *interp = PyThreadState_Get()->interp; in Py_InitModule4() local
38 if (interp->modules == NULL) in Py_InitModule4()
D_warnings.c454 globals = PyThreadState_Get()->interp->sysdict; in setup_context()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_tcl.py24 self.interp = Tcl()
27 tcl = self.interp
32 tcl = self.interp
36 tcl = self.interp
40 tcl = self.interp
45 tcl = self.interp
49 tcl = self.interp
53 tcl = self.interp
58 tcl = self.interp
63 tcl = self.interp
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DCGIHTTPServer.py261 interp = sys.executable
262 if interp.lower().endswith("w.exe"):
264 interp = interp[:-5] + interp[-4:]
265 cmdline = [interp, '-u'] + cmdline
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dthreadmodule.c400 && tstate->interp) { in local_clear()
401 for(tstate = PyInterpreterState_ThreadHead(tstate->interp); in local_clear()
595 PyInterpreterState *interp; member
672 boot->interp = PyThreadState_GET()->interp; in thread_PyThread_start_new_thread()
676 boot->tstate = _PyThreadState_Prealloc(boot->interp); in thread_PyThread_start_new_thread()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dframeobject.h59 ((f)->f_builtins != (f)->f_tstate->interp->builtins)
Dpystate.h60 PyInterpreterState *interp; member
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dframeobject.h59 ((f)->f_builtins != (f)->f_tstate->interp->builtins)
Dpystate.h60 PyInterpreterState *interp; member
/device/linaro/bootloader/edk2/ArmVirtPkg/PrePi/Scripts/
DPrePi-PIE.lds36 *(.interp)
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/
Dimport.c357 PyInterpreterState *interp = PyThreadState_Get()->interp; in imp_modules_reloading_clear() local
358 if (interp->modules_reloading != NULL) in imp_modules_reloading_clear()
359 PyDict_Clear(interp->modules_reloading); in imp_modules_reloading_clear()
367 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() local
368 if (interp->modules == NULL) in PyImport_GetModuleDict()
370 return interp->modules; in PyImport_GetModuleDict()
401 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() local
402 PyObject *modules = interp->modules; in PyImport_Cleanup()
521 interp->modules = NULL; in PyImport_Cleanup()
523 Py_CLEAR(interp->modules_reloading); in PyImport_Cleanup()
[all …]
/device/linaro/bootloader/edk2/BaseTools/Scripts/
DGccBase.lds63 *(.interp)

12