| /third_party/python/Include/internal/ |
| D | pycore_ceval.h | 70 _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) in _PyEval_EvalFrame() 98 static inline int _Py_MakeRecCheck(PyThreadState *tstate) { in _Py_MakeRecCheck() 103 static inline int _Py_MakeRecCheck(PyThreadState *tstate) { in _Py_MakeRecCheck() 112 static inline int _Py_EnterRecursiveCallTstate(PyThreadState *tstate, in _Py_EnterRecursiveCallTstate() 118 PyThreadState *tstate = _PyThreadState_GET(); in _Py_EnterRecursiveCall() local 122 static inline void _Py_LeaveRecursiveCallTstate(PyThreadState *tstate) { in _Py_LeaveRecursiveCallTstate() 127 PyThreadState *tstate = _PyThreadState_GET(); in _Py_LeaveRecursiveCall() local
|
| D | pycore_call.h | 77 _PyObject_VectorcallTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_VectorcallTstate() 98 _PyObject_CallNoArgsTstate(PyThreadState *tstate, PyObject *func) { in _PyObject_CallNoArgsTstate() 106 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_CallNoArgs() local 112 _PyObject_FastCallTstate(PyThreadState *tstate, PyObject *func, PyObject *const *args, Py_ssize_t n… in _PyObject_FastCallTstate()
|
| D | pycore_pystate.h | 91 _Py_EnsureFuncTstateNotNULL(const char *func, PyThreadState *tstate) in _Py_EnsureFuncTstateNotNULL() 99 #define _Py_EnsureTstateNotNULL(tstate) \ argument 112 PyThreadState *tstate = _PyThreadState_GET(); in _PyInterpreterState_GET() local 132 _PyThreadState_UpdateTracingState(PyThreadState *tstate) in _PyThreadState_UpdateTracingState()
|
| D | pycore_pyerrors.h | 20 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred()
|
| D | pycore_frame.h | 199 _PyThreadState_HasStackSpace(PyThreadState *tstate, size_t size) in _PyThreadState_HasStackSpace() 211 _PyThreadState_BumpFramePointer(PyThreadState *tstate, size_t size) in _PyThreadState_BumpFramePointer()
|
| /third_party/python/Python/ |
| D | errors.c | 32 _PyErr_Restore(PyThreadState *tstate, PyObject *type, PyObject *value, in _PyErr_Restore() 62 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Restore() local 68 _PyErr_GetTopmostException(PyThreadState *tstate) in _PyErr_GetTopmostException() 108 _PyErr_SetObject(PyThreadState *tstate, PyObject *exception, PyObject *value) in _PyErr_SetObject() 188 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetObject() local 198 PyThreadState *tstate = _PyThreadState_GET(); in _PyErr_SetKeyError() local 209 _PyErr_SetNone(PyThreadState *tstate, PyObject *exception) in _PyErr_SetNone() 218 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetNone() local 224 _PyErr_SetString(PyThreadState *tstate, PyObject *exception, in _PyErr_SetString() 235 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_SetString() local [all …]
|
| D | pystate.c | 305 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_New() local 391 interpreter_clear(PyInterpreterState *interp, PyThreadState *tstate) in interpreter_clear() 470 _PyInterpreterState_Clear(PyThreadState *tstate) in _PyInterpreterState_Clear() 479 PyThreadState *tstate; in zapthreads() local 541 PyThreadState *tstate = _PyThreadState_Swap(gilstate, NULL); in _PyInterpreterState_DeleteExceptMain() local 580 PyThreadState *tstate = _PyThreadState_GET(); in PyInterpreterState_Get() local 681 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp); in _PyInterpreterState_IDDecref() local 748 free_threadstate(PyThreadState *tstate) in free_threadstate() 764 init_threadstate(PyThreadState *tstate, in init_threadstate() 808 PyThreadState *tstate; in new_threadstate() local [all …]
|
| D | pylifecycle.c | 176 init_importlib(PyThreadState *tstate, PyObject *sysmod) in init_importlib() 224 init_importlib_external(PyThreadState *tstate) in init_importlib_external() 464 interpreter_update_config(PyThreadState *tstate, int only_update_path_config) in interpreter_update_config() 495 PyThreadState *tstate = _PyThreadState_GET(); in _PyInterpreterState_SetConfig() local 544 PyThreadState *tstate = _PyThreadState_GET(); in pyinit_core_reconfigure() local 614 init_interp_create_gil(PyThreadState *tstate) in init_interp_create_gil() 660 PyThreadState *tstate = PyThreadState_New(interp); in pycore_create_interpreter() local 762 pycore_init_builtins(PyThreadState *tstate) in pycore_init_builtins() 820 pycore_interp_init(PyThreadState *tstate) in pycore_interp_init() 894 PyThreadState *tstate; in pyinit_config() local [all …]
|
| D | sysmodule.c | 64 _PySys_GetAttr(PyThreadState *tstate, PyObject *name) in _PySys_GetAttr() 92 PyThreadState *tstate = _PyThreadState_GET(); in PySys_GetObject() 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 425 PyThreadState *tstate = _PyThreadState_GET(); in sys_addaudithook_impl() local 462 PyThreadState *tstate = _PyThreadState_GET(); in sys_audit() local 512 PyThreadState *tstate = _PyThreadState_GET(); in sys_breakpointhook() local 680 PyThreadState *tstate = _PyThreadState_GET(); in sys_displayhook() local 933 call_trampoline(PyThreadState *tstate, PyObject* callback, in call_trampoline() [all …]
|
| D | ceval.c | 225 is_tstate_valid(PyThreadState *tstate) in is_tstate_valid() 364 _PyEval_InitGIL(PyThreadState *tstate) in _PyEval_InitGIL() 424 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_AcquireLock() local 434 PyThreadState *tstate = _PyRuntimeState_GetThreadState(runtime); in PyEval_ReleaseLock() local 444 _PyEval_ReleaseLock(PyThreadState *tstate) in _PyEval_ReleaseLock() 452 PyEval_AcquireThread(PyThreadState *tstate) in PyEval_AcquireThread() 465 PyEval_ReleaseThread(PyThreadState *tstate) in PyEval_ReleaseThread() 484 _PyEval_ReInitThreads(PyThreadState *tstate) in _PyEval_ReInitThreads() 520 PyThreadState *tstate = _PyThreadState_Swap(&runtime->gilstate, NULL); in PyEval_SaveThread() local 531 PyEval_RestoreThread(PyThreadState *tstate) in PyEval_RestoreThread() [all …]
|
| D | import.c | 49 _PyImportZip_Init(PyThreadState *tstate) in _PyImportZip_Init() 128 PyThreadState *tstate = PyEval_SaveThread(); in _PyImport_AcquireLock() local 312 import_get_module(PyThreadState *tstate, PyObject *name) in import_get_module() 426 PyThreadState *tstate = _PyThreadState_GET(); in _PyImport_FixupExtensionObject() local 490 import_find_extension(PyThreadState *tstate, PyObject *name, in import_find_extension() 558 import_add_module(PyThreadState *tstate, PyObject *name) in import_add_module() 601 PyThreadState *tstate = _PyThreadState_GET(); in PyImport_AddModuleObject() local 635 remove_module(PyThreadState *tstate, PyObject *name) in remove_module() 733 module_dict_for_exec(PyThreadState *tstate, PyObject *name) in module_dict_for_exec() 759 exec_code_in_module(PyThreadState *tstate, PyObject *name, in exec_code_in_module() [all …]
|
| D | ceval_gil.h | 147 PyThreadState *tstate) in drop_gil() 196 tstate_must_exit(PyThreadState *tstate) in tstate_must_exit() 213 take_gil(PyThreadState *tstate) in take_gil()
|
| D | _warnings.c | 43 PyThreadState *tstate = _PyThreadState_GET(); in get_current_tstate() local 495 show_warning(PyThreadState *tstate, PyObject *filename, int lineno, in show_warning() 568 call_show_warning(PyThreadState *tstate, PyObject *category, in call_show_warning() 625 warn_explicit(PyThreadState *tstate, PyObject *category, PyObject *message, in warn_explicit() 823 PyThreadState *tstate = get_current_tstate(); in setup_context() local 939 PyThreadState *tstate = get_current_tstate(); in do_warn() local 1055 PyThreadState *tstate = get_current_tstate(); in warnings_warn_explicit() local 1216 PyThreadState *tstate = get_current_tstate(); in PyErr_WarnExplicitObject() local 1284 PyThreadState *tstate = get_current_tstate(); in PyErr_WarnExplicitFormat() local
|
| D | pythonrun.c | 119 PyThreadState *tstate = _PyThreadState_GET(); in _PyRun_InteractiveLoopObject() local 194 PyThreadState *tstate = _PyThreadState_GET(); in PyRun_InteractiveOneObjectEx() local 736 PyThreadState *tstate = _PyThreadState_GET(); in _Py_HandleSystemExit() local 777 _PyErr_PrintEx(PyThreadState *tstate, int set_sys_last_vars) in _PyErr_PrintEx() 867 _PyErr_Print(PyThreadState *tstate) in _PyErr_Print() 875 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_PrintEx() local 1573 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_Display() local 1667 PyThreadState *tstate = _PyThreadState_GET(); in flush_io() local 1689 run_eval_code_obj(PyThreadState *tstate, PyCodeObject *co, PyObject *globals, PyObject *locals) in run_eval_code_obj() 1725 PyThreadState *tstate = _PyThreadState_GET(); in run_mod() local [all …]
|
| D | traceback.c | 270 PyThreadState *tstate = _PyThreadState_GET(); in _PyTraceback_Add() local 333 PyThreadState *tstate = _PyThreadState_GET(); in _Py_FindSourceFile() local 1221 dump_traceback(int fd, PyThreadState *tstate, int write_header) in dump_traceback() 1258 _Py_DumpTraceback(int fd, PyThreadState *tstate) in _Py_DumpTraceback() 1269 write_thread_id(int fd, PyThreadState *tstate, int is_current) in write_thread_id() 1291 PyThreadState *tstate; in _Py_DumpTracebackThreads() local
|
| D | frame.c | 151 _PyFrame_Push(PyThreadState *tstate, PyFunctionObject *func) in _PyFrame_Push()
|
| /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() 85 PyThreadState *tstate = _PyThreadState_GET(); in _Py_CheckSlotResult() local 117 _PyObject_FastCallDictTstate(PyThreadState *tstate, PyObject *callable, in _PyObject_FastCallDictTstate() 164 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_VectorcallDict() local 170 _PyObject_MakeTpCall(PyThreadState *tstate, PyObject *callable, in _PyObject_MakeTpCall() 236 _PyVectorcall_Call(PyThreadState *tstate, vectorcallfunc func, in _PyVectorcall_Call() 268 PyThreadState *tstate = _PyThreadState_GET(); in PyVectorcall_Call() local 298 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Vectorcall() local 307 PyThreadState *tstate = _PyThreadState_GET(); in _PyObject_FastCall() local [all …]
|
| D | methodobject.c | 385 cfunction_check_kwargs(PyThreadState *tstate, PyObject *func, PyObject *kwnames) in cfunction_check_kwargs() 404 cfunction_enter_call(PyThreadState *tstate, PyObject *func) in cfunction_enter_call() 417 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL() local 436 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL_KEYWORDS() local 452 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() local 468 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_NOARGS() local 496 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_vectorcall_O() local 526 PyThreadState *tstate = _PyThreadState_GET(); in cfunction_call() local
|
| D | object.c | 419 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Repr() local 479 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Str() local 663 do_richcompare(PyThreadState *tstate, PyObject *v, PyObject *w, int op) in do_richcompare() 717 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_RichCompare() local 2235 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_deposit_object() local 2248 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_destroy_chain() local 2284 _PyTrash_begin(PyThreadState *tstate, PyObject *op) in _PyTrash_begin() 2298 _PyTrash_end(PyThreadState *tstate) in _PyTrash_end() 2378 PyThreadState *tstate = _PyThreadState_GET(); in _Py_Dealloc() local
|
| D | abstract.c | 28 PyThreadState *tstate = _PyThreadState_GET(); in null_error() local 98 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_LengthHint() local 119 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_LengthHint() local 803 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_Format() local 1480 PyThreadState *tstate = _PyThreadState_GET(); in PyNumber_AsSsize_t() local 2160 PyThreadState *tstate = _PyThreadState_GET(); in PySequence_Fast() local 2420 PyThreadState *tstate = _PyThreadState_GET(); in method_output_as_list() local 2570 PyThreadState *tstate = _PyThreadState_GET(); in check_class() local 2617 object_recursive_isinstance(PyThreadState *tstate, PyObject *inst, PyObject *cls) in object_recursive_isinstance() 2684 PyThreadState *tstate = _PyThreadState_GET(); in PyObject_IsInstance() local [all …]
|
| D | descrobject.c | 303 method_enter_call(PyThreadState *tstate, PyObject *func) in method_enter_call() 316 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_VARARGS() local 341 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_VARARGS_KEYWORDS() local 377 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL_KEYWORDS_METHOD() local 397 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL() local 416 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL_KEYWORDS() local 435 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_NOARGS() local 462 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_O() local
|
| /third_party/python/Parser/ |
| D | myreadline.c | 31 my_fgets(PyThreadState* tstate, char *buf, int len, FILE *fp) in my_fgets() 117 _PyOS_WindowsConsoleReadline(PyThreadState *tstate, HANDLE hStdIn) in _PyOS_WindowsConsoleReadline() 246 PyThreadState *tstate = _PyOS_ReadlineTState; in PyOS_StdioReadline() local 360 PyThreadState *tstate = _PyThreadState_GET(); in PyOS_Readline() local
|
| /third_party/python/Modules/ |
| D | gcmodule.c | 928 handle_legacy_finalizers(PyThreadState *tstate, in handle_legacy_finalizers() 955 finalize_garbage(PyThreadState *tstate, PyGC_Head *collectable) in finalize_garbage() 991 delete_garbage(PyThreadState *tstate, GCState *gcstate, in delete_garbage() 1178 gc_collect_main(PyThreadState *tstate, int generation, in gc_collect_main() 1350 invoke_gc_callback(PyThreadState *tstate, const char *phase, in invoke_gc_callback() 1395 gc_collect_with_callback(PyThreadState *tstate, int generation) in gc_collect_with_callback() 1407 gc_collect_generations(PyThreadState *tstate) in gc_collect_generations() 1523 PyThreadState *tstate = _PyThreadState_GET(); in gc_collect_impl() local 1751 PyThreadState *tstate = _PyThreadState_GET(); in gc_get_objects_impl() local 2070 PyThreadState *tstate = _PyThreadState_GET(); in PyGC_Collect() local [all …]
|
| D | signalmodule.c | 545 PyThreadState *tstate = _PyThreadState_GET(); in signal_signal_impl() local 781 PyThreadState *tstate = _PyThreadState_GET(); local 1703 PyThreadState *tstate = _PyThreadState_GET(); local 1805 PyThreadState *tstate = _PyThreadState_GET(); local 1816 _PyErr_CheckSignalsTstate(PyThreadState *tstate) 1909 PyThreadState *tstate = _PyThreadState_GET(); local 2027 _PyOS_InterruptOccurred(PyThreadState *tstate) 2047 PyThreadState *tstate = _PyThreadState_GET(); local
|
| D | faulthandler.c | 161 PyThreadState *tstate = _PyThreadState_GET(); in faulthandler_get_fileno() local 219 PyThreadState *tstate = _PyThreadState_GET(); in get_thread_state() local 234 PyThreadState *tstate; in faulthandler_dump_traceback() local 269 PyThreadState *tstate; in faulthandler_dump_traceback_py() local 547 PyThreadState *tstate; in faulthandler_py_enable() local 713 PyThreadState *tstate; in faulthandler_dump_traceback_later() local 916 PyThreadState *tstate; in faulthandler_register_py() local
|