| /third_party/python/Include/internal/ |
| D | pycore_ceval.h | 38 _PyEval_EvalFrame(PyThreadState *tstate, PyFrameObject *f, int throwflag) in _PyEval_EvalFrame() 67 static inline int _Py_MakeRecCheck(PyThreadState *tstate) { in _Py_MakeRecCheck() 72 static inline int _Py_MakeRecCheck(PyThreadState *tstate) { in _Py_MakeRecCheck() 81 static inline int _Py_EnterRecursiveCall(PyThreadState *tstate, in _Py_EnterRecursiveCall() 87 PyThreadState *tstate = PyThreadState_GET(); in _Py_EnterRecursiveCall_inline() local 105 static inline void _Py_LeaveRecursiveCall(PyThreadState *tstate) { in _Py_LeaveRecursiveCall() 114 PyThreadState *tstate = PyThreadState_GET(); in _Py_LeaveRecursiveCall_inline() local
|
| D | pycore_pystate.h | 25 _Py_IsMainInterpreter(PyThreadState* tstate) in _Py_IsMainInterpreter() 80 _Py_EnsureFuncTstateNotNULL(const char *func, PyThreadState *tstate) in _Py_EnsureFuncTstateNotNULL() 88 #define _Py_EnsureTstateNotNULL(tstate) \ argument 101 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()
|
| D | pycore_object.h | 42 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_GC_TRACK_impl() local
|
| /third_party/python/Python/ |
| D | errors.c | 40 _PyErr_Restore(PyThreadState *tstate, PyObject *type, PyObject *value, in _PyErr_Restore() 70 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Restore() local 76 _PyErr_GetTopmostException(PyThreadState *tstate) in _PyErr_GetTopmostException() 102 _PyErr_SetObject(PyThreadState *tstate, PyObject *exception, PyObject *value) in _PyErr_SetObject() 168 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetObject() local 178 PyThreadState *tstate = _PyThreadState_GET(); in _PyErr_SetKeyError() local 189 _PyErr_SetNone(PyThreadState *tstate, PyObject *exception) in _PyErr_SetNone() 198 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetNone() local 204 _PyErr_SetString(PyThreadState *tstate, PyObject *exception, in _PyErr_SetString() 215 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetString() local [all …]
|
| D | pystate.c | 199 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_New() local 283 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_Clear() local 325 PyThreadState *tstate; in zapthreads() local 386 PyThreadState *tstate = _PyThreadState_Swap(gilstate, NULL); in _PyInterpreterState_DeleteExceptMain() local 423 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_Get() local 523 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp); in _PyInterpreterState_IDDecref() local 570 PyThreadState *tstate = (PyThreadState *)PyMem_RawMalloc(sizeof(PyThreadState)); in new_threadstate() local 647 _PyThreadState_Init(PyThreadState *tstate) in _PyThreadState_Init() 672 _PyState_AddModule(PyThreadState *tstate, PyObject* module, struct PyModuleDef* def) in _PyState_AddModule() 712 PyThreadState *tstate = _PyThreadState_GET(); in PyState_AddModule() local [all …]
|
| D | sysmodule.c | 66 sys_get_object_id(PyThreadState *tstate, _Py_Identifier *key) in sys_get_object_id() 78 PyThreadState *tstate = _PyThreadState_GET(); in _PySys_GetObjectId() local 85 PyThreadState *tstate = _PyThreadState_GET(); in PySys_GetObject() local 94 sys_set_object_id(PyThreadState *tstate, _Py_Identifier *key, PyObject *v) in sys_set_object_id() 113 PyThreadState *tstate = _PyThreadState_GET(); in _PySys_SetObjectId() local 118 sys_set_object(PyThreadState *tstate, const char *name, PyObject *v) in sys_set_object() 137 PyThreadState *tstate = _PyThreadState_GET(); in PySys_SetObject() local 292 _PySys_Audit(PyThreadState *tstate, const char *event, in _PySys_Audit() 309 PyThreadState *tstate = _PyThreadState_GET(); in PySys_Audit() local 366 PyThreadState *tstate; in PySys_AddAuditHook() local [all …]
|
| D | pylifecycle.c | 142 init_importlib(PyThreadState *tstate, PyObject *sysmod) in init_importlib() 194 init_importlib_external(PyThreadState *tstate) in init_importlib_external() 451 PyThreadState *tstate = _PyThreadState_GET(); in pyinit_core_reconfigure() local 521 init_interp_create_gil(PyThreadState *tstate) in init_interp_create_gil() 560 PyThreadState *tstate = PyThreadState_New(interp); in pycore_create_interpreter() local 577 pycore_init_types(PyThreadState *tstate) in pycore_init_types() 637 pycore_init_builtins(PyThreadState *tstate) in pycore_init_builtins() 680 pycore_init_import_warnings(PyThreadState *tstate, PyObject *sysmod) in pycore_init_import_warnings() 720 pycore_interp_init(PyThreadState *tstate) in pycore_interp_init() 759 PyThreadState *tstate; in pyinit_config() local [all …]
|
| D | ceval.c | 132 is_tstate_valid(PyThreadState *tstate) in is_tstate_valid() 272 _PyEval_InitGIL(PyThreadState *tstate) in _PyEval_InitGIL() 294 _PyEval_FiniGIL(PyThreadState *tstate) in _PyEval_FiniGIL() 353 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_AcquireLock() local 363 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_ReleaseLock() local 373 _PyEval_ReleaseLock(PyThreadState *tstate) in _PyEval_ReleaseLock() 381 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread() 394 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread() 417 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in _PyEval_ReInitThreads() local 442 _PyEval_SignalAsyncExc(PyThreadState *tstate) in _PyEval_SignalAsyncExc() [all …]
|
| D | import.c | 55 _PyImportHooks_Init(PyThreadState *tstate) in _PyImportHooks_Init() 92 _PyImportZip_Init(PyThreadState *tstate) in _PyImportZip_Init() 173 PyThreadState *tstate = PyEval_SaveThread(); in _PyImport_AcquireLock() local 343 PyThreadState *tstate = _PyThreadState_GET(); in _PyImport_SetModule() local 351 PyThreadState *tstate = _PyThreadState_GET(); in _PyImport_SetModuleString() local 357 import_get_module(PyThreadState *tstate, PyObject *name) in import_get_module() 384 import_ensure_initialized(PyThreadState *tstate, PyObject *mod, PyObject *name) in import_ensure_initialized() 431 _PyImport_Cleanup(PyThreadState *tstate) in _PyImport_Cleanup() 701 PyThreadState *tstate = _PyThreadState_GET(); in _PyImport_FixupExtensionObject() local 763 import_find_extension(PyThreadState *tstate, PyObject *name, in import_find_extension() [all …]
|
| D | ceval_gil.h | 145 PyThreadState *tstate) in drop_gil() 194 tstate_must_exit(PyThreadState *tstate) in tstate_must_exit() 211 take_gil(PyThreadState *tstate) in take_gil()
|
| D | traceback.c | 793 dump_traceback(int fd, PyThreadState *tstate, int write_header) in dump_traceback() 838 _Py_DumpTraceback(int fd, PyThreadState *tstate) in _Py_DumpTraceback() 849 write_thread_id(int fd, PyThreadState *tstate, int is_current) in write_thread_id() 871 PyThreadState *tstate; in _Py_DumpTracebackThreads() local
|
| D | pythonrun.c | 728 _PyErr_PrintEx(PyThreadState *tstate, int set_sys_last_vars) in _PyErr_PrintEx() 818 _PyErr_Print(PyThreadState *tstate) in _PyErr_Print() 826 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_PrintEx() local 1195 run_eval_code_obj(PyThreadState *tstate, PyCodeObject *co, PyObject *globals, PyObject *locals) in run_eval_code_obj() 1229 PyThreadState *tstate = _PyThreadState_GET(); in run_mod() local 1248 PyThreadState *tstate = _PyThreadState_GET(); in run_pyc_file() local
|
| /third_party/python/Objects/ |
| D | call.c | 22 null_error(PyThreadState *tstate) in null_error() 33 _Py_CheckFunctionResult(PyThreadState *tstate, PyObject *callable, in _Py_CheckFunctionResult() 88 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_CallNoArgs() local 94 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate() 141 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_VectorcallDict() local 147 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall() 207 PyThreadState *tstate = _PyThreadState_GET(); in PyVectorcall_Call() local 252 _PyObject_Call(PyThreadState *tstate, PyObject *callable, in _PyObject_Call() 292 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Call() local 300 PyThreadState *tstate = _PyThreadState_GET(); in PyCFunction_Call() local [all …]
|
| D | methodobject.c | 384 cfunction_check_kwargs(PyThreadState *tstate, PyObject *func, PyObject *kwnames) in cfunction_check_kwargs() 403 cfunction_enter_call(PyThreadState *tstate, PyObject *func) in cfunction_enter_call() 416 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL() local 435 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL_KEYWORDS() local 451 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() local 467 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_NOARGS() local 494 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_O() local 523 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_call() local
|
| D | object.c | 406 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Repr() local 466 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Str() local 657 do_richcompare(PyThreadState *tstate, PyObject *v, PyObject *w, int op) in do_richcompare() 711 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_RichCompare() local 2032 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_deposit_object() local 2046 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_deposit_object() local 2060 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_destroy_chain() local 2087 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_destroy_chain() local 2123 _PyTrash_begin(PyThreadState *tstate, PyObject *op) in _PyTrash_begin() 2137 _PyTrash_end(PyThreadState *tstate) in _PyTrash_end()
|
| D | descrobject.c | 286 method_enter_call(PyThreadState *tstate, PyObject *func) in method_enter_call() 299 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_VARARGS() local 323 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_VARARGS_KEYWORDS() local 358 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL_KEYWORDS_METHOD() local 378 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL() local 397 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL_KEYWORDS() local 416 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_NOARGS() local 443 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_O() local
|
| /third_party/python/Modules/ |
| D | gcmodule.c | 156 _PyGC_Init(PyThreadState *tstate) in _PyGC_Init() 919 handle_legacy_finalizers(PyThreadState *tstate, in handle_legacy_finalizers() 946 finalize_garbage(PyThreadState *tstate, PyGC_Head *collectable) in finalize_garbage() 982 delete_garbage(PyThreadState *tstate, GCState *gcstate, in delete_garbage() 1170 collect(PyThreadState *tstate, int generation, in collect() 1337 invoke_gc_callback(PyThreadState *tstate, const char *phase, in invoke_gc_callback() 1382 collect_with_callback(PyThreadState *tstate, int generation) in collect_with_callback() 1394 collect_generations(PyThreadState *tstate) in collect_generations() 1461 PyThreadState *tstate = _PyThreadState_GET(); in gc_enable_impl() local 1477 PyThreadState *tstate = _PyThreadState_GET(); in gc_disable_impl() local [all …]
|
| D | signalmodule.c | 473 PyThreadState *tstate = _PyThreadState_GET(); in signal_signal_impl() local 701 PyThreadState *tstate = _PyThreadState_GET(); in signal_set_wakeup_fd() local 1673 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_CheckSignals() local 1684 _PyErr_CheckSignalsTstate(PyThreadState *tstate) in _PyErr_CheckSignalsTstate() 1743 PyThreadState *tstate = _PyThreadState_GET(); in _PyErr_CheckSignals() local 1827 _PyOS_InterruptOccurred(PyThreadState *tstate) in _PyOS_InterruptOccurred() 1847 PyThreadState *tstate = _PyThreadState_GET(); in PyOS_InterruptOccurred() local
|
| D | faulthandler.c | 210 PyThreadState *tstate = _PyThreadState_UncheckedGet(); in get_thread_state() local 225 PyThreadState *tstate; in faulthandler_dump_traceback() local 260 PyThreadState *tstate; in faulthandler_dump_traceback_py() local 524 PyThreadState *tstate; in faulthandler_py_enable() local 690 PyThreadState *tstate; in faulthandler_dump_traceback_later() local 893 PyThreadState *tstate; in faulthandler_register_py() local
|
| D | _threadmodule.c | 807 PyThreadState *tstate; in local_clear() local 1024 PyThreadState *tstate; member 1032 PyThreadState *tstate; in t_bootstrap() local 1263 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel() local
|
| D | _testinternalcapi.c | 74 PyThreadState *tstate = PyThreadState_Get(); in get_recursion_depth() local
|
| /third_party/python/Include/cpython/ |
| D | abstract.h | 103 _PyObject_VectorcallTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_VectorcallTstate() 126 PyThreadState *tstate = PyThreadState_GET(); in PyObject_Vectorcall() local 153 _PyObject_FastCallTstate(PyThreadState *tstate, PyObject *func, PyObject *const *args, Py_ssize_t n… in _PyObject_FastCallTstate() 162 PyThreadState *tstate = PyThreadState_GET(); in _PyObject_FastCall() local 171 PyThreadState *tstate = PyThreadState_GET(); in _PyObject_CallNoArg() local 180 PyThreadState *tstate; in PyObject_CallOneArg() local
|
| /third_party/python/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 361 PyThreadState *tstate = _PyThreadState_GET(); in PyOS_Readline() local
|