Lines Matching refs:tstate
161 PyThreadState *tstate = _PyThreadState_GET();
162 file = _PySys_GetAttr(tstate, &_Py_ID(stderr));
219 PyThreadState *tstate = _PyThreadState_GET();
220 if (tstate == NULL) {
226 return tstate;
234 PyThreadState *tstate;
249 tstate = PyGILState_GetThisThreadState();
252 (void)_Py_DumpTracebackThreads(fd, NULL, tstate);
255 if (tstate != NULL)
256 _Py_DumpTraceback(fd, tstate);
269 PyThreadState *tstate;
282 tstate = get_thread_state();
283 if (tstate == NULL)
287 errmsg = _Py_DumpTracebackThreads(fd, NULL, tstate);
294 _Py_DumpTraceback(fd, tstate);
547 PyThreadState *tstate;
557 tstate = get_thread_state();
558 if (tstate == NULL)
565 fatal_error.interp = PyThreadState_GetInterpreter(tstate);
713 PyThreadState *tstate;
738 tstate = get_thread_state();
739 if (tstate == NULL) {
781 thread.interp = PyThreadState_GetInterpreter(tstate);
916 PyThreadState *tstate;
927 tstate = get_thread_state();
928 if (tstate == NULL)
963 user->interp = PyThreadState_GetInterpreter(tstate);