Home
last modified time | relevance | path

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

12

/external/python/cpython3/Include/
Dframeobject.h47 } PyFrameObject; typedef
56 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
60 PyFrameObject* _PyFrame_New_NoTrack(PyThreadState *, PyCodeObject *,
68 PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int);
69 PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *);
73 PyAPI_FUNC(PyObject **) PyFrame_ExtendStack(PyFrameObject *, int, int);
77 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
79 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
80 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
87 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
/external/python/cpython2/Include/
Dframeobject.h50 } PyFrameObject; typedef
61 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
69 PyAPI_FUNC(void) PyFrame_BlockSetup(PyFrameObject *, int, int, int);
70 PyAPI_FUNC(PyTryBlock *) PyFrame_BlockPop(PyFrameObject *);
74 PyAPI_FUNC(PyObject **) PyFrame_ExtendStack(PyFrameObject *, int, int);
78 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
79 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
84 PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);
/external/python/cpython3/Objects/
Dframeobject.c11 #define OFF(x) offsetof(PyFrameObject, x)
25 frame_getlocals(PyFrameObject *f, void *closure) in frame_getlocals()
34 PyFrame_GetLineNumber(PyFrameObject *f) in PyFrame_GetLineNumber()
43 frame_getlineno(PyFrameObject *f, void *closure) in frame_getlineno()
67 frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno, void *Py_UNUSED(ignored)) in frame_setlineno()
375 frame_gettrace(PyFrameObject *f, void *closure) in frame_gettrace()
388 frame_settrace(PyFrameObject *f, PyObject* v, void *closure) in frame_settrace()
452 static PyFrameObject *free_list = NULL;
458 frame_dealloc(PyFrameObject *f) in frame_dealloc()
500 frame_traverse(PyFrameObject *f, visitproc visit, void *arg) in frame_traverse()
[all …]
Dgenobject.c155 PyFrameObject *f = gen->gi_frame; in gen_send_ex()
333 PyFrameObject *f = gen->gi_frame; in _PyGen_yf()
778 gen_new_with_qualname(PyTypeObject *type, PyFrameObject *f, in gen_new_with_qualname()
811 PyGen_NewWithQualName(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyGen_NewWithQualName()
817 PyGen_New(PyFrameObject *f) in PyGen_New()
826 PyFrameObject *f = gen->gi_frame; in PyGen_NeedsFinalizing()
1124 PyFrameObject *frame = PyEval_GetFrame(); in compute_cr_origin()
1155 PyCoro_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyCoro_New()
1432 PyAsyncGen_New(PyFrameObject *f, PyObject *name, PyObject *qualname) in PyAsyncGen_New()
1800 PyFrameObject *f = gen->gi_frame; in async_gen_athrow_send()
/external/python/cpython2/Objects/
Dframeobject.c15 #define OFF(x) offsetof(PyFrameObject, x)
27 static PyObject * frame_get_ ## NAME(PyFrameObject *f) { \
36 static int frame_set_ ## NAME(PyFrameObject *f, PyObject *new) { \
56 frame_getlocals(PyFrameObject *f, void *closure) in WARN_GET_SET()
64 PyFrame_GetLineNumber(PyFrameObject *f) in PyFrame_GetLineNumber()
73 frame_getlineno(PyFrameObject *f, void *closure) in frame_getlineno()
97 frame_setlineno(PyFrameObject *f, PyObject* p_new_lineno) in frame_setlineno()
388 frame_gettrace(PyFrameObject *f, void *closure) in frame_gettrace()
401 frame_settrace(PyFrameObject *f, PyObject* v, void *closure) in frame_settrace()
415 frame_getrestricted(PyFrameObject *f, void *closure) in frame_getrestricted()
[all …]
Dgenobject.c48 PyFrameObject *f = gen->gi_frame; in gen_send_ex()
383 PyGen_New(PyFrameObject *f) in PyGen_New()
403 PyFrameObject *f = gen->gi_frame; in PyGen_NeedsFinalizing()
/external/llvm/test/Transforms/LICM/
Dpr23608.ll6 %struct.PyFrameObject = type { i32 }
8 @a = common global %struct.PyFrameObject* null, align 8
16 %tmp = load %struct.PyFrameObject*, %struct.PyFrameObject** @a, align 8
17 …%_msld = load i64, i64* inttoptr (i64 and (i64 ptrtoint (%struct.PyFrameObject** @a to i64), i64 -…
18 …%tmp1 = load i32, i32* inttoptr (i64 add (i64 and (i64 ptrtoint (%struct.PyFrameObject** @a to i64…
19 …%f_iblock = getelementptr inbounds %struct.PyFrameObject, %struct.PyFrameObject* %tmp, i64 0, i32 0
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/
Dpr23608.ll6 %struct.PyFrameObject = type { i32 }
8 @a = common global %struct.PyFrameObject* null, align 8
16 %tmp = load %struct.PyFrameObject*, %struct.PyFrameObject** @a, align 8
17 …%_msld = load i64, i64* inttoptr (i64 and (i64 ptrtoint (%struct.PyFrameObject** @a to i64), i64 -…
18 …%tmp1 = load i32, i32* inttoptr (i64 add (i64 and (i64 ptrtoint (%struct.PyFrameObject** @a to i64…
19 …%f_iblock = getelementptr inbounds %struct.PyFrameObject, %struct.PyFrameObject* %tmp, i64 0, i32 0
/external/python/cpython3/Python/clinic/
Dtraceback.c.h12 tb_new_impl(PyTypeObject *type, PyObject *tb_next, PyFrameObject *tb_frame,
22 PyFrameObject *tb_frame; in tb_new()
/external/python/cpython3/Doc/c-api/
Dgen.rst33 .. c:function:: PyObject* PyGen_New(PyFrameObject *frame)
39 .. c:function:: PyObject* PyGen_NewWithQualName(PyFrameObject *frame, PyObject *name, PyObject *qua…
Dreflection.rst26 .. c:function:: PyFrameObject* PyEval_GetFrame()
32 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame)
Dcoro.rst29 .. c:function:: PyObject* PyCoro_New(PyFrameObject *frame, PyObject *name, PyObject *qualname)
Dveryhigh.rst313 .. c:type:: PyFrameObject
319 .. c:function:: PyObject* PyEval_EvalFrame(PyFrameObject *f)
325 .. c:function:: PyObject* PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
/external/python/cpython2/Doc/c-api/
Dreflection.rst26 .. c:function:: PyFrameObject* PyEval_GetFrame()
32 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame)
Dgen.rst34 .. c:function:: PyObject* PyGen_New(PyFrameObject *frame)
Dveryhigh.rst255 .. c:function:: PyObject* PyEval_EvalFrame(PyFrameObject *f)
261 .. c:function:: PyObject* PyEval_EvalFrameEx(PyFrameObject *f, int throwflag)
/external/python/cpython3/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()
231 PyTraceBack_Here(PyFrameObject *frame) in PyTraceBack_Here()
251 PyFrameObject *frame; in _PyTraceback_Add()
744 dump_frame(int fd, PyFrameObject *frame) in dump_frame()
786 PyFrameObject *frame; in dump_traceback()
Dceval.c46 PyThreadState *, PyFrameObject *,
49 PyThreadState *, PyFrameObject *,
52 PyThreadState *, PyFrameObject *);
54 PyThreadState *, PyFrameObject *,
56 static void maybe_dtrace_line(PyFrameObject *, int *, int *, int *);
57 static void dtrace_function_entry(PyFrameObject *);
58 static void dtrace_function_return(PyFrameObject *);
61 static PyObject * import_name(PyFrameObject *, PyObject *, PyObject *,
68 PyFrameObject *, const _Py_CODEUNIT *);
536 PyEval_EvalFrame(PyFrameObject *f) { in PyEval_EvalFrame()
[all …]
D_warnings.c613 is_internal_frame(PyFrameObject *frame) in is_internal_frame()
660 static PyFrameObject *
661 next_external_frame(PyFrameObject *frame) in next_external_frame()
679 PyFrameObject *f = PyThreadState_GET()->frame; in setup_context()
Dsysmodule.c487 PyFrameObject *frame, int what, PyObject *arg) in call_trampoline()
512 profile_trampoline(PyObject *self, PyFrameObject *frame, in profile_trampoline()
529 trace_trampoline(PyObject *self, PyFrameObject *frame, in trace_trampoline()
1353 PyFrameObject *f = PyThreadState_GET()->frame; in sys_getframe()
/external/python/cpython2/Python/
Dceval.c129 static int call_trace(Py_tracefunc, PyObject *, PyFrameObject *,
132 PyFrameObject *, int, PyObject *);
133 static void call_exc_trace(Py_tracefunc, PyObject *, PyFrameObject *);
135 PyFrameObject *, int *, int *, int *);
144 static int exec_statement(PyFrameObject *,
150 PyFrameObject *, unsigned char *);
681 PyEval_EvalFrame(PyFrameObject *f) { in PyEval_EvalFrame()
689 PyEval_EvalFrameEx(PyFrameObject *f, int throwflag) in PyEval_EvalFrameEx()
3371 register PyFrameObject *f; in PyEval_EvalCodeEx()
3722 PyFrameObject *frame = tstate->frame; in set_exc_info()
[all …]
Dtraceback.c84 newtracebackobject(PyTracebackObject *next, PyFrameObject *frame) in newtracebackobject()
106 PyTraceBack_Here(PyFrameObject *frame) in PyTraceBack_Here()
Dsysmodule.c305 PyFrameObject *frame, int what, PyObject *arg) in call_trampoline()
336 profile_trampoline(PyObject *self, PyFrameObject *frame, in profile_trampoline()
354 trace_trampoline(PyObject *self, PyFrameObject *frame, in trace_trampoline()
815 PyFrameObject *f = PyThreadState_GET()->frame; in sys_getframe()
/external/python/cpython3/Modules/
D_tracemalloc.c348 tracemalloc_get_frame(PyFrameObject *pyframe, frame_t *frame) in tracemalloc_get_frame()
448 PyFrameObject *pyframe; in traceback_get_frames()
/external/python/cpython2/Modules/
Dpyexpat.c273 trace_frame(PyThreadState *tstate, PyFrameObject *f, int code, PyObject *val) in trace_frame()
300 trace_frame_exc(PyThreadState *tstate, PyFrameObject *f) in trace_frame_exc()
340 PyFrameObject *f; in call_with_frame()

12