Home
last modified time | relevance | path

Searched refs:_PyThreadState_GET (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython3/Python/
Derrors.c69 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Restore()
166 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetObject()
176 PyThreadState *tstate = _PyThreadState_GET(); in _PyErr_SetKeyError()
196 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetNone()
213 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetString()
221 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Occurred()
268 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_ExceptionMatches()
390 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_NormalizeException()
412 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Fetch()
427 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Clear()
[all …]
Dsysmodule.c119 PyThreadState *ts = _PyThreadState_GET(); in should_audit()
149 PyThreadState *ts = _PyThreadState_GET(); in PySys_Audit()
670 _PyErr_StackItem *err_info = _PyErr_GetTopmostException(_PyThreadState_GET()); in sys_exc_info_impl()
933 PyThreadState *tstate = _PyThreadState_GET(); in sys_gettrace_impl()
973 PyThreadState *tstate = _PyThreadState_GET(); in sys_getprofile_impl()
1109 tstate = _PyThreadState_GET(); in sys_setrecursionlimit_impl()
1718 PyFrameObject *f = _PyThreadState_GET()->frame; in sys__getframe_impl()
2139 PyThreadState *tstate = _PyThreadState_GET(); in PySys_ResetWarnOptions()
2178 PyThreadState *tstate = _PyThreadState_GET(); in PySys_AddWarnOption()
2265 PyThreadState *tstate = _PyThreadState_GET(); in PySys_AddXOption()
Dcontext.c116 PyThreadState *ts = _PyThreadState_GET(); in PyContext_Enter()
142 PyThreadState *ts = _PyThreadState_GET(); in PyContext_Exit()
182 PyThreadState *ts = _PyThreadState_GET(); in PyContextVar_Get()
386 PyThreadState *ts = _PyThreadState_GET(); in context_get()
Dceval.c4062 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_EvalCodeWithName()
4634 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_CallTracing()
4692 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_SetProfile()
4734 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SetCoroutineOriginTrackingDepth()
4741 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetCoroutineOriginTrackingDepth()
4748 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SetAsyncGenFirstiter()
4761 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetAsyncGenFirstiter()
4768 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_SetAsyncGenFinalizer()
4781 PyThreadState *tstate = _PyThreadState_GET(); in _PyEval_GetAsyncGenFinalizer()
4794 PyThreadState *tstate = _PyThreadState_GET(); in PyEval_GetFrame()
[all …]
Dpystate.c401 PyThreadState *tstate = _PyThreadState_GET(); in _PyInterpreterState_Get()
915 return _PyThreadState_GET(); in _PyThreadState_UncheckedGet()
922 PyThreadState *tstate = _PyThreadState_GET(); in PyThreadState_Get()
970 PyThreadState *tstate = _PyThreadState_GET(); in PyThreadState_GetDict()
Dthread_nt.h197 PyThreadState *tstate = _PyThreadState_GET(); in PyThread_start_new_thread()
Dthread_pthread.h257 PyThreadState *tstate = _PyThreadState_GET(); in PyThread_start_new_thread()
Dpylifecycle.c455 PyThreadState *tstate = _PyThreadState_GET(); in pyinit_core_reconfigure()
1590 if (tstate != _PyThreadState_GET()) in Py_EndInterpreter()
D_warnings.c823 PyFrameObject *f = _PyThreadState_GET()->frame; in setup_context()
Dpythonrun.c762 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_PrintEx()
Dsymtable.c282 tstate = _PyThreadState_GET(); in PySymtable_BuildObject()
/external/python/cpython3/Include/internal/
Dpycore_pystate.h285 #define _PyThreadState_GET() _PyRuntimeState_GetThreadState(&_PyRuntime) macro
289 #define PyThreadState_GET() _PyThreadState_GET()
299 #define _PyInterpreterState_GET_UNSAFE() (_PyThreadState_GET()->interp)
/external/python/cpython3/Parser/
Dmyreadline.c327 if (_PyOS_ReadlineTState == _PyThreadState_GET()) { in PyOS_Readline()
346 _PyOS_ReadlineTState = _PyThreadState_GET(); in PyOS_Readline()
/external/python/cpython3/Objects/
Dgenobject.c155 PyThreadState *tstate = _PyThreadState_GET(); in gen_send_ex()
1159 PyThreadState *tstate = _PyThreadState_GET(); in PyCoro_New()
1269 tstate = _PyThreadState_GET(); in async_gen_init_hooks()
Dobject.c2072 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_deposit_object()
2110 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_destroy_chain()
Dcall.c261 PyThreadState *tstate = _PyThreadState_GET(); in function_code_fastcall()
Ddictobject.c1381 tstate = _PyThreadState_GET(); in PyDict_GetItem()
Dtypeobject.c7832 f = _PyThreadState_GET()->frame; in super_init()