/external/python/cpython2/Python/ |
D | pystate.c | 49 PyThreadState *_PyThreadState_Current = NULL; 53 static void _PyGILState_NoteThreadState(PyThreadState* tstate); 101 PyThreadState *p; in PyInterpreterState_Clear() 119 PyThreadState *p; in zapthreads() 151 threadstate_getframe(PyThreadState *self) in threadstate_getframe() 156 static PyThreadState * 159 PyThreadState *tstate = (PyThreadState *)malloc(sizeof(PyThreadState)); in new_threadstate() 210 PyThreadState * 216 PyThreadState * 223 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init() [all …]
|
D | sysmodule.c | 52 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject() 74 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject() 152 PyThreadState *tstate; in sys_exc_info() 172 PyThreadState *tstate; in sys_exc_clear() 304 call_trampoline(PyThreadState *tstate, PyObject* callback, in call_trampoline() 339 PyThreadState *tstate = frame->f_tstate; in profile_trampoline() 357 PyThreadState *tstate = frame->f_tstate; in trace_trampoline() 408 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace() 447 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile() 495 PyThreadState *tstate = PyThreadState_Get(); in sys_settscdump() [all …]
|
D | ceval.c | 86 PyThreadState *tstate = PyThreadState_Get(); in dump_tsc() 146 static void set_exc_info(PyThreadState *, PyObject *, PyObject *, PyObject *); 147 static void reset_exc_info(PyThreadState *); 271 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread() 284 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread() 302 PyThreadState *tstate; in PyEval_ReInitThreads() 338 PyThreadState * 341 PyThreadState *tstate = PyThreadState_Swap(NULL); in PyEval_SaveThread() 352 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread() 620 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall() [all …]
|
D | errors.c | 27 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore() 78 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred() 151 PyThreadState *tstate = NULL; in PyErr_NormalizeException() 246 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch()
|
D | pythonrun.c | 72 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); 158 PyThreadState *tstate; in Py_InitializeEx() 407 PyThreadState *tstate; in Py_Finalize() 575 PyThreadState * 579 PyThreadState *tstate, *save_tstate; in Py_NewInterpreter() 652 Py_EndInterpreter(PyThreadState *tstate) in Py_EndInterpreter() 1718 PyThreadState *tstate = PyThreadState_GET(); in wait_for_thread_shutdown()
|
D | traceback.c | 108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here()
|
/external/python/cpython2/Include/ |
D | pystate.h | 103 } PyThreadState; typedef 110 PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *); 111 PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *); 112 PyAPI_FUNC(void) _PyThreadState_Init(PyThreadState *); 113 PyAPI_FUNC(void) PyThreadState_Clear(PyThreadState *); 114 PyAPI_FUNC(void) PyThreadState_Delete(PyThreadState *); 119 PyAPI_FUNC(PyThreadState *) PyThreadState_Get(void); 120 PyAPI_FUNC(PyThreadState *) PyThreadState_Swap(PyThreadState *); 127 PyAPI_DATA(PyThreadState *) _PyThreadState_Current; 178 PyAPI_FUNC(PyThreadState *) PyGILState_GetThisThreadState(void); [all …]
|
D | ceval.h | 117 PyAPI_FUNC(PyThreadState *) PyEval_SaveThread(void); 118 PyAPI_FUNC(void) PyEval_RestoreThread(PyThreadState *); 126 PyAPI_FUNC(void) PyEval_AcquireThread(PyThreadState *tstate); 127 PyAPI_FUNC(void) PyEval_ReleaseThread(PyThreadState *tstate); 131 PyThreadState *_save; \
|
D | frameobject.h | 39 PyThreadState *f_tstate; 61 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
|
D | pythonrun.h | 32 PyAPI_FUNC(PyThreadState *) Py_NewInterpreter(void); 33 PyAPI_FUNC(void) Py_EndInterpreter(PyThreadState *); 154 PyAPI_DATA(PyThreadState*) _PyOS_ReadlineTState;
|
D | object.h | 1025 PyThreadState *_tstate = PyThreadState_GET(); \
|
/external/python/cpython2/Mac/Modules/ |
D | autoGIL.c | 21 PyThreadState **p_tstate = (PyThreadState **)info; in autoGILCallback() 56 PyThreadState **p_tstate; /* for use in the info field */ in autoGIL_installAutoGIL() 76 p_tstate = PyMem_Malloc(sizeof(PyThreadState *)); in autoGIL_installAutoGIL()
|
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 54 static PyThreadState *gtstate; 215 static PyThreadState *the_tstate; 278 PyThreadState *tstate; in run_interpreter()
|
/external/python/cpython2/Doc/c-api/ |
D | init.rst | 367 single: PyThreadState 368 single: PyThreadState 371 inside a data structure called :c:type:`PyThreadState`. There's also one 372 global variable pointing to the current :c:type:`PyThreadState`: it can 404 PyThreadState *_save; 508 .. c:type:: PyThreadState 565 .. c:function:: PyThreadState* PyEval_SaveThread() 574 .. c:function:: void PyEval_RestoreThread(PyThreadState *tstate) 583 .. c:function:: PyThreadState* PyThreadState_Get() 590 .. c:function:: PyThreadState* PyThreadState_Swap(PyThreadState *tstate) [all …]
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 359 PyEval_AcquireThread:PyThreadState*:tstate:: 371 PyEval_ReleaseThread:PyThreadState*:tstate:: 374 PyEval_RestoreThread:PyThreadState*:tstate:: 376 PyEval_SaveThread:PyThreadState*::: 1344 PyThreadState_Clear:PyThreadState*:tstate:: 1347 PyThreadState_Delete:PyThreadState*:tstate:: 1349 PyThreadState_Get:PyThreadState*::: 1353 PyThreadState_New:PyThreadState*::: 1356 PyThreadState_Swap:PyThreadState*::: 1357 PyThreadState_Swap:PyThreadState*:tstate:: [all …]
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | pipe_connection.c | 93 conn_poll(ConnectionObject *conn, double timeout, PyThreadState *_save) in conn_poll()
|
D | socket_connection.c | 188 conn_poll(ConnectionObject *conn, double timeout, PyThreadState *_save) in conn_poll()
|
D | semaphore.c | 215 sem_timedwait_save(sem_t *sem, struct timespec *deadline, PyThreadState *_save) in sem_timedwait_save()
|
/external/python/cpython2/Parser/ |
D | myreadline.c | 23 PyThreadState* _PyOS_ReadlineTState;
|
/external/python/cpython2/Modules/ |
D | threadmodule.c | 398 PyThreadState *tstate; in local_clear() 605 PyThreadState *tstate; 612 PyThreadState *tstate; in t_bootstrap()
|
D | _tkinter.c | 203 typedef PyThreadState *ThreadSpecificData; 204 #define tcl_tstate (*(PyThreadState**)Tcl_GetThreadData(&state_key, sizeof(PyThreadState*))) 206 static PyThreadState *tcl_tstate = NULL; 210 { PyThreadState *tstate = PyThreadState_Get(); Py_BEGIN_ALLOW_THREADS \ 223 { PyThreadState *tstate = tcl_tstate; tcl_tstate = NULL; \ 227 { PyThreadState *tstate = PyEval_SaveThread(); \ 2998 PyThreadState *tstate = PyThreadState_Get(); in Tkapp_MainLoop() 3527 static PyThreadState *event_tstate = NULL;
|
D | nismodule.c | 101 PyThreadState *state;
|
D | pyexpat.c | 273 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()
|
/external/python/cpython2/Objects/ |
D | genobject.c | 47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex()
|
D | frameobject.c | 622 PyFrame_New(PyThreadState *tstate, PyCodeObject *code, PyObject *globals, in PyFrame_New()
|