Home
last modified time | relevance | path

Searched refs:PyThreadState_GET (Results 1 – 20 of 20) sorted by relevance

/external/python/cpython2/Include/
Dceval.h49 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \
52 (--PyThreadState_GET()->recursion_depth)
Dpystate.h130 #define PyThreadState_GET() PyThreadState_Get() macro
132 #define PyThreadState_GET() (_PyThreadState_Current) macro
Dobject.h1025 PyThreadState *_tstate = PyThreadState_GET(); \
/external/python/cpython2/Parser/
Dmyreadline.c172 if (_PyOS_ReadlineTState == PyThreadState_GET()) { in PyOS_Readline()
193 _PyOS_ReadlineTState = PyThreadState_GET(); in PyOS_Readline()
/external/python/cpython2/Python/
Dsysmodule.c52 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject()
74 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject()
90 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_displayhook()
153 tstate = PyThreadState_GET(); in sys_exc_info()
179 tstate = PyThreadState_GET(); in sys_exc_clear()
408 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace()
447 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile()
632 PyThreadState *tstate = PyThreadState_GET(); in sys_setdlopenflags()
657 PyThreadState *tstate = PyThreadState_GET(); in sys_getdlopenflags()
815 PyFrameObject *f = PyThreadState_GET()->frame; in sys_getframe()
Dcodecs.c31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register()
105 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup()
565 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_RegisterError()
583 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_LookupError()
1001 PyInterpreterState *interp = PyThreadState_GET()->interp; in _PyCodecRegistry_Init()
Derrors.c27 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore()
78 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred()
227 tstate = PyThreadState_GET(); in PyErr_NormalizeException()
246 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch()
Ddynload_shlib.c112 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_GetDynLoadFunc()
Dceval.c317 tstate = PyThreadState_GET(); in PyEval_ReInitThreads()
620 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall()
802 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx()
3354 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalCodeEx()
3795 PyThreadState *tstate = PyThreadState_GET(); in do_raise()
4081 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetProfile()
4098 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetTrace()
4119 return PyThreadState_GET()->interp->builtins; in PyEval_GetBuiltins()
4147 PyThreadState *tstate = PyThreadState_GET(); in PyEval_GetFrame()
4329 PyThreadState *tstate = PyThreadState_GET(); in call_function()
[all …]
Dtraceback.c108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here()
Dpythonrun.c427 tstate = PyThreadState_GET(); in Py_Finalize()
656 if (tstate != PyThreadState_GET()) in Py_EndInterpreter()
1718 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown()
Dpystate.c393 PyThreadState *tstate = PyThreadState_GET(); in PyThreadState_SetAsyncExc()
D_warnings.c449 PyFrameObject *f = PyThreadState_GET()->frame; in setup_context()
Dimport.c399 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict()
433 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup()
/external/python/cpython2/Objects/
Dgenobject.c47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex()
Dobject.c2452 PyThreadState *tstate = PyThreadState_GET(); in _PyTrash_thread_deposit_object()
2490 PyThreadState *tstate = PyThreadState_GET(); in _PyTrash_thread_destroy_chain()
Dtypeobject.c925 PyThreadState *tstate = PyThreadState_GET(); in subtype_dealloc()
/external/python/cpython2/Modules/
Dthreadmodule.c681 boot->interp = PyThreadState_GET()->interp; in thread_PyThread_start_new_thread()
Dpyexpat.c339 PyThreadState *tstate = PyThreadState_GET(); in call_with_frame()
/external/python/cpython2/Misc/
DHISTORY11093 - There's a new macro, PyThreadState_GET(), which does the same work