Lines Matching refs:PyThreadState
57 PyThreadState *tstate, PyTraceInfo *, PyObject ***pp_stack,
60 PyThreadState *tstate, PyTraceInfo *, PyObject *func,
65 static int prtrace(PyThreadState *, PyObject *, const char *);
68 PyThreadState *, PyFrameObject *,
72 PyThreadState *, PyFrameObject *,
76 PyThreadState *, PyFrameObject *,
79 PyThreadState *, PyFrameObject *,
85 static PyObject * import_name(PyThreadState *, PyFrameObject *,
87 static PyObject * import_from(PyThreadState *, PyObject *, PyObject *);
88 static int import_all_from(PyThreadState *, PyObject *, PyObject *);
89 static void format_exc_check_arg(PyThreadState *, PyObject *, const char *, PyObject *);
90 static void format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg);
91 static PyObject * unicode_concatenate(PyThreadState *, PyObject *, PyObject *,
93 static PyObject * special_lookup(PyThreadState *, PyObject *, _Py_Identifier *);
94 static int check_args_iterable(PyThreadState *, PyObject *func, PyObject *vararg);
95 static void format_kwargs_error(PyThreadState *, PyObject *func, PyObject *kwargs);
96 static void format_awaitable_error(PyThreadState *, PyTypeObject *, int, int);
152 is_tstate_valid(PyThreadState *tstate) in is_tstate_valid()
307 _PyEval_InitGIL(PyThreadState *tstate) in _PyEval_InitGIL()
419 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_AcquireLock()
429 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_ReleaseLock()
439 _PyEval_ReleaseLock(PyThreadState *tstate) in _PyEval_ReleaseLock()
447 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread()
464 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread()
469 PyThreadState *new_tstate = _PyThreadState_Swap(&runtime->gilstate, NULL); in PyEval_ReleaseThread()
483 _PyEval_ReInitThreads(PyThreadState *tstate) in _PyEval_ReInitThreads()
519 PyThreadState *
524 PyThreadState *old_tstate = _PyThreadState_GET(); in PyEval_SaveThread()
525 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, old_tstate); in PyEval_SaveThread()
527 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, NULL); in PyEval_SaveThread()
543 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread()
667 PyThreadState *tstate = _PyThreadState_GET(); in Py_AddPendingCall()
684 handle_signals(PyThreadState *tstate) in handle_signals()
751 _Py_FinishPendingCalls(PyThreadState *tstate) in _Py_FinishPendingCalls()
778 PyThreadState *tstate = _PyThreadState_GET(); in Py_MakePendingCalls()
850 PyThreadState *tstate = _PyThreadState_GET(); in Py_SetRecursionLimit()
860 _Py_CheckRecursiveCall(PyThreadState *tstate, const char *where) in _Py_CheckRecursiveCall()
899 match_keys(PyThreadState *tstate, PyObject *map, PyObject *keys) in match_keys()
977 match_class_attr(PyThreadState *tstate, PyObject *subject, PyObject *type, in match_class_attr()
1001 match_class(PyThreadState *tstate, PyObject *subject, PyObject *type, in match_class()
1109 static int do_raise(PyThreadState *tstate, PyObject *exc, PyObject *cause);
1110 static int unpack_iterable(PyThreadState *, PyObject *, int, int, PyObject **);
1116 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalCode()
1144 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_EvalFrame()
1151 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_EvalFrameEx()
1159 eval_frame_handle_pending(PyThreadState *tstate) in eval_frame_handle_pending()
1577 _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int throwflag) in _PyEval_EvalFrameDefault()
4555 format_missing(PyThreadState *tstate, const char *kind, in format_missing()
4618 missing_arguments(PyThreadState *tstate, PyCodeObject *co, in missing_arguments()
4657 too_many_positional(PyThreadState *tstate, PyCodeObject *co, in too_many_positional()
4715 positional_only_passed_as_keyword(PyThreadState *tstate, PyCodeObject *co, in positional_only_passed_as_keyword()
4778 _PyEval_MakeFrameVector(PyThreadState *tstate, in _PyEval_MakeFrameVector()
5052 _PyEval_Vector(PyThreadState *tstate, PyFrameConstructor *con, in _PyEval_Vector()
5092 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_EvalCodeEx()
5157 special_lookup(PyThreadState *tstate, PyObject *o, _Py_Identifier *id) in special_lookup()
5172 do_raise(PyThreadState *tstate, PyObject *exc, PyObject *cause) in do_raise()
5275 unpack_iterable(PyThreadState *tstate, PyObject *v, in unpack_iterable()
5369 prtrace(PyThreadState *tstate, PyObject *v, const char *str) in prtrace()
5386 PyThreadState *tstate, in call_exc_trace()
5418 PyThreadState *tstate, PyFrameObject *frame, in call_trace_protected()
5450 PyThreadState *tstate, PyFrameObject *frame, in call_trace()
5477 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_CallTracing()
5494 PyThreadState *tstate, PyFrameObject *frame, in maybe_call_line_trace()
5520 _PyEval_SetProfile(PyThreadState *tstate, Py_tracefunc func, PyObject *arg) in _PyEval_SetProfile()
5528 PyThreadState *current_tstate = _PyThreadState_GET(); in _PyEval_SetProfile()
5553 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_SetProfile()
5561 _PyEval_SetTrace(PyThreadState *tstate, Py_tracefunc func, PyObject *arg) in _PyEval_SetTrace()
5569 PyThreadState *current_tstate = _PyThreadState_GET(); in _PyEval_SetTrace()
5596 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_SetTrace()
5605 _PyEval_SetCoroutineOriginTrackingDepth(PyThreadState *tstate, int new_depth) in _PyEval_SetCoroutineOriginTrackingDepth()
5614 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetCoroutineOriginTrackingDepth()
5621 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SetAsyncGenFirstiter()
5635 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetAsyncGenFirstiter()
5642 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SetAsyncGenFinalizer()
5656 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetAsyncGenFinalizer()
5663 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_GetFrame()
5668 _PyEval_GetBuiltins(PyThreadState *tstate) in _PyEval_GetBuiltins()
5680 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_GetBuiltins()
5688 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetBuiltinId()
5702 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_GetLocals()
5720 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_GetGlobals()
5733 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_MergeCompilerFlags()
5814 trace_call_function(PyThreadState *tstate, in trace_call_function()
5850 call_function(PyThreadState *tstate, in Py_LOCAL_INLINE()
5882 do_call_core(PyThreadState *tstate, in do_call_core()
5931 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SliceIndex()
5953 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SliceIndexNotNone()
5971 import_name(PyThreadState *tstate, PyFrameObject *f, in import_name()
6014 import_from(PyThreadState *tstate, PyObject *v, PyObject *name) in import_from()
6088 import_all_from(PyThreadState *tstate, PyObject *locals, PyObject *v) in import_all_from()
6179 check_args_iterable(PyThreadState *tstate, PyObject *func, PyObject *args) in check_args_iterable()
6199 format_kwargs_error(PyThreadState *tstate, PyObject *func, PyObject *kwargs) in format_kwargs_error()
6243 format_exc_check_arg(PyThreadState *tstate, PyObject *exc, in format_exc_check_arg()
6276 format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg) in format_exc_unbound()
6298 format_awaitable_error(PyThreadState *tstate, PyTypeObject *type, int prevprevopcode, int prevopcod… in format_awaitable_error()
6317 unicode_concatenate(PyThreadState *tstate, PyObject *v, PyObject *w, in unicode_concatenate()