Searched refs:PyThreadState_GET (Results 1 – 20 of 20) sorted by relevance
49 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \52 (--PyThreadState_GET()->recursion_depth)
130 #define PyThreadState_GET() PyThreadState_Get() macro132 #define PyThreadState_GET() (_PyThreadState_Current) macro
1025 PyThreadState *_tstate = PyThreadState_GET(); \
172 if (_PyOS_ReadlineTState == PyThreadState_GET()) { in PyOS_Readline()193 _PyOS_ReadlineTState = PyThreadState_GET(); in PyOS_Readline()
52 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()
31 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()
27 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()
112 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_GetDynLoadFunc()
317 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 …]
108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here()
427 tstate = PyThreadState_GET(); in Py_Finalize()656 if (tstate != PyThreadState_GET()) in Py_EndInterpreter()1718 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown()
393 PyThreadState *tstate = PyThreadState_GET(); in PyThreadState_SetAsyncExc()
449 PyFrameObject *f = PyThreadState_GET()->frame; in setup_context()
399 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict()433 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup()
47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex()
2452 PyThreadState *tstate = PyThreadState_GET(); in _PyTrash_thread_deposit_object()2490 PyThreadState *tstate = PyThreadState_GET(); in _PyTrash_thread_destroy_chain()
925 PyThreadState *tstate = PyThreadState_GET(); in subtype_dealloc()
681 boot->interp = PyThreadState_GET()->interp; in thread_PyThread_start_new_thread()
339 PyThreadState *tstate = PyThreadState_GET(); in call_with_frame()
11093 - There's a new macro, PyThreadState_GET(), which does the same work