| /external/python/cpython3/Python/ |
| D | errors.c | 39 _PyErr_Restore(PyThreadState *tstate, PyObject *type, PyObject *value, in _PyErr_Restore() 69 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Restore() local 75 _PyErr_GetTopmostException(PyThreadState *tstate) in _PyErr_GetTopmostException() 101 _PyErr_SetObject(PyThreadState *tstate, PyObject *exception, PyObject *value) in _PyErr_SetObject() 166 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetObject() local 176 PyThreadState *tstate = _PyThreadState_GET(); in _PyErr_SetKeyError() local 187 _PyErr_SetNone(PyThreadState *tstate, PyObject *exception) in _PyErr_SetNone() 196 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetNone() local 202 _PyErr_SetString(PyThreadState *tstate, PyObject *exception, in _PyErr_SetString() 213 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetString() local [all …]
|
| D | pystate.c | 364 PyThreadState *tstate = _PyThreadState_Swap(gilstate, NULL); in _PyInterpreterState_DeleteExceptMain() local 401 PyThreadState *tstate = _PyThreadState_GET(); in _PyInterpreterState_Get() local 503 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp); in _PyInterpreterState_IDDecref() local 557 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate() local 639 _PyThreadState_Init(_PyRuntimeState *runtime, PyThreadState *tstate) in _PyThreadState_Init() 762 PyThreadState_Clear(PyThreadState *tstate) in PyThreadState_Clear() 803 tstate_delete_common(_PyRuntimeState *runtime, PyThreadState *tstate) in tstate_delete_common() 828 _PyThreadState_Delete(_PyRuntimeState *runtime, PyThreadState *tstate) in _PyThreadState_Delete() 844 PyThreadState_Delete(PyThreadState *tstate) in PyThreadState_Delete() 854 PyThreadState *tstate = _PyRuntimeGILState_GetThreadState(gilstate); in _PyThreadState_DeleteCurrent() local [all …]
|
| D | ceval.c | 212 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_InitThreads() local 241 exit_thread_if_finalizing(_PyRuntimeState *runtime, PyThreadState *tstate) in exit_thread_if_finalizing() 284 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_AcquireLock() local 296 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_ReleaseLock() local 305 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread() 324 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread() 378 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, NULL); in PyEval_SaveThread() local 388 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread() 475 _PyEval_AddPendingCall(PyThreadState *tstate, in _PyEval_AddPendingCall() 506 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in Py_AddPendingCall() local [all …]
|
| D | ceval_gil.h | 144 drop_gil(struct _ceval_runtime_state *ceval, PyThreadState *tstate) in drop_gil() 184 take_gil(struct _ceval_runtime_state *ceval, PyThreadState *tstate) in take_gil()
|
| D | pylifecycle.c | 455 PyThreadState *tstate = _PyThreadState_GET(); in pyinit_core_reconfigure() local 535 PyThreadState *tstate = PyThreadState_New(interp); in pycore_create_interpreter() local 949 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in pyinit_main() local 1170 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in Py_FinalizeEx() local 1422 PyThreadState *tstate = PyThreadState_New(interp); in new_interpreter() local 1564 PyThreadState *tstate = NULL; in Py_NewInterpreter() local 1586 Py_EndInterpreter(PyThreadState *tstate) in Py_EndInterpreter() 1979 PyThreadState *tstate) in _Py_FatalError_DumpTracebacks() 2139 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in fatal_error() local
|
| D | traceback.c | 795 dump_traceback(int fd, PyThreadState *tstate, int write_header) in dump_traceback() 831 _Py_DumpTraceback(int fd, PyThreadState *tstate) in _Py_DumpTraceback() 842 write_thread_id(int fd, PyThreadState *tstate, int is_current) in write_thread_id() 864 PyThreadState *tstate; in _Py_DumpTracebackThreads() local
|
| D | sysmodule.c | 933 PyThreadState *tstate = _PyThreadState_GET(); in sys_gettrace_impl() local 973 PyThreadState *tstate = _PyThreadState_GET(); in sys_getprofile_impl() local 1091 PyThreadState *tstate; in sys_setrecursionlimit_impl() local 2139 PyThreadState *tstate = _PyThreadState_GET(); in PySys_ResetWarnOptions() local 2178 PyThreadState *tstate = _PyThreadState_GET(); in PySys_AddWarnOption() local 2265 PyThreadState *tstate = _PyThreadState_GET(); in PySys_AddXOption() local
|
| /external/python/cpython2/Python/ |
| D | pystate.c | 159 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()
|
| D | sysmodule.c | 52 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 …]
|
| D | ceval.c | 86 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 …]
|
| D | errors.c | 27 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
|
| D | traceback.c | 108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here() local
|
| D | pythonrun.c | 165 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
|
| /external/python/cpython3/Include/internal/ |
| D | pycore_pyerrors.h | 11 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred()
|
| /external/python/cffi/c/ |
| D | misc_thread_common.h | 77 PyThreadState *tstate; member 150 PyThreadState *tstate = NULL; in thread_canary_free_zombies() local 174 thread_canary_register(PyThreadState *tstate) in thread_canary_register()
|
| D | call_python.c | 16 PyThreadState *tstate; in _get_interpstate_dict() local
|
| /external/python/cpython3/Modules/ |
| D | faulthandler.c | 209 PyThreadState *tstate = _PyThreadState_UncheckedGet(); in get_thread_state() local 224 PyThreadState *tstate; in faulthandler_dump_traceback() local 259 PyThreadState *tstate; in faulthandler_dump_traceback_py() local 490 PyThreadState *tstate; in faulthandler_py_enable() local 653 PyThreadState *tstate; in faulthandler_dump_traceback_later() local 836 PyThreadState *tstate; in faulthandler_register_py() local
|
| D | _threadmodule.c | 770 PyThreadState *tstate; in local_clear() local 987 PyThreadState *tstate; member 994 PyThreadState *tstate; in t_bootstrap() local 1215 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel() local
|
| /external/python/cpython2/Modules/ |
| D | threadmodule.c | 398 PyThreadState *tstate; in local_clear() local 605 PyThreadState *tstate; member 612 PyThreadState *tstate; in t_bootstrap() local
|
| /external/python/pybind11/tests/ |
| D | test_call_policies.cpp | 91 if (auto tstate = py::detail::get_thread_state_unchecked()) in TEST_SUBMODULE() local
|
| /external/ppp/pppd/include/net/ |
| D | vjcompress.h | 126 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
|
| D | slcompress.h | 134 struct cstate tstate[MAX_STATES]; /* xmit connection states */ member
|
| /external/python/cpython2/Objects/ |
| D | genobject.c | 47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex() local
|
| /external/tensorflow/tensorflow/python/util/ |
| D | tf_stack.cc | 79 const auto* tstate = PyThreadState_GET(); in ExtractStack() local
|
| /external/python/cpython2/Demo/pysvr/ |
| D | pysvr.c | 278 PyThreadState *tstate; in run_interpreter() local
|