/external/python/cpython3/Include/ |
D | ceval.h | 93 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \ 96 do{ if(_Py_MakeEndRecCheck(PyThreadState_GET()->recursion_depth)) \ 97 PyThreadState_GET()->overflowed = 0; \ 112 ++(PyThreadState_GET()->stackcheck_counter) > 64) 129 do { unsigned char _old = PyThreadState_GET()->recursion_critical;\ 130 PyThreadState_GET()->recursion_critical = 1; 133 PyThreadState_GET()->recursion_critical = _old; \
|
D | pystate.h | 365 # define PyThreadState_GET() \ macro 368 # define PyThreadState_GET() PyThreadState_Get() macro
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 59 PyThreadState *tstate = PyThreadState_GET(); in _PySys_GetObjectId() 69 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject() 79 PyThreadState *tstate = PyThreadState_GET(); in _PySys_SetObjectId() 94 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject() 345 _PyErr_StackItem *err_info = _PyErr_GetTopmostException(PyThreadState_GET()); in sys_exc_info() 578 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace() 616 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile() 640 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_setcheckinterval() 661 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_getcheckinterval() 731 tstate = PyThreadState_GET(); in sys_setrecursionlimit() [all …]
|
D | thread_nt.h | 193 PyThreadState *tstate = PyThreadState_GET(); in PyThread_start_new_thread() 338 PyThreadState_GET()->interp->pythread_stacksize = 0; in _pythread_nt_set_stacksize() 344 PyThreadState_GET()->interp->pythread_stacksize = size; in _pythread_nt_set_stacksize()
|
D | ceval.c | 160 take_gil(PyThreadState_GET()); in PyEval_InitThreads() 178 PyThreadState *tstate = PyThreadState_GET(); in PyEval_AcquireLock() 226 PyThreadState *current_tstate = PyThreadState_GET(); in PyEval_ReInitThreads() 470 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall() 546 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx() 563 PyThreadState *tstate = PyThreadState_GET(); in _PyEval_EvalFrameDefault() 3689 tstate = PyThreadState_GET(); in _PyEval_EvalCodeWithName() 3990 PyThreadState *tstate = PyThreadState_GET(); in do_raise() 4262 PyThreadState *tstate = PyThreadState_GET(); in _PyEval_CallTracing() 4316 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetProfile() [all …]
|
D | errors.c | 31 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore() 85 PyThreadState *tstate = PyThreadState_GET(); in PyErr_SetObject() 178 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred() 337 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch() 357 PyThreadState *tstate = PyThreadState_GET(); in PyErr_GetExcInfo() 374 PyThreadState *tstate = PyThreadState_GET(); in PyErr_SetExcInfo()
|
D | thread_pthread.h | 199 PyThreadState *tstate = PyThreadState_GET(); in PyThread_start_new_thread() 626 PyThreadState_GET()->interp->pythread_stacksize = 0; in _pythread_pthread_set_stacksize() 643 PyThreadState_GET()->interp->pythread_stacksize = size; in _pythread_pthread_set_stacksize()
|
D | codecs.c | 35 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() 111 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup() 196 interp = PyThreadState_GET()->interp; in _PyCodec_Forget() 629 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_RegisterError() 647 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_LookupError() 1499 PyInterpreterState *interp = PyThreadState_GET()->interp; in _PyCodecRegistry_Init()
|
D | context.c | 115 PyThreadState *ts = PyThreadState_GET(); in PyContext_Enter() 141 PyThreadState *ts = PyThreadState_GET(); in PyContext_Exit() 181 PyThreadState *ts = PyThreadState_GET(); in PyContextVar_Get() 385 PyThreadState *ts = PyThreadState_GET(); in context_get()
|
D | dynload_shlib.c | 94 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_FindSharedFuncptr()
|
D | thread.c | 95 return PyThreadState_GET()->interp->pythread_stacksize; in PyThread_get_stacksize()
|
D | pylifecycle.c | 643 PyThreadState *tstate = PyThreadState_GET(); in _Py_InitializeCore_impl() 1132 tstate = PyThreadState_GET(); in Py_FinalizeEx() 1538 if (tstate != PyThreadState_GET()) in Py_EndInterpreter() 2135 PyThreadState *tstate = PyThreadState_GET(); in fatal_error() 2211 ts = PyThreadState_GET(); in _Py_PyAtExit()
|
D | import.c | 308 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_GetModuleDict() 401 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_Cleanup() 891 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_ExecCodeModuleWithPathnames() 971 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_ExecCodeModuleObject() 1618 PyInterpreterState *interp = PyThreadState_GET()->interp; in import_find_and_load() 1679 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyImport_ImportModuleLevelObject()
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 52 PyThreadState *tstate = PyThreadState_GET(); in PySys_GetObject() 74 PyThreadState *tstate = PyThreadState_GET(); in PySys_SetObject() 90 PyInterpreterState *interp = PyThreadState_GET()->interp; in sys_displayhook() 153 tstate = PyThreadState_GET(); in sys_exc_info() 179 tstate = PyThreadState_GET(); in sys_exc_clear() 408 PyThreadState *tstate = PyThreadState_GET(); in sys_gettrace() 447 PyThreadState *tstate = PyThreadState_GET(); in sys_getprofile() 632 PyThreadState *tstate = PyThreadState_GET(); in sys_setdlopenflags() 657 PyThreadState *tstate = PyThreadState_GET(); in sys_getdlopenflags() 815 PyFrameObject *f = PyThreadState_GET()->frame; in sys_getframe()
|
D | codecs.c | 31 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_Register() 105 interp = PyThreadState_GET()->interp; in _PyCodec_Lookup() 565 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_RegisterError() 583 PyInterpreterState *interp = PyThreadState_GET()->interp; in PyCodec_LookupError() 1001 PyInterpreterState *interp = PyThreadState_GET()->interp; in _PyCodecRegistry_Init()
|
D | errors.c | 27 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Restore() 78 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Occurred() 227 tstate = PyThreadState_GET(); in PyErr_NormalizeException() 246 PyThreadState *tstate = PyThreadState_GET(); in PyErr_Fetch()
|
D | dynload_shlib.c | 112 dlopenflags = PyThreadState_GET()->interp->dlopenflags; in _PyImport_GetDynLoadFunc()
|
D | ceval.c | 317 tstate = PyThreadState_GET(); in PyEval_ReInitThreads() 620 PyThreadState *tstate = PyThreadState_GET(); in _Py_CheckRecursiveCall() 810 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalFrameEx() 3374 PyThreadState *tstate = PyThreadState_GET(); in PyEval_EvalCodeEx() 3815 PyThreadState *tstate = PyThreadState_GET(); in do_raise() 4101 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetProfile() 4118 PyThreadState *tstate = PyThreadState_GET(); in PyEval_SetTrace() 4139 return PyThreadState_GET()->interp->builtins; in PyEval_GetBuiltins() 4167 PyThreadState *tstate = PyThreadState_GET(); in PyEval_GetFrame() 4349 PyThreadState *tstate = PyThreadState_GET(); in call_function() [all …]
|
D | traceback.c | 108 PyThreadState *tstate = PyThreadState_GET(); in PyTraceBack_Here()
|
/external/python/cpython2/Include/ |
D | pystate.h | 130 #define PyThreadState_GET() PyThreadState_Get() macro 132 #define PyThreadState_GET() (_PyThreadState_Current) macro
|
D | ceval.h | 49 (_Py_MakeRecCheck(PyThreadState_GET()->recursion_depth) && \ 52 (--PyThreadState_GET()->recursion_depth)
|
/external/python/cpython2/Parser/ |
D | myreadline.c | 172 if (_PyOS_ReadlineTState == PyThreadState_GET()) { in PyOS_Readline() 193 _PyOS_ReadlineTState = PyThreadState_GET(); in PyOS_Readline()
|
/external/python/cpython3/Parser/ |
D | myreadline.c | 327 if (_PyOS_ReadlineTState == PyThreadState_GET()) { in PyOS_Readline() 346 _PyOS_ReadlineTState = PyThreadState_GET(); in PyOS_Readline()
|
/external/python/cpython3/Objects/ |
D | moduleobject.c | 176 if (!_PyImport_IsInitialized(PyThreadState_GET()->interp)) in PyModule_Create2() 694 PyThreadState *tstate = PyThreadState_GET(); in module_repr()
|
/external/python/cpython2/Objects/ |
D | genobject.c | 47 PyThreadState *tstate = PyThreadState_GET(); in gen_send_ex()
|