| /external/python/cpython3/Include/internal/ |
| D | pycore_ceval.h | 44 _PyEval_EvalFrame(PyThreadState *tstate, PyFrameObject *f, int throwflag) in _PyEval_EvalFrame() 73 static inline int _Py_MakeRecCheck(PyThreadState *tstate) { in _Py_MakeRecCheck() 78 static inline int _Py_MakeRecCheck(PyThreadState *tstate) { in _Py_MakeRecCheck() 87 static inline int _Py_EnterRecursiveCall(PyThreadState *tstate, in _Py_EnterRecursiveCall() 93 PyThreadState *tstate = PyThreadState_GET(); in _Py_EnterRecursiveCall_inline() local 99 static inline void _Py_LeaveRecursiveCall(PyThreadState *tstate) { in _Py_LeaveRecursiveCall() 104 PyThreadState *tstate = PyThreadState_GET(); in _Py_LeaveRecursiveCall_inline() local
|
| D | pycore_pystate.h | 92 _Py_EnsureFuncTstateNotNULL(const char *func, PyThreadState *tstate) in _Py_EnsureFuncTstateNotNULL() 100 #define _Py_EnsureTstateNotNULL(tstate) \ argument 113 PyThreadState *tstate = _PyThreadState_GET(); in _PyInterpreterState_GET() local
|
| D | pycore_call.h | 32 _PyObject_CallNoArgTstate(PyThreadState *tstate, PyObject *func) { in _PyObject_CallNoArgTstate()
|
| D | pycore_pyerrors.h | 11 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred()
|
| /external/python/cpython3/Python/ |
| D | errors.c | 41 _PyErr_Restore(PyThreadState *tstate, PyObject *type, PyObject *value, in _PyErr_Restore() 71 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Restore() local 77 _PyErr_GetTopmostException(PyThreadState *tstate) in _PyErr_GetTopmostException() 115 _PyErr_SetObject(PyThreadState *tstate, PyObject *exception, PyObject *value) in _PyErr_SetObject() 195 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetObject() local 205 PyThreadState *tstate = _PyThreadState_GET(); in _PyErr_SetKeyError() local 216 _PyErr_SetNone(PyThreadState *tstate, PyObject *exception) in _PyErr_SetNone() 225 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetNone() local 231 _PyErr_SetString(PyThreadState *tstate, PyObject *exception, in _PyErr_SetString() 242 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetString() local [all …]
|
| D | pystate.c | 209 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_New() local 288 interpreter_clear(PyInterpreterState *interp, PyThreadState *tstate) in interpreter_clear() 359 _PyInterpreterState_Clear(PyThreadState *tstate) in _PyInterpreterState_Clear() 368 PyThreadState *tstate; in zapthreads() local 430 PyThreadState *tstate = _PyThreadState_Swap(gilstate, NULL); in _PyInterpreterState_DeleteExceptMain() local 469 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_Get() local 570 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp); in _PyInterpreterState_IDDecref() local 617 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate() local 694 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init() 719 _PyState_AddModule(PyThreadState *tstate, PyObject* module, struct PyModuleDef* def) in _PyState_AddModule() [all …]
|
| D | sysmodule.c | 67 sys_get_object_id(PyThreadState *tstate, _Py_Identifier *key) in sys_get_object_id() 85 PyThreadState *tstate = _PyThreadState_GET(); in _PySys_GetObjectId() local 102 PyThreadState *tstate = _PyThreadState_GET(); in PySys_GetObject() local 313 _PySys_Audit(PyThreadState *tstate, const char *event, in _PySys_Audit() 330 PyThreadState *tstate = _PyThreadState_GET(); in PySys_Audit() local 387 PyThreadState *tstate; in PySys_AddAuditHook() local 446 PyThreadState *tstate = _PyThreadState_GET(); in sys_addaudithook_impl() local 481 PyThreadState *tstate = _PyThreadState_GET(); in sys_audit() local 531 PyThreadState *tstate = _PyThreadState_GET(); in sys_breakpointhook() local 700 PyThreadState *tstate = _PyThreadState_GET(); in sys_displayhook() local [all …]
|
| D | pylifecycle.c | 156 init_importlib(PyThreadState *tstate, PyObject *sysmod) in init_importlib() 204 init_importlib_external(PyThreadState *tstate) in init_importlib_external() 444 interpreter_update_config(PyThreadState *tstate, int only_update_path_config) in interpreter_update_config() 475 PyThreadState *tstate = PyThreadState_Get(); in _PyInterpreterState_SetConfig() local 524 PyThreadState *tstate = _PyThreadState_GET(); in pyinit_core_reconfigure() local 594 init_interp_create_gil(PyThreadState *tstate) in init_interp_create_gil() 640 PyThreadState *tstate = PyThreadState_New(interp); in pycore_create_interpreter() local 741 pycore_init_builtins(PyThreadState *tstate) in pycore_init_builtins() 790 pycore_interp_init(PyThreadState *tstate) in pycore_interp_init() 859 PyThreadState *tstate; in pyinit_config() local [all …]
|
| D | import.c | 54 _PyImportZip_Init(PyThreadState *tstate) in _PyImportZip_Init() 135 PyThreadState *tstate = PyEval_SaveThread(); in _PyImport_AcquireLock() local 319 import_get_module(PyThreadState *tstate, PyObject *name) in import_get_module() 435 PyThreadState *tstate = _PyThreadState_GET(); in _PyImport_FixupExtensionObject() local 499 import_find_extension(PyThreadState *tstate, PyObject *name, in import_find_extension() 564 PyThreadState *tstate = _PyThreadState_GET(); in _PyImport_FindExtensionObject() local 584 import_add_module(PyThreadState *tstate, PyObject *name) in import_add_module() 627 PyThreadState *tstate = _PyThreadState_GET(); in PyImport_AddModuleObject() local 661 remove_module(PyThreadState *tstate, PyObject *name) in remove_module() 760 module_dict_for_exec(PyThreadState *tstate, PyObject *name) in module_dict_for_exec() [all …]
|
| D | ceval.c | 152 is_tstate_valid(PyThreadState *tstate) in is_tstate_valid() 307 _PyEval_InitGIL(PyThreadState *tstate) in _PyEval_InitGIL() 419 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_AcquireLock() local 429 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_ReleaseLock() local 439 _PyEval_ReleaseLock(PyThreadState *tstate) in _PyEval_ReleaseLock() 447 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread() 464 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread() 483 _PyEval_ReInitThreads(PyThreadState *tstate) in _PyEval_ReInitThreads() 525 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, old_tstate); in PyEval_SaveThread() local 527 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, NULL); in PyEval_SaveThread() local [all …]
|
| D | ceval_gil.h | 145 PyThreadState *tstate) in drop_gil() 198 tstate_must_exit(PyThreadState *tstate) in tstate_must_exit() 215 take_gil(PyThreadState *tstate) in take_gil()
|
| /external/python/cpython3/Objects/ |
| D | call.c | 22 null_error(PyThreadState *tstate) in null_error() 33 _Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable, in _Py_CheckFunctionResult() 85 PyThreadState *tstate = _PyThreadState_GET(); in _Py_CheckSlotResult() local 112 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallNoArgs() local 118 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate() 165 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_VectorcallDict() local 171 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall() 231 PyThreadState *tstate = _PyThreadState_GET(); in PyVectorcall_Call() local 276 _PyObject_Call(PyThreadState *tstate, PyObject *callable, in _PyObject_Call() 316 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Call() local [all …]
|
| D | methodobject.c | 388 cfunction_check_kwargs(PyThreadState *tstate, PyObject *func, PyObject *kwnames) in cfunction_check_kwargs() 407 cfunction_enter_call(PyThreadState *tstate, PyObject *func) in cfunction_enter_call() 420 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL() local 439 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL_KEYWORDS() local 455 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() local 471 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_NOARGS() local 498 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_O() local 527 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_call() local
|
| D | abstract.c | 28 PyThreadState *tstate = _PyThreadState_GET(); in null_error() local 99 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_LengthHint() local 120 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_LengthHint() local 801 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Format() local 1491 PyThreadState *tstate = _PyThreadState_GET(); in PyNumber_AsSsize_t() local 2167 PyThreadState *tstate = _PyThreadState_GET(); in PySequence_Fast() local 2427 PyThreadState *tstate = _PyThreadState_GET(); in method_output_as_list() local 2584 PyThreadState *tstate = _PyThreadState_GET(); in check_class() local 2632 object_recursive_isinstance(PyThreadState *tstate, PyObject *inst, PyObject *cls) in object_recursive_isinstance() 2697 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_IsInstance() local [all …]
|
| D | object.c | 426 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Repr() local 486 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Str() local 677 do_richcompare(PyThreadState *tstate, PyObject *v, PyObject *w, int op) in do_richcompare() 731 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_RichCompare() local 2126 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_deposit_object() local 2167 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_destroy_chain() local 2203 _PyTrash_begin(PyThreadState *tstate, PyObject *op) in _PyTrash_begin() 2217 _PyTrash_end(PyThreadState *tstate) in _PyTrash_end()
|
| /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
|
| /external/python/cpython3/Include/cpython/ |
| D | abstract.h | 99 _PyObject_VectorcallTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_VectorcallTstate() 122 PyThreadState *tstate = PyThreadState_Get(); in PyObject_Vectorcall() local 149 _PyObject_FastCallTstate(PyThreadState *tstate, PyObject *func, PyObject *const *args, Py_ssize_t n… in _PyObject_FastCallTstate() 158 PyThreadState *tstate = PyThreadState_Get(); in _PyObject_FastCall() local 167 PyThreadState *tstate = PyThreadState_Get(); in _PyObject_CallNoArg() local 176 PyThreadState *tstate; in PyObject_CallOneArg() local
|
| /external/python/cpython3/Parser/ |
| D | myreadline.c | 30 my_fgets(PyThreadState* tstate, char *buf, int len, FILE *fp) in my_fgets() 116 _PyOS_WindowsConsoleReadline(PyThreadState *tstate, HANDLE hStdIn) in _PyOS_WindowsConsoleReadline() 245 PyThreadState *tstate = _PyOS_ReadlineTState; in PyOS_StdioReadline() local 359 PyThreadState *tstate = _PyThreadState_GET(); in PyOS_Readline() local
|
| /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()
|
| /external/python/cpython3/Modules/ |
| D | gcmodule.c | 932 handle_legacy_finalizers(PyThreadState *tstate, in handle_legacy_finalizers() 959 finalize_garbage(PyThreadState *tstate, PyGC_Head *collectable) in finalize_garbage() 995 delete_garbage(PyThreadState *tstate, GCState *gcstate, in delete_garbage() 1183 gc_collect_main(PyThreadState *tstate, int generation, in gc_collect_main() 1363 invoke_gc_callback(PyThreadState *tstate, const char *phase, in invoke_gc_callback() 1408 gc_collect_with_callback(PyThreadState *tstate, int generation) in gc_collect_with_callback() 1420 gc_collect_generations(PyThreadState *tstate) in gc_collect_generations() 1536 PyThreadState *tstate = _PyThreadState_GET(); in gc_collect_impl() local 1764 PyThreadState *tstate = _PyThreadState_GET(); in gc_get_objects_impl() local 2083 PyThreadState *tstate = _PyThreadState_GET(); in PyGC_Collect() local [all …]
|
| D | signalmodule.c | 527 PyThreadState *tstate = _PyThreadState_GET(); in signal_signal_impl() local 762 PyThreadState *tstate = _PyThreadState_GET(); local 1671 PyThreadState *tstate = _PyThreadState_GET(); local 1771 PyThreadState *tstate = _PyThreadState_GET(); local 1782 _PyErr_CheckSignalsTstate(PyThreadState *tstate) 1867 PyThreadState *tstate = _PyThreadState_GET(); local 1993 _PyOS_InterruptOccurred(PyThreadState *tstate) 2013 PyThreadState *tstate = _PyThreadState_GET(); local
|
| D | faulthandler.c | 234 PyThreadState *tstate = _PyThreadState_GET(); in get_thread_state() local 249 PyThreadState *tstate; in faulthandler_dump_traceback() local 284 PyThreadState *tstate; in faulthandler_dump_traceback_py() local 550 PyThreadState *tstate; in faulthandler_py_enable() local 716 PyThreadState *tstate; in faulthandler_dump_traceback_later() local 919 PyThreadState *tstate; in faulthandler_register_py() local
|