Lines Matching refs:tstate
154 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex() local
214 Py_XINCREF(tstate->frame); in gen_send_ex()
216 f->f_back = tstate->frame; in gen_send_ex()
219 gen->gi_exc_state.previous_item = tstate->exc_info; in gen_send_ex()
220 tstate->exc_info = &gen->gi_exc_state; in gen_send_ex()
222 tstate->exc_info = gen->gi_exc_state.previous_item; in gen_send_ex()
229 assert(f->f_back == tstate->frame); in gen_send_ex()
1162 PyThreadState *tstate = PyThreadState_GET(); in PyCoro_New() local
1163 int origin_depth = tstate->coroutine_origin_tracking_depth; in PyCoro_New()
1262 PyThreadState *tstate; in async_gen_init_hooks() local
1272 tstate = PyThreadState_GET(); in async_gen_init_hooks()
1274 finalizer = tstate->async_gen_finalizer; in async_gen_init_hooks()
1280 firstiter = tstate->async_gen_firstiter; in async_gen_init_hooks()