Home
last modified time | relevance | path

Searched defs:tstate (Results 1 – 25 of 54) sorted by relevance

123

/third_party/python/Include/internal/
Dpycore_ceval.h44 _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
Dpycore_pystate.h92 _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
Dpycore_call.h32 _PyObject_CallNoArgTstate(PyThreadState *tstate, PyObject *func) { in _PyObject_CallNoArgTstate()
Dpycore_pyerrors.h11 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred()
/third_party/python/Objects/
Dcall.c22 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 …]
Dmethodobject.c388 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
Dabstract.c28 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 …]
Dobject.c426 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
2116 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_deposit_object() local
2157 PyThreadState *tstate = _PyThreadState_GET(); in _PyTrash_thread_destroy_chain() local
2193 _PyTrash_begin(PyThreadState *tstate, PyObject *op) in _PyTrash_begin()
2207 _PyTrash_end(PyThreadState *tstate) in _PyTrash_end()
Ddescrobject.c284 method_enter_call(PyThreadState *tstate, PyObject *func) in method_enter_call()
297 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_VARARGS() local
321 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_VARARGS_KEYWORDS() local
356 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL_KEYWORDS_METHOD() local
376 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL() local
395 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_FASTCALL_KEYWORDS() local
414 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_NOARGS() local
441 PyThreadState *tstate = _PyThreadState_GET(); in method_vectorcall_O() local
/third_party/python/Python/
Derrors.c41 _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 …]
Dpystate.c209 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 …]
Dsysmodule.c67 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 …]
Dpylifecycle.c156 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 …]
Dimport.c54 _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 …]
Dceval.c152 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 …]
Dceval_gil.h145 PyThreadState *tstate) in drop_gil()
198 tstate_must_exit(PyThreadState *tstate) in tstate_must_exit()
215 take_gil(PyThreadState *tstate) in take_gil()
Dtraceback.c812 dump_traceback(int fd, PyThreadState *tstate, int write_header) in dump_traceback()
857 _Py_DumpTraceback(int fd, PyThreadState *tstate) in _Py_DumpTraceback()
868 write_thread_id(int fd, PyThreadState *tstate, int is_current) in write_thread_id()
890 PyThreadState *tstate; in _Py_DumpTracebackThreads() local
Dpythonrun.c781 _PyErr_PrintEx(PyThreadState *tstate, int set_sys_last_vars) in _PyErr_PrintEx()
871 _PyErr_Print(PyThreadState *tstate) in _PyErr_Print()
879 PyThreadState *tstate = _PyThreadState_GET(); in PyErr_PrintEx() local
1266 run_eval_code_obj(PyThreadState *tstate, PyCodeObject *co, PyObject *globals, PyObject *locals) in run_eval_code_obj()
1302 PyThreadState *tstate = _PyThreadState_GET(); in run_mod() local
1321 PyThreadState *tstate = _PyThreadState_GET(); in run_pyc_file() local
/third_party/python/Include/cpython/
Dabstract.h99 _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
/third_party/python/Parser/
Dmyreadline.c30 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
/third_party/python/Modules/
Dgcmodule.c932 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 …]
Dsignalmodule.c516 PyThreadState *tstate = _PyThreadState_GET(); in signal_signal_impl() local
754 PyThreadState *tstate = _PyThreadState_GET(); local
1663 PyThreadState *tstate = _PyThreadState_GET(); local
1763 PyThreadState *tstate = _PyThreadState_GET(); local
1774 _PyErr_CheckSignalsTstate(PyThreadState *tstate)
1858 PyThreadState *tstate = _PyThreadState_GET(); local
1983 _PyOS_InterruptOccurred(PyThreadState *tstate)
2003 PyThreadState *tstate = _PyThreadState_GET(); local
Dfaulthandler.c212 PyThreadState *tstate = _PyThreadState_GET(); in get_thread_state() local
227 PyThreadState *tstate; in faulthandler_dump_traceback() local
262 PyThreadState *tstate; in faulthandler_dump_traceback_py() local
528 PyThreadState *tstate; in faulthandler_py_enable() local
694 PyThreadState *tstate; in faulthandler_dump_traceback_later() local
897 PyThreadState *tstate; in faulthandler_register_py() local
D_threadmodule.c855 PyThreadState *tstate = PyInterpreterState_ThreadHead(interp); in local_clear() local
1063 PyThreadState *tstate; member
1082 PyThreadState *tstate; in thread_run() local
1318 PyThreadState *tstate = PyThreadState_Get(); in thread__set_sentinel() local
/third_party/lwip/src/netif/ppp/
Dvj.c51 struct cstate *tstate = comp->tstate; in vj_compress_init() local

123