• Home
  • Raw
  • Download

Lines Matching refs:tstate

12 _PyStack_UnpackDict(PyThreadState *tstate,
22 null_error(PyThreadState *tstate) in null_error() argument
24 if (!_PyErr_Occurred(tstate)) { in null_error()
25 _PyErr_SetString(tstate, PyExc_SystemError, in null_error()
33 _Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable, in _Py_CheckFunctionResult() argument
39 if (!_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()
41 _PyErr_Format(tstate, PyExc_SystemError, in _Py_CheckFunctionResult()
45 _PyErr_Format(tstate, PyExc_SystemError, in _Py_CheckFunctionResult()
57 if (_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()
62 tstate, PyExc_SystemError, in _Py_CheckFunctionResult()
67 tstate, PyExc_SystemError, in _Py_CheckFunctionResult()
85 PyThreadState *tstate = _PyThreadState_GET(); in _Py_CheckSlotResult() local
87 if (!_PyErr_Occurred(tstate)) { in _Py_CheckSlotResult()
95 if (_PyErr_Occurred(tstate)) { in _Py_CheckSlotResult()
112 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallNoArgs() local
113 return _PyObject_CallNoArgTstate(tstate, func); in PyObject_CallNoArgs()
118 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate() argument
127 assert(!_PyErr_Occurred(tstate)); in _PyObject_FastCallDictTstate()
137 return _PyObject_MakeTpCall(tstate, callable, args, nargs, kwargs); in _PyObject_FastCallDictTstate()
147 newargs = _PyStack_UnpackDict(tstate, in _PyObject_FastCallDictTstate()
157 return _Py_CheckFunctionResult(tstate, callable, res, NULL); in _PyObject_FastCallDictTstate()
165 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_VectorcallDict() local
166 return _PyObject_FastCallDictTstate(tstate, callable, args, nargsf, kwargs); in PyObject_VectorcallDict()
171 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall() argument
183 _PyErr_Format(tstate, PyExc_TypeError, in _PyObject_MakeTpCall()
213 if (_Py_EnterRecursiveCall(tstate, " while calling a Python object") == 0) in _PyObject_MakeTpCall()
216 _Py_LeaveRecursiveCall(tstate); in _PyObject_MakeTpCall()
224 return _Py_CheckFunctionResult(tstate, callable, result, NULL); in _PyObject_MakeTpCall()
231 PyThreadState *tstate = _PyThreadState_GET(); in PyVectorcall_Call() local
238 _PyErr_Format(tstate, PyExc_TypeError, in PyVectorcall_Call()
245 _PyErr_Format(tstate, PyExc_TypeError, in PyVectorcall_Call()
261 args = _PyStack_UnpackDict(tstate, in PyVectorcall_Call()
271 return _Py_CheckFunctionResult(tstate, callable, result, NULL); in PyVectorcall_Call()
276 _PyObject_Call(PyThreadState *tstate, PyObject *callable, in _PyObject_Call() argument
285 assert(!_PyErr_Occurred(tstate)); in _PyObject_Call()
295 _PyErr_Format(tstate, PyExc_TypeError, in _PyObject_Call()
301 if (_Py_EnterRecursiveCall(tstate, " while calling a Python object")) { in _PyObject_Call()
307 _Py_LeaveRecursiveCall(tstate); in _PyObject_Call()
309 return _Py_CheckFunctionResult(tstate, callable, result, NULL); in _PyObject_Call()
316 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Call() local
317 return _PyObject_Call(tstate, callable, args, kwargs); in PyObject_Call()
324 PyThreadState *tstate = _PyThreadState_GET(); in PyCFunction_Call() local
325 return _PyObject_Call(tstate, callable, args, kwargs); in PyCFunction_Call()
339 PyThreadState *tstate = _PyThreadState_GET(); in _PyFunction_Vectorcall() local
342 return _PyEval_Vector(tstate, f, NULL, stack, nargs, kwnames); in _PyFunction_Vectorcall()
345 return _PyEval_Vector(tstate, f, f->fc_globals, stack, nargs, kwnames); in _PyFunction_Vectorcall()
357 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_CallObjectWithKeywords() local
362 assert(!_PyErr_Occurred(tstate)); in PyEval_CallObjectWithKeywords()
366 _PyErr_SetString(tstate, PyExc_TypeError, in PyEval_CallObjectWithKeywords()
372 _PyErr_SetString(tstate, PyExc_TypeError, in PyEval_CallObjectWithKeywords()
378 return _PyObject_FastCallDictTstate(tstate, callable, NULL, 0, kwargs); in PyEval_CallObjectWithKeywords()
381 return _PyObject_Call(tstate, callable, args, kwargs); in PyEval_CallObjectWithKeywords()
389 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallObject() local
390 assert(!_PyErr_Occurred(tstate)); in PyObject_CallObject()
392 return _PyObject_CallNoArgTstate(tstate, callable); in PyObject_CallObject()
395 _PyErr_SetString(tstate, PyExc_TypeError, in PyObject_CallObject()
399 return _PyObject_Call(tstate, callable, args, NULL); in PyObject_CallObject()
405 _PyObject_Call_Prepend(PyThreadState *tstate, PyObject *callable, in _PyObject_Call_Prepend() argument
431 PyObject *result = _PyObject_FastCallDictTstate(tstate, callable, in _PyObject_Call_Prepend()
444 _PyObject_CallFunctionVa(PyThreadState *tstate, PyObject *callable, in _PyObject_CallFunctionVa() argument
454 return null_error(tstate); in _PyObject_CallFunctionVa()
458 return _PyObject_CallNoArgTstate(tstate, callable); in _PyObject_CallFunctionVa()
479 result = _PyObject_VectorcallTstate(tstate, callable, in _PyObject_CallFunctionVa()
485 result = _PyObject_VectorcallTstate(tstate, callable, in _PyObject_CallFunctionVa()
504 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallFunction() local
507 result = _PyObject_CallFunctionVa(tstate, callable, format, va, 0); in PyObject_CallFunction()
522 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_CallFunction() local
525 result = _PyObject_CallFunctionVa(tstate, callable, format, va, 0); in PyEval_CallFunction()
535 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_CallFunction_SizeT() local
539 PyObject *result = _PyObject_CallFunctionVa(tstate, callable, format, va, 1); in _PyObject_CallFunction_SizeT()
547 callmethod(PyThreadState *tstate, PyObject* callable, const char *format, va_list va, int is_size_t) in callmethod() argument
551 _PyErr_Format(tstate, PyExc_TypeError, in callmethod()
557 return _PyObject_CallFunctionVa(tstate, callable, format, va, is_size_t); in callmethod()
564 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallMethod() local
567 return null_error(tstate); in PyObject_CallMethod()
577 PyObject *retval = callmethod(tstate, callable, format, va, 0); in PyObject_CallMethod()
591 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_CallMethod() local
593 return null_error(tstate); in PyEval_CallMethod()
603 PyObject *retval = callmethod(tstate, callable, format, va, 0); in PyEval_CallMethod()
615 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_CallMethodId() local
617 return null_error(tstate); in _PyObject_CallMethodId()
627 PyObject *retval = callmethod(tstate, callable, format, va, 0); in _PyObject_CallMethodId()
639 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_CallMethod_SizeT() local
641 return null_error(tstate); in _PyObject_CallMethod_SizeT()
651 PyObject *retval = callmethod(tstate, callable, format, va, 1); in _PyObject_CallMethod_SizeT()
663 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_CallMethodId_SizeT() local
665 return null_error(tstate); in _PyObject_CallMethodId_SizeT()
675 PyObject *retval = callmethod(tstate, callable, format, va, 1); in _PyObject_CallMethodId_SizeT()
686 object_vacall(PyThreadState *tstate, PyObject *base, in object_vacall() argument
697 return null_error(tstate); in object_vacall()
734 result = _PyObject_VectorcallTstate(tstate, callable, stack, nargs, NULL); in object_vacall()
751 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_VectorcallMethod() local
770 PyObject *result = _PyObject_VectorcallTstate(tstate, callable, in PyObject_VectorcallMethod()
780 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallMethodObjArgs() local
782 return null_error(tstate); in PyObject_CallMethodObjArgs()
794 PyObject *result = object_vacall(tstate, obj, callable, vargs); in PyObject_CallMethodObjArgs()
806 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_CallMethodIdObjArgs() local
808 return null_error(tstate); in _PyObject_CallMethodIdObjArgs()
825 PyObject *result = object_vacall(tstate, obj, callable, vargs); in _PyObject_CallMethodIdObjArgs()
836 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallFunctionObjArgs() local
841 result = object_vacall(tstate, NULL, callable, vargs); in PyObject_CallFunctionObjArgs()
890 _PyStack_UnpackDict(PyThreadState *tstate, in _PyStack_UnpackDict() argument
904 _PyErr_NoMemory(tstate); in _PyStack_UnpackDict()
911 _PyErr_NoMemory(tstate); in _PyStack_UnpackDict()
951 _PyErr_SetString(tstate, PyExc_TypeError, in _PyStack_UnpackDict()