Home
last modified time | relevance | path

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

12

/external/python/cpython3/Python/
Dpystate.c183 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate() local
260 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init()
386 PyThreadState_Clear(PyThreadState *tstate) in PyThreadState_Clear()
418 tstate_delete_common(PyThreadState *tstate) in tstate_delete_common()
442 PyThreadState_Delete(PyThreadState *tstate) in PyThreadState_Delete()
458 PyThreadState *tstate = GET_TSTATE(); in PyThreadState_DeleteCurrent() local
479 _PyThreadState_DeleteExcept(PyThreadState *tstate) in _PyThreadState_DeleteExcept()
518 PyThreadState *tstate = GET_TSTATE(); in PyThreadState_Get() local
560 PyThreadState *tstate = GET_TSTATE(); in PyThreadState_GetDict() local
637 PyThreadState_Next(PyThreadState *tstate) { in PyThreadState_Next()
[all …]
Dceval.c250 PyThreadState *tstate = PyThreadState_GET(); in PyEval_AcquireLock() local
268 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread()
281 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread()
350 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread() local
361 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread()
635 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall() local
717 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx() local
734 PyThreadState *tstate = PyThreadState_GET(); in _PyEval_EvalFrameDefault() local
3876 PyThreadState *tstate; in _PyEval_EvalCodeWithName() local
4173 save_exc_state(PyThreadState *tstate, PyFrameObject *f) in save_exc_state()
[all …]
Dceval_gil.h172 static void drop_gil(PyThreadState *tstate) in drop_gil()
207 static void take_gil(PyThreadState *tstate) in take_gil()
Derrors.c30 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore() local
72 PyThreadState *tstate = PyThreadState_GET(); in PyErr_SetObject() local
164 PyThreadState *tstate = _PyThreadState_UncheckedGet(); in PyErr_Occurred() local
233 PyThreadState *tstate = NULL; in PyErr_NormalizeException() local
327 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch() local
347 PyThreadState *tstate = PyThreadState_GET(); in PyErr_GetExcInfo() local
362 PyThreadState *tstate = PyThreadState_GET(); in PyErr_SetExcInfo() local
Dsysmodule.c53 PyThreadState *tstate = PyThreadState_GET(); in _PySys_GetObjectId() local
63 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject() local
73 PyThreadState *tstate = PyThreadState_GET(); in _PySys_SetObjectId() local
88 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject() local
244 PyThreadState *tstate; in sys_exc_info() local
478 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace() local
517 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile() local
616 PyThreadState *tstate; in sys_setrecursionlimit() local
1029 PyThreadState *tstate = PyThreadState_GET(); in sys_setdlopenflags() local
1052 PyThreadState *tstate = PyThreadState_GET(); in sys_getdlopenflags() local
Dtraceback.c683 dump_traceback(int fd, PyThreadState *tstate, int write_header) in dump_traceback()
716 _Py_DumpTraceback(int fd, PyThreadState *tstate) in _Py_DumpTraceback()
727 write_thread_id(int fd, PyThreadState *tstate, int is_current) in write_thread_id()
749 PyThreadState *tstate; in _Py_DumpTracebackThreads() local
Dpylifecycle.c308 PyThreadState *tstate; in _Py_InitializeEx_Private() local
555 PyThreadState *tstate; in Py_FinalizeEx() local
769 PyThreadState *tstate, *save_tstate; in Py_NewInterpreter() local
871 Py_EndInterpreter(PyThreadState *tstate) in Py_EndInterpreter()
1493 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown() 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
802 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx() local
3354 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalCodeEx() local
3699 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
Dtraceback.c108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here() local
Dpythonrun.c158 PyThreadState *tstate; in Py_InitializeEx() local
407 PyThreadState *tstate; in Py_Finalize() local
579 PyThreadState *tstate, *save_tstate; in Py_NewInterpreter() local
652 Py_EndInterpreter(PyThreadState *tstate) in Py_EndInterpreter()
1718 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown() local
/external/python/cpython3/Modules/
Dfaulthandler.c205 PyThreadState *tstate = _PyThreadState_UncheckedGet(); in get_thread_state() local
220 PyThreadState *tstate; in faulthandler_dump_traceback() local
259 PyThreadState *tstate; in faulthandler_dump_traceback_py() local
476 PyThreadState *tstate; in faulthandler_py_enable() local
635 PyThreadState *tstate; in faulthandler_dump_traceback_later() local
811 PyThreadState *tstate; in faulthandler_register_py() local
D_threadmodule.c776 PyThreadState *tstate; in local_clear() local
983 PyThreadState *tstate; member
990 PyThreadState *tstate; in t_bootstrap() local
1206 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel() 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/syslinux/core/lwip/src/netif/ppp/
Dvj.c54 register struct cstate *tstate = comp->tstate; in vj_compress_init() local
Dvj.h143 struct cstate tstate[MAX_SLOTS]; /* xmit connection states */ member
/external/python/cpython2/Demo/pysvr/
Dpysvr.c278 PyThreadState *tstate; in run_interpreter() local
/external/python/cpython3/Objects/
Dcodeobject.c414 PyThreadState *tstate = PyThreadState_Get(); in code_dealloc() local
847 PyThreadState *tstate = PyThreadState_Get(); in _PyCode_SetExtra() local
Dmoduleobject.c653 PyThreadState *tstate = PyThreadState_GET(); in module_repr() local

12