Home
last modified time | relevance | path

Searched defs:tstate (Results 1 – 25 of 48) sorted by relevance

12

/external/python/cpython3/Python/
Dpystate.c339 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp); in _PyInterpreterState_IDDecref() local
358 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate() local
440 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init()
565 PyThreadState_Clear(PyThreadState *tstate) in PyThreadState_Clear()
605 tstate_delete_common(PyThreadState *tstate) in tstate_delete_common()
629 PyThreadState_Delete(PyThreadState *tstate) in PyThreadState_Delete()
645 PyThreadState *tstate = GET_TSTATE(); in PyThreadState_DeleteCurrent() local
668 _PyThreadState_DeleteExcept(PyThreadState *tstate) in _PyThreadState_DeleteExcept()
707 PyThreadState *tstate = GET_TSTATE(); in PyThreadState_Get() local
749 PyThreadState *tstate = GET_TSTATE(); in PyThreadState_GetDict() local
[all …]
Dceval.c178 PyThreadState *tstate = PyThreadState_GET(); in PyEval_AcquireLock() local
196 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread()
209 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread()
255 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread() local
264 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread()
470 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall() local
546 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx() local
563 PyThreadState *tstate = PyThreadState_GET(); in _PyEval_EvalFrameDefault() local
3676 PyThreadState *tstate; in _PyEval_EvalCodeWithName() local
3990 PyThreadState *tstate = PyThreadState_GET(); in do_raise() local
[all …]
Dsysmodule.c59 PyThreadState *tstate = PyThreadState_GET(); in _PySys_GetObjectId() local
69 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject() local
79 PyThreadState *tstate = PyThreadState_GET(); in _PySys_SetObjectId() local
94 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject() local
578 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace() local
616 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile() local
710 PyThreadState *tstate; in sys_setrecursionlimit() local
1168 PyThreadState *tstate = PyThreadState_GET(); in sys_setdlopenflags() local
1190 PyThreadState *tstate = PyThreadState_GET(); in sys_getdlopenflags() local
1736 PyThreadState *tstate = PyThreadState_GET(); in _PySys_ReadPreInitOptions() local
[all …]
Dceval_gil.h149 static void drop_gil(PyThreadState *tstate) in drop_gil()
191 static void take_gil(PyThreadState *tstate) in take_gil()
Derrors.c31 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore() local
57 _PyErr_GetTopmostException(PyThreadState *tstate) in _PyErr_GetTopmostException()
85 PyThreadState *tstate = PyThreadState_GET(); in PyErr_SetObject() local
178 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred() local
337 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch() local
357 PyThreadState *tstate = PyThreadState_GET(); in PyErr_GetExcInfo() local
374 PyThreadState *tstate = PyThreadState_GET(); in PyErr_SetExcInfo() local
Dpylifecycle.c643 PyThreadState *tstate = PyThreadState_GET(); in _Py_InitializeCore_impl() local
718 PyThreadState *tstate = PyThreadState_New(interp); in _Py_InitializeCore_impl() local
1123 PyThreadState *tstate; in Py_FinalizeEx() local
1357 PyThreadState *tstate, *save_tstate; in new_interpreter() local
1512 PyThreadState *tstate; in Py_NewInterpreter() local
1534 Py_EndInterpreter(PyThreadState *tstate) in Py_EndInterpreter()
2135 PyThreadState *tstate = PyThreadState_GET(); in fatal_error() local
Dtraceback.c784 dump_traceback(int fd, PyThreadState *tstate, int write_header) in dump_traceback()
817 _Py_DumpTraceback(int fd, PyThreadState *tstate) in _Py_DumpTraceback()
828 write_thread_id(int fd, PyThreadState *tstate, int is_current) in write_thread_id()
850 PyThreadState *tstate; in _Py_DumpTracebackThreads() local
Dthread_nt.h193 PyThreadState *tstate = PyThreadState_GET(); in PyThread_start_new_thread() local
/external/python/cpython2/Python/
Dpystate.c159 PyThreadState *tstate = (PyThreadState *)malloc(sizeof(PyThreadState)); in new_threadstate() local
223 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init()
231 PyThreadState_Clear(PyThreadState *tstate) in PyThreadState_Clear()
259 tstate_delete_common(PyThreadState *tstate) in tstate_delete_common()
297 PyThreadState_Delete(PyThreadState *tstate) in PyThreadState_Delete()
313 PyThreadState *tstate = _PyThreadState_Current; in PyThreadState_DeleteCurrent() local
393 PyThreadState *tstate = PyThreadState_GET(); in PyThreadState_SetAsyncExc() local
446 PyThreadState_Next(PyThreadState *tstate) { in PyThreadState_Next()
510 PyThreadState_IsCurrent(PyThreadState *tstate) in PyThreadState_IsCurrent()
548 _PyGILState_NoteThreadState(PyThreadState* tstate) in _PyGILState_NoteThreadState()
Dsysmodule.c52 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject() local
74 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject() local
152 PyThreadState *tstate; in sys_exc_info() local
172 PyThreadState *tstate; in sys_exc_clear() local
304 call_trampoline(PyThreadState *tstate, PyObject* callback, in call_trampoline()
339 PyThreadState *tstate = frame->f_tstate; in profile_trampoline() local
357 PyThreadState *tstate = frame->f_tstate; in trace_trampoline() local
408 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace() local
447 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile() local
495 PyThreadState *tstate = PyThreadState_Get(); in sys_settscdump() local
[all …]
Dceval.c86 PyThreadState *tstate = PyThreadState_Get(); in dump_tsc() local
271 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread()
284 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread()
302 PyThreadState *tstate; in PyEval_ReInitThreads() local
341 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread() local
352 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread()
620 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall() local
810 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx() local
3374 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalCodeEx() local
3719 set_exc_info(PyThreadState *tstate, in set_exc_info()
[all …]
Derrors.c27 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore() local
78 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred() local
151 PyThreadState *tstate = NULL; in PyErr_NormalizeException() local
246 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch() local
Dpythonrun.c165 PyThreadState *tstate; in Py_InitializeEx() local
414 PyThreadState *tstate; in Py_Finalize() local
588 PyThreadState *tstate, *save_tstate; in Py_NewInterpreter() local
661 Py_EndInterpreter(PyThreadState *tstate) in Py_EndInterpreter()
1730 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown() local
Dtraceback.c108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here() local
/external/python/cpython3/Modules/
D_threadmodule.c768 PyThreadState *tstate; in local_clear() local
979 PyThreadState *tstate; member
986 PyThreadState *tstate; in t_bootstrap() local
1159 PyThreadState *tstate = PyThreadState_Get(); in thread__count() local
1200 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel() local
1353 PyThreadState *tstate = PyThreadState_Get(); in PyInit__thread() local
Dfaulthandler.c207 PyThreadState *tstate = _PyThreadState_UncheckedGet(); in get_thread_state() local
222 PyThreadState *tstate; in faulthandler_dump_traceback() local
257 PyThreadState *tstate; in faulthandler_dump_traceback_py() local
488 PyThreadState *tstate; in faulthandler_py_enable() local
651 PyThreadState *tstate; in faulthandler_dump_traceback_later() local
833 PyThreadState *tstate; in faulthandler_register_py() local
/external/python/cpython2/Modules/
Dthreadmodule.c398 PyThreadState *tstate; in local_clear() local
605 PyThreadState *tstate; member
612 PyThreadState *tstate; in t_bootstrap() local
Dpyexpat.c273 trace_frame(PyThreadState *tstate, PyFrameObject *f, int code, PyObject *val) in trace_frame()
300 trace_frame_exc(PyThreadState *tstate, PyFrameObject *f) in trace_frame_exc()
339 PyThreadState *tstate = PyThreadState_GET(); in call_with_frame() local
/external/ppp/pppd/include/net/
Dvjcompress.h126 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
Dslcompress.h134 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
/external/python/cpython2/Objects/
Dgenobject.c47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex() local
/external/python/cpython2/Demo/pysvr/
Dpysvr.c278 PyThreadState *tstate; in run_interpreter() local
/external/python/cpython3/Include/internal/
Dpystate.h121 #define _Py_CURRENTLY_FINALIZING(tstate) \ argument
/external/python/cpython3/Objects/
Dframeobject.c657 _PyFrame_New_NoTrack(PyThreadState *tstate, PyCodeObject *code, in _PyFrame_New_NoTrack()
783 PyFrame_New(PyThreadState *tstate, PyCodeObject *code, in PyFrame_New()
Dgenobject.c154 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex() local
1162 PyThreadState *tstate = PyThreadState_GET(); in PyCoro_New() local
1262 PyThreadState *tstate; in async_gen_init_hooks() local

12