Lines Matching defs:tstate
154 PyThreadState *tstate = _PyThreadState_GET();
208 frame->previous = tstate->cframe->current_frame;
210 gen->gi_exc_state.previous_item = tstate->exc_info;
211 tstate->exc_info = &gen->gi_exc_state;
214 assert(_PyErr_Occurred(tstate));
219 result = _PyEval_EvalFrame(tstate, frame, exc);
223 tstate->exc_info = gen->gi_exc_state.previous_item;
226 assert(tstate->cframe->current_frame == frame->previous);
447 PyThreadState *tstate = _PyThreadState_GET();
453 _PyInterpreterFrame *prev = tstate->cframe->current_frame;
455 tstate->cframe->current_frame = frame;
463 tstate->cframe->current_frame = prev;
944 PyThreadState *tstate = _PyThreadState_GET();
945 int origin_depth = tstate->coroutine_origin_tracking_depth;
1367 PyThreadState *tstate = _PyThreadState_GET();
1368 int origin_depth = tstate->coroutine_origin_tracking_depth;
1451 PyThreadState *tstate;
1461 tstate = _PyThreadState_GET();
1463 finalizer = tstate->async_gen_finalizer;
1469 firstiter = tstate->async_gen_firstiter;