Home
last modified time | relevance | path

Searched refs:tstate (Results 1 – 25 of 2205) sorted by relevance

12345678910>>...89

/dports/lang/cython-devel/cython-2b1e743/Cython/Utility/
H A DProfile.c64 #define __Pyx_EnterTracing(tstate) PyThreadState_EnterTracing(tstate) argument
66 #define __Pyx_LeaveTracing(tstate) PyThreadState_LeaveTracing(tstate) argument
75 do { tstate->tracing++; tstate->cframe->use_tracing = 0; } while (0)
79 tstate->tracing--; \
80 tstate->cframe->use_tracing = ((CYTHON_TRACE && tstate->c_tracefunc != NULL) \
91 do { tstate->tracing++; tstate->use_tracing = 0; } while (0)
95 tstate->tracing--; \
96 tstate->use_tracing = ((CYTHON_TRACE && tstate->c_tracefunc != NULL) \
155 tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
157 tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
[all …]
/dports/lang/cython/Cython-0.29.24/Cython/Utility/
H A DProfile.c130 tstate->tracing++; in __Pyx_call_return_trace_func()
133 tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
135 tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
138 tstate->tracing--; in __Pyx_call_return_trace_func()
193 tstate->tracing++; in __Pyx_call_line_trace_func()
196 ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); in __Pyx_call_line_trace_func()
199 tstate->tracing--; in __Pyx_call_line_trace_func()
286 tstate->tracing++; in __Pyx_TraceSetupAndCall()
291 if (tstate->c_tracefunc) in __Pyx_TraceSetupAndCall()
297 __Pyx_SetTracing(tstate, (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))); in __Pyx_TraceSetupAndCall()
[all …]
/dports/lang/cython/Cython-0.29.24/build/lib.dragonfly-6.3-DEVELOPMENT-x86_64-3.8/Cython/Utility/
H A DProfile.c130 tstate->tracing++; in __Pyx_call_return_trace_func()
133 tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
135 tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
138 tstate->tracing--; in __Pyx_call_return_trace_func()
193 tstate->tracing++; in __Pyx_call_line_trace_func()
196 ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); in __Pyx_call_line_trace_func()
199 tstate->tracing--; in __Pyx_call_line_trace_func()
286 tstate->tracing++; in __Pyx_TraceSetupAndCall()
291 if (tstate->c_tracefunc) in __Pyx_TraceSetupAndCall()
297 __Pyx_SetTracing(tstate, (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))); in __Pyx_TraceSetupAndCall()
[all …]
/dports/lang/cython/stage/usr/local/lib/python3.8/site-packages/Cython/Utility/
H A DProfile.c130 tstate->tracing++; in __Pyx_call_return_trace_func()
133 tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
135 tstate->c_profilefunc(tstate->c_profileobj, frame, PyTrace_RETURN, result); in __Pyx_call_return_trace_func()
138 tstate->tracing--; in __Pyx_call_return_trace_func()
193 tstate->tracing++; in __Pyx_call_line_trace_func()
196 ret = tstate->c_tracefunc(tstate->c_traceobj, frame, PyTrace_LINE, NULL); in __Pyx_call_line_trace_func()
199 tstate->tracing--; in __Pyx_call_line_trace_func()
286 tstate->tracing++; in __Pyx_TraceSetupAndCall()
291 if (tstate->c_tracefunc) in __Pyx_TraceSetupAndCall()
297 __Pyx_SetTracing(tstate, (tstate->c_profilefunc || (CYTHON_TRACE && tstate->c_tracefunc))); in __Pyx_TraceSetupAndCall()
[all …]
/dports/lang/python310/Python-3.10.1/Python/
H A Dpystate.c361 interpreter_clear(tstate->interp, tstate); in _PyInterpreterState_Clear()
630 tstate->cframe = &tstate->root_cframe; in new_threadstate()
645 tstate->exc_info = &tstate->exc_state; in new_threadstate()
674 tstate->next->prev = tstate; in new_threadstate()
876 tstate->on_delete(tstate->on_delete_data); in PyThreadState_Clear()
895 tstate->prev->next = tstate->next; in tstate_delete_common()
901 tstate->next->prev = tstate->prev; in tstate_delete_common()
975 tstate->prev->next = tstate->next; in _PyThreadState_DeleteExcept()
978 tstate->next->prev = tstate->prev; in _PyThreadState_DeleteExcept()
980 tstate->prev = tstate->next = NULL; in _PyThreadState_DeleteExcept()
[all …]
H A Derrors.c55 oldtype = tstate->curexc_type; in _PyErr_Restore()
59 tstate->curexc_type = type; in _PyErr_Restore()
60 tstate->curexc_value = value; in _PyErr_Restore()
140 _PyErr_Clear(tstate); in _PyErr_SetObject()
463 _PyErr_Clear(tstate); in PyErr_Clear()
1057 _PyErr_Clear(tstate); in _PyErr_FormatV()
1331 _PyErr_Clear(tstate); in write_unraisable_exc_file()
1355 _PyErr_Clear(tstate); in write_unraisable_exc_file()
1596 _PyErr_Clear(tstate); in PyErr_SyntaxLocationObjectEx()
1611 _PyErr_Clear(tstate); in PyErr_SyntaxLocationObjectEx()
[all …]
/dports/lang/python39/Python-3.9.9/Python/
H A Dpystate.c387 if (tstate != NULL && tstate->interp != interpreters->main) { in _PyInterpreterState_DeleteExceptMain()
598 tstate->exc_info = &tstate->exc_state; in new_threadstate()
627 tstate->next->prev = tstate; in new_threadstate()
813 if (verbose && tstate->exc_info != &tstate->exc_state) { in PyThreadState_Clear()
829 tstate->on_delete(tstate->on_delete_data); in PyThreadState_Clear()
848 tstate->prev->next = tstate->next; in tstate_delete_common()
854 tstate->next->prev = tstate->prev; in tstate_delete_common()
928 tstate->prev->next = tstate->next; in _PyThreadState_DeleteExcept()
931 tstate->next->prev = tstate->prev; in _PyThreadState_DeleteExcept()
933 tstate->prev = tstate->next = NULL; in _PyThreadState_DeleteExcept()
[all …]
/dports/devel/nuitka/Nuitka-0.6.17/nuitka/build/include/nuitka/
H A Dexceptions.h34 return tstate->curexc_type; in GET_ERROR_OCCURRED()
45 tstate->curexc_type = NULL; in CLEAR_ERROR_OCCURRED()
46 tstate->curexc_value = NULL; in CLEAR_ERROR_OCCURRED()
89 PRINT_EXCEPTION(tstate->curexc_type, tstate->curexc_value, tstate->curexc_traceback); in FETCH_ERROR_OCCURRED()
92 tstate->curexc_type = NULL; in FETCH_ERROR_OCCURRED()
93 tstate->curexc_value = NULL; in FETCH_ERROR_OCCURRED()
106 tstate->curexc_type = NULL; in FETCH_ERROR_OCCURRED_UNTRACED()
125 PRINT_EXCEPTION(tstate->curexc_type, tstate->curexc_value, tstate->curexc_traceback); in RESTORE_ERROR_OCCURRED()
271 PRINT_EXCEPTION(tstate->curexc_type, tstate->curexc_value, tstate->curexc_traceback); in SET_CURRENT_EXCEPTION_TYPE0()
296 PRINT_EXCEPTION(tstate->curexc_type, tstate->curexc_value, tstate->curexc_traceback); in SET_CURRENT_EXCEPTION_TYPE0_VALUE0()
[all …]
/dports/lang/python311/Python-3.11.0a3/Python/
H A Dpystate.c460 interpreter_clear(tstate->interp, tstate); in _PyInterpreterState_Clear()
784 tstate->exc_info = &tstate->exc_state; in init_threadstate()
786 tstate->cframe = &tstate->root_cframe; in init_threadstate()
1052 tstate->on_delete(tstate->on_delete_data); in PyThreadState_Clear()
1071 tstate->prev->next = tstate->next; in tstate_delete_common()
1077 tstate->next->prev = tstate->prev; in tstate_delete_common()
1157 tstate->prev->next = tstate->next; in _PyThreadState_DeleteExcept()
1160 tstate->next->prev = tstate->prev; in _PyThreadState_DeleteExcept()
1162 tstate->prev = tstate->next = NULL; in _PyThreadState_DeleteExcept()
1324 for (PyThreadState *tstate = interp->threads.head; tstate != NULL; tstate = tstate->next) { in PyThreadState_SetAsyncExc() local
[all …]
H A Derrors.c57 oldtype = tstate->curexc_type; in _PyErr_Restore()
61 tstate->curexc_type = type; in _PyErr_Restore()
62 tstate->curexc_value = value; in _PyErr_Restore()
470 _PyErr_Clear(tstate); in PyErr_Clear()
1079 _PyErr_Clear(tstate); in _PyErr_FormatV()
1353 _PyErr_Clear(tstate); in write_unraisable_exc_file()
1378 _PyErr_Clear(tstate); in write_unraisable_exc_file()
1620 _PyErr_Clear(tstate); in PyErr_SyntaxLocationObjectEx()
1635 _PyErr_Clear(tstate); in PyErr_SyntaxLocationObjectEx()
1647 _PyErr_Clear(tstate); in PyErr_SyntaxLocationObjectEx()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Python/
H A Dpystate.c164 if (tstate != NULL) { in new_threadstate()
169 tstate->tracing = 0; in new_threadstate()
180 tstate->dict = NULL; in new_threadstate()
207 return tstate; in new_threadstate()
239 Py_CLEAR(tstate->dict); in PyThreadState_Clear()
264 if (tstate == NULL) in tstate_delete_common()
274 if (*p == tstate) in tstate_delete_common()
290 *p = tstate->next; in tstate_delete_common()
292 free(tstate); in tstate_delete_common()
314 if (tstate == NULL) in PyThreadState_DeleteCurrent()
[all …]
/dports/lang/python27/Python-2.7.18/Python/
H A Dpystate.c164 if (tstate != NULL) { in new_threadstate()
169 tstate->tracing = 0; in new_threadstate()
180 tstate->dict = NULL; in new_threadstate()
207 return tstate; in new_threadstate()
239 Py_CLEAR(tstate->dict); in PyThreadState_Clear()
264 if (tstate == NULL) in tstate_delete_common()
274 if (*p == tstate) in tstate_delete_common()
290 *p = tstate->next; in tstate_delete_common()
292 free(tstate); in tstate_delete_common()
314 if (tstate == NULL) in PyThreadState_DeleteCurrent()
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Python/
H A Dpystate.c165 if (tstate != NULL) { in new_threadstate()
170 tstate->tracing = 0; in new_threadstate()
181 tstate->dict = NULL; in new_threadstate()
205 return tstate; in new_threadstate()
237 Py_CLEAR(tstate->dict); in PyThreadState_Clear()
262 if (tstate == NULL) in tstate_delete_common()
272 if (*p == tstate) in tstate_delete_common()
288 *p = tstate->next; in tstate_delete_common()
290 free(tstate); in tstate_delete_common()
312 if (tstate == NULL) in PyThreadState_DeleteCurrent()
[all …]
/dports/lang/python37/Python-3.7.12/Python/
H A Dpystate.c391 tstate->exc_info = &tstate->exc_state; in new_threadstate()
423 tstate->next->prev = tstate; in new_threadstate()
428 return tstate; in new_threadstate()
625 tstate->prev->next = tstate->next; in tstate_delete_common()
629 tstate->next->prev = tstate->prev; in tstate_delete_common()
632 tstate->on_delete(tstate->on_delete_data); in tstate_delete_common()
690 tstate->prev->next = tstate->next; in _PyThreadState_DeleteExcept()
692 tstate->next->prev = tstate->prev; in _PyThreadState_DeleteExcept()
693 tstate->prev = tstate->next = NULL; in _PyThreadState_DeleteExcept()
721 return tstate; in PyThreadState_Get()
[all …]
/dports/audio/carla/Carla-2.4.1/data/patches/
H A Dpyliblo-python3.7.patch9 - tmp_type = tstate->exc_type;
10 - tmp_value = tstate->exc_value;
11 - tmp_tb = tstate->exc_traceback;
12 - tstate->exc_type = local_type;
28 - *type = tstate->exc_type;
29 - *value = tstate->exc_value;
30 - *tb = tstate->exc_traceback;
41 - tmp_type = tstate->exc_type;
44 - tstate->exc_type = type;
45 - tstate->exc_value = value;
[all …]
/dports/databases/timescaledb/timescaledb-2.5.1/tsl/src/
H A Dpartialize_finalize.c262 FATransitionState *tstate = NULL; in fa_transition_state_init() local
263 tstate = (FATransitionState *) MemoryContextAlloc(*fa_context, sizeof(*tstate)); in fa_transition_state_init()
265 tstate->per_group_state = in fa_transition_state_init()
271 return tstate; in fa_transition_state_init()
283 FAPerQueryState *tstate; in fa_perquery_state_init() local
315 fmgr_info_cxt(tstate->combine_meta.combinefnoid, &tstate->combine_meta.combinefn, qcontext); in fa_perquery_state_init()
381 fmgr_info_cxt(tstate->final_meta.finalfnoid, &tstate->final_meta.finalfn, qcontext); in fa_perquery_state_init()
410 return tstate; in fa_perquery_state_init()
464 if (tstate == NULL) in tsl_finalize_agg_sfunc()
518 PG_RETURN_POINTER(tstate); in tsl_finalize_agg_sfunc()
[all …]
/dports/lang/python39/Python-3.9.9/Include/internal/
H A Dpycore_ceval.h31 PyThreadState *tstate,
40 return tstate->interp->eval_frame(tstate, f, throwflag); in _PyEval_EvalFrame()
44 PyThreadState *tstate,
68 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit in _Py_MakeRecCheck()
73 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit); in _Py_MakeRecCheck()
78 PyThreadState *tstate,
83 return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); in _Py_EnterRecursiveCall()
87 PyThreadState *tstate = PyThreadState_GET(); in _Py_EnterRecursiveCall_inline() local
106 tstate->recursion_depth--; in _Py_LeaveRecursiveCall()
109 tstate->overflowed = 0; in _Py_LeaveRecursiveCall()
[all …]
/dports/devel/py-frozendict/frozendict-2.1.1/frozendict/src/3_9/cpython_src/Include/internal/
H A Dpycore_ceval.h31 PyThreadState *tstate,
40 return tstate->interp->eval_frame(tstate, f, throwflag); in _PyEval_EvalFrame()
44 PyThreadState *tstate,
68 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit in _Py_MakeRecCheck()
73 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit); in _Py_MakeRecCheck()
78 PyThreadState *tstate,
83 return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); in _Py_EnterRecursiveCall()
87 PyThreadState *tstate = PyThreadState_GET(); in _Py_EnterRecursiveCall_inline() local
106 tstate->recursion_depth--; in _Py_LeaveRecursiveCall()
109 tstate->overflowed = 0; in _Py_LeaveRecursiveCall()
[all …]
/dports/lang/python310/Python-3.10.1/Include/internal/
H A Dpycore_ceval.h31 PyThreadState *tstate,
39 PyThreadState *tstate,
46 return tstate->interp->eval_frame(tstate, f, throwflag); in _PyEval_EvalFrame()
50 _PyEval_Vector(PyThreadState *tstate,
74 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit in _Py_MakeRecCheck()
79 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit); in _Py_MakeRecCheck()
84 PyThreadState *tstate,
89 return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); in _Py_EnterRecursiveCall()
93 PyThreadState *tstate = PyThreadState_GET(); in _Py_EnterRecursiveCall_inline() local
100 tstate->recursion_depth--; in _Py_LeaveRecursiveCall()
[all …]
/dports/lang/python311/Python-3.11.0a3/Include/internal/
H A Dpycore_ceval.h32 PyThreadState *tstate,
40 PyThreadState *tstate,
47 if (tstate->interp->eval_frame == NULL) { in _PyEval_EvalFrame()
50 return tstate->interp->eval_frame(tstate, frame, throwflag); in _PyEval_EvalFrame()
54 _PyEval_Vector(PyThreadState *tstate,
78 return (tstate->recursion_remaining-- <= 0 in _Py_MakeRecCheck()
83 return tstate->recursion_remaining-- <= 0; in _Py_MakeRecCheck()
88 PyThreadState *tstate,
93 return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); in _Py_EnterRecursiveCall()
104 tstate->recursion_remaining++; in _Py_LeaveRecursiveCall()
[all …]
/dports/devel/py-frozendict/frozendict-2.1.1/frozendict/src/3_10/cpython_src/Include/internal/
H A Dpycore_ceval.h31 PyThreadState *tstate,
39 PyThreadState *tstate,
46 return tstate->interp->eval_frame(tstate, f, throwflag); in _PyEval_EvalFrame()
50 _PyEval_Vector(PyThreadState *tstate,
74 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit in _Py_MakeRecCheck()
79 return (++tstate->recursion_depth > tstate->interp->ceval.recursion_limit); in _Py_MakeRecCheck()
84 PyThreadState *tstate,
89 return (_Py_MakeRecCheck(tstate) && _Py_CheckRecursiveCall(tstate, where)); in _Py_EnterRecursiveCall()
93 PyThreadState *tstate = PyThreadState_GET(); in _Py_EnterRecursiveCall_inline() local
100 tstate->recursion_depth--; in _Py_LeaveRecursiveCall()
[all …]
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/thirdparty/pybind11/include/pybind11/
H A Dgil.h54 tstate = (PyThreadState *) PYBIND11_TLS_GET_VALUE(internals.tstate); in PYBIND11_NAMESPACE_END()
56 if (!tstate) { in PYBIND11_NAMESPACE_END()
65 if (!tstate) { in PYBIND11_NAMESPACE_END()
68 if (!tstate) in PYBIND11_NAMESPACE_END()
72 PYBIND11_TLS_REPLACE_VALUE(internals.tstate, tstate); in PYBIND11_NAMESPACE_END()
85 ++tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
89 --tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
124 PyThreadState *tstate = nullptr; in PYBIND11_NAMESPACE_END()
136 tstate = PyEval_SaveThread(); in disassoc()
153 if (!tstate) in ~gil_scoped_release()
[all …]
/dports/devel/pybind11/pybind11-2.8.1/include/pybind11/
H A Dgil.h54 tstate = (PyThreadState *) PYBIND11_TLS_GET_VALUE(internals.tstate); in PYBIND11_NAMESPACE_END()
56 if (!tstate) { in PYBIND11_NAMESPACE_END()
65 if (!tstate) { in PYBIND11_NAMESPACE_END()
68 if (!tstate) in PYBIND11_NAMESPACE_END()
72 PYBIND11_TLS_REPLACE_VALUE(internals.tstate, tstate); in PYBIND11_NAMESPACE_END()
85 ++tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
89 --tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
124 PyThreadState *tstate = nullptr; in PYBIND11_NAMESPACE_END()
136 tstate = PyEval_SaveThread(); in disassoc()
153 if (!tstate) in ~gil_scoped_release()
[all …]
/dports/science/smoldyn/smoldyn-2.67/source/pybind11/include/pybind11/
H A Dgil.h54 tstate = (PyThreadState *) PYBIND11_TLS_GET_VALUE(internals.tstate); in PYBIND11_NAMESPACE_END()
56 if (!tstate) { in PYBIND11_NAMESPACE_END()
65 if (!tstate) { in PYBIND11_NAMESPACE_END()
68 if (!tstate) in PYBIND11_NAMESPACE_END()
72 PYBIND11_TLS_REPLACE_VALUE(internals.tstate, tstate); in PYBIND11_NAMESPACE_END()
85 ++tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
89 --tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
124 PyThreadState *tstate = nullptr; in PYBIND11_NAMESPACE_END()
136 tstate = PyEval_SaveThread(); in disassoc()
153 if (!tstate) in ~gil_scoped_release()
[all …]
/dports/devel/py-pybind11/pybind11-2.9.0/pybind11/include/pybind11/
H A Dgil.h54 tstate = (PyThreadState *) PYBIND11_TLS_GET_VALUE(internals.tstate); in PYBIND11_NAMESPACE_END()
56 if (!tstate) { in PYBIND11_NAMESPACE_END()
65 if (!tstate) { in PYBIND11_NAMESPACE_END()
68 if (!tstate) in PYBIND11_NAMESPACE_END()
72 PYBIND11_TLS_REPLACE_VALUE(internals.tstate, tstate); in PYBIND11_NAMESPACE_END()
85 ++tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
89 --tstate->gilstate_counter; in PYBIND11_NAMESPACE_END()
124 PyThreadState *tstate = nullptr; in PYBIND11_NAMESPACE_END()
136 tstate = PyEval_SaveThread(); in disassoc()
153 if (!tstate) in ~gil_scoped_release()
[all …]

12345678910>>...89