Home
last modified time | relevance | path

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

12345

/aosp_15_r20/external/python/cpython3/Python/
Derrors.c32 _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 …]
Dpystate.c305 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 …]
Dsysmodule.c64 _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 …]
Dpylifecycle.c176 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 …]
Dceval.c225 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 …]
Dimport.c49 _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 …]
/aosp_15_r20/external/python/cpython3/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
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 …]
Dmethodobject.c385 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
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Deval_frame.c181 PyThreadState* tstate, in custom_eval_frame_shim()
188 PyThreadState* tstate = PyThreadState_GET(); in custom_eval_frame_shim() local
194 PyThreadState* tstate, in eval_frame_default()
212 inline static void enable_eval_frame_shim(PyThreadState* tstate) { in enable_eval_frame_shim()
229 inline static void enable_eval_frame_default(PyThreadState* tstate) { in enable_eval_frame_default()
285 PyThreadState* tstate, in clear_old_frame_if_python_312_plus()
296 PyThreadState* tstate, in eval_custom_code_impl()
483 PyThreadState* tstate, in eval_custom_code()
502 PyThreadState* tstate, in _custom_eval_frame_shim()
533 PyThreadState* tstate, in _custom_eval_frame()
[all …]
/aosp_15_r20/external/python/cpython2/Python/
Dpystate.c159 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()
Dsysmodule.c52 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 …]
Dceval.c86 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 …]
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_ceval.h70 _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
Dpycore_call.h77 _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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_ceval.h70 _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
Dpycore_call.h77 _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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_ceval.h70 _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
Dpycore_call.h77 _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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_ceval.h70 _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
Dpycore_call.h77 _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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_ceval.h70 _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
Dpycore_call.h77 _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()
Dpycore_pystate.h91 _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()
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/coverage/cfile/
Dtestsupport.go124 type tstate struct { struct
125 calloc.BatchCounterAlloc
126 cm *cmerge.Merger
127 cf *cformat.Formatter
128 cmode coverage.CounterMode
132 func (ts *tstate) processPod(p pods.Pod, importpaths map[string]struct{}) error {
244 func (ts *tstate) readAuxMetaFiles(metafiles string, importpaths map[string]struct{}) error {
/aosp_15_r20/external/python/cpython3/Modules/
Dgcmodule.c928 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 …]

12345