Home
last modified time | relevance | path

Searched refs:PyFrameObject (Results 1 – 25 of 40) sorted by relevance

12

/third_party/python/Include/cpython/
Dframeobject.h70 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
74 PyFrameObject*
82 PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int);
83 PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *);
87 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
89 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
90 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
94 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
Dpystate.h13 typedef int (*Py_tracefunc)(PyObject *, PyFrameObject *, int, PyObject *);
68 PyFrameObject *frame;
203 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, PyFrameObject *, int);
Dtraceback.h8 PyFrameObject *tb_frame;
Dceval.h22 PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(PyThreadState *tstate, PyFrameObject *f, int exc);
/third_party/python/Objects/
Dframeobject.c12 #define OFF(x) offsetof(PyFrameObject, x)
33 frame_getlocals(PyFrameObject *f, void *closure) in frame_getlocals()
42 PyFrame_GetLineNumber(PyFrameObject *f) in PyFrame_GetLineNumber()
54 frame_getlineno(PyFrameObject *f, void *closure) in frame_getlineno()
66 frame_getlasti(PyFrameObject *f, void *closure) in frame_getlasti()
300 frame_stack_pop(PyFrameObject *f) in frame_stack_pop()
309 frame_block_unwind(PyFrameObject *f) in frame_block_unwind()
344 frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno, void *Py_UNUSED(ignored)) in frame_setlineno()
499 frame_gettrace(PyFrameObject *f, void *closure) in frame_gettrace()
512 frame_settrace(PyFrameObject *f, PyObject* v, void *closure) in frame_settrace()
[all …]
Dgenobject.c144 PyFrameObject *f = gen->gi_frame; in gen_send_ex2()
344 PyFrameObject *f = gen->gi_frame; in _PyGen_yf()
438 PyFrameObject *f = tstate->frame; in _gen_throw()
831 gen_new_with_qualname(PyTypeObject *type, PyFrameObject *f, in gen_new_with_qualname()
863 PyGen_NewWithQualName(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyGen_NewWithQualName()
869 PyGen_New(PyFrameObject *f) in PyGen_New()
1167 PyFrameObject *frame = PyEval_GetFrame(); in compute_cr_origin()
1198 PyCoro_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyCoro_New()
1470 PyAsyncGen_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyAsyncGen_New()
1881 PyFrameObject *f = gen->gi_frame; in async_gen_athrow_send()
/third_party/python/Include/
Dgenobject.h19 PyFrameObject *prefix##_frame; \
40 PyAPI_FUNC(PyObject *) PyGen_New(PyFrameObject *);
41 PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(PyFrameObject *,
59 PyAPI_FUNC(PyObject *) PyCoro_New(PyFrameObject *,
85 PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *,
Dpyframe.h12 typedef struct _frame PyFrameObject; typedef
15 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
17 PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);
Dceval.h34 PyAPI_FUNC(PyFrameObject *) PyEval_GetFrame(void);
73 PyAPI_FUNC(PyObject *) PyEval_EvalFrame(PyFrameObject *);
74 PyAPI_FUNC(PyObject *) PyEval_EvalFrameEx(PyFrameObject *f, int exc);
Dtraceback.h9 PyAPI_FUNC(int) PyTraceBack_Here(PyFrameObject *);
Dpystate.h90 PyAPI_FUNC(PyFrameObject*) PyThreadState_GetFrame(PyThreadState *tstate);
/third_party/python/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
25 PyFrameObject *tb_frame; in tb_new()
38 tb_frame = (PyFrameObject *)fastargs[1]; in tb_new()
/third_party/python/Doc/c-api/
Dreflection.rst26 .. c:function:: PyFrameObject* PyEval_GetFrame(void)
34 .. c:function:: int PyFrame_GetBack(PyFrameObject *frame)
45 .. c:function:: int PyFrame_GetCode(PyFrameObject *frame)
56 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame)
Dgen.rst35 .. c:function:: PyObject* PyGen_New(PyFrameObject *frame)
41 .. c:function:: PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qua…
Dcoro.rst30 .. c:function:: PyObject* PyCoro_New(PyFrameObject *frame, PyObject *name, PyObject *qualname)
Dveryhigh.rst287 .. c:type:: PyFrameObject
293 .. c:function:: PyObject* PyEval_EvalFrame(PyFrameObject *f)
299 .. c:function:: PyObject* PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
/third_party/python/Python/
Dtraceback.c38 tb_create_raw(PyTracebackObject *next, PyFrameObject *frame, int lasti, in tb_create_raw()
73 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame, in tb_new_impl()
232 _PyTraceBack_FromFrame(PyObject *tb_next, PyFrameObject *frame) in _PyTraceBack_FromFrame()
243 PyTraceBack_Here(PyFrameObject *frame) in PyTraceBack_Here()
262 PyFrameObject *frame; in _PyTraceback_Add()
775 dump_frame(int fd, PyFrameObject *frame) in dump_frame()
814 PyFrameObject *frame; in dump_traceback()
840 PyFrameObject *back = frame->f_back; in dump_traceback()
Dceval.c68 PyThreadState *, PyFrameObject *,
72 PyThreadState *, PyFrameObject *,
76 PyThreadState *, PyFrameObject *,
79 PyThreadState *, PyFrameObject *,
81 static void maybe_dtrace_line(PyFrameObject *, PyTraceInfo *, int);
82 static void dtrace_function_entry(PyFrameObject *);
83 static void dtrace_function_return(PyFrameObject *);
85 static PyObject * import_name(PyThreadState *, PyFrameObject *,
92 PyFrameObject *, const _Py_CODEUNIT *);
1141 PyEval_EvalFrame(PyFrameObject *f) in PyEval_EvalFrame()
[all …]
D_warnings.c758 is_internal_frame(PyFrameObject *frame) in is_internal_frame()
811 static PyFrameObject *
812 next_external_frame(PyFrameObject *frame) in next_external_frame()
815 PyFrameObject *back = PyFrame_GetBack(frame); in next_external_frame()
834 PyFrameObject *f = PyThreadState_GetFrame(tstate); in setup_context()
839 PyFrameObject *back = PyFrame_GetBack(f); in setup_context()
Dsuggestions.c220 PyFrameObject *frame = traceback->tb_frame; in offer_suggestions_for_name_error()
Dsysmodule.c950 PyFrameObject *frame, int what, PyObject *arg) in call_trampoline()
973 profile_trampoline(PyObject *self, PyFrameObject *frame, in profile_trampoline()
992 trace_trampoline(PyObject *self, PyFrameObject *frame, in trace_trampoline()
1804 PyFrameObject *f = PyThreadState_GetFrame(tstate); in sys__getframe_impl()
1812 PyFrameObject *back = PyFrame_GetBack(f); in sys__getframe_impl()
/third_party/python/Include/internal/
Dpycore_traceback.h88 PyFrameObject *frame);
Dpycore_ceval.h44 _PyEval_EvalFrame(PyThreadState *tstate, PyFrameObject *f, int throwflag) in _PyEval_EvalFrame()
Dpycore_interp.h133 PyFrameObject *free_list;
/third_party/python/Modules/
D_tracemalloc.c302 tracemalloc_get_frame(PyFrameObject *pyframe, frame_t *frame) in tracemalloc_get_frame()
398 PyFrameObject *pyframe = PyThreadState_GetFrame(tstate); in traceback_get_frames()
409 PyFrameObject *back = PyFrame_GetBack(pyframe); in traceback_get_frames()

12