Home
last modified time | relevance | path

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

123456

/aosp_15_r20/external/python/cpython3/Objects/
Dframeobject.c16 #define OFF(x) offsetof(PyFrameObject, x)
26 frame_getlocals(PyFrameObject *f, void *closure) in frame_getlocals()
36 PyFrame_GetLineNumber(PyFrameObject *f) in PyFrame_GetLineNumber()
48 frame_getlineno(PyFrameObject *f, void *closure) in frame_getlineno()
60 frame_getlasti(PyFrameObject *f, void *closure) in frame_getlasti()
70 frame_getglobals(PyFrameObject *f, void *closure) in frame_getglobals()
81 frame_getbuiltins(PyFrameObject *f, void *closure) in frame_getbuiltins()
92 frame_getcode(PyFrameObject *f, void *closure) in frame_getcode()
101 frame_getback(PyFrameObject *f, void *closure) in frame_getback()
591 _PyFrame_GetState(PyFrameObject *frame) in _PyFrame_GetState()
[all …]
/aosp_15_r20/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 …]
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpythoncapi_compat.h152 PyFrame_GetCode(PyFrameObject *frame) in PyFrame_GetCode()
161 _PyFrame_GetCodeBorrow(PyFrameObject *frame) in _PyFrame_GetCodeBorrow()
171 PYCAPI_COMPAT_STATIC_INLINE(PyFrameObject*)
172 PyFrame_GetBack(PyFrameObject *frame) in PyFrame_GetBack()
175 return _Py_CAST(PyFrameObject*, Py_XNewRef(frame->f_back)); in PyFrame_GetBack()
180 PYCAPI_COMPAT_STATIC_INLINE(PyFrameObject*)
181 _PyFrame_GetBackBorrow(PyFrameObject *frame) in _PyFrame_GetBackBorrow()
183 PyFrameObject *back = PyFrame_GetBack(frame); in _PyFrame_GetBackBorrow()
193 PyFrame_GetLocals(PyFrameObject *frame) in PyFrame_GetLocals()
210 PyFrame_GetGlobals(PyFrameObject *frame) in PyFrame_GetGlobals()
[all …]
/aosp_15_r20/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 *);
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dframe.rst6 .. c:type:: PyFrameObject
41 .. c:function:: PyFrameObject* PyFrame_GetBack(PyFrameObject *frame)
51 .. c:function:: PyObject* PyFrame_GetBuiltins(PyFrameObject *frame)
60 .. c:function:: PyCodeObject* PyFrame_GetCode(PyFrameObject *frame)
71 .. c:function:: PyObject* PyFrame_GetGenerator(PyFrameObject *frame)
82 .. c:function:: PyObject* PyFrame_GetGlobals(PyFrameObject *frame)
91 .. c:function:: int PyFrame_GetLasti(PyFrameObject *frame)
100 .. c:function:: PyObject* PyFrame_GetLocals(PyFrameObject *frame)
109 .. c:function:: int PyFrame_GetLineNumber(PyFrameObject *frame)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dpyframe.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
10 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
12 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
13 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
15 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
16 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
Dframeobject.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
16 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
26 PyAPI_FUNC(int) _PyFrame_IsEntryFrame(PyFrameObject *frame);
28 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
29 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dpyframe.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
10 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
12 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
13 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
15 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
16 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
Dframeobject.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
16 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
26 PyAPI_FUNC(int) _PyFrame_IsEntryFrame(PyFrameObject *frame);
28 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
29 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
Dgenobject.h43 PyAPI_FUNC(PyObject *) PyGen_New(PyFrameObject *);
44 PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(PyFrameObject *,
61 PyAPI_FUNC(PyObject *) PyCoro_New(PyFrameObject *,
76 PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *,
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dpyframe.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
10 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
12 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
13 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
15 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
16 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
Dframeobject.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
16 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
26 PyAPI_FUNC(int) _PyFrame_IsEntryFrame(PyFrameObject *frame);
28 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
29 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dpyframe.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
10 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
12 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
13 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
15 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
16 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
Dframeobject.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
16 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
26 PyAPI_FUNC(int) _PyFrame_IsEntryFrame(PyFrameObject *frame);
28 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
29 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
Dgenobject.h43 PyAPI_FUNC(PyObject *) PyGen_New(PyFrameObject *);
44 PyAPI_FUNC(PyObject *) PyGen_NewWithQualName(PyFrameObject *,
61 PyAPI_FUNC(PyObject *) PyCoro_New(PyFrameObject *,
76 PyAPI_FUNC(PyObject *) PyAsyncGen_New(PyFrameObject *,
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dpyframe.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_GetBack(PyFrameObject *frame);
10 PyAPI_FUNC(PyObject *) PyFrame_GetLocals(PyFrameObject *frame);
12 PyAPI_FUNC(PyObject *) PyFrame_GetGlobals(PyFrameObject *frame);
13 PyAPI_FUNC(PyObject *) PyFrame_GetBuiltins(PyFrameObject *frame);
15 PyAPI_FUNC(PyObject *) PyFrame_GetGenerator(PyFrameObject *frame);
16 PyAPI_FUNC(int) PyFrame_GetLasti(PyFrameObject *frame);
Dframeobject.h9 PyAPI_FUNC(PyFrameObject *) PyFrame_New(PyThreadState *, PyCodeObject *,
16 PyAPI_FUNC(void) PyFrame_LocalsToFast(PyFrameObject *, int);
26 PyAPI_FUNC(int) _PyFrame_IsEntryFrame(PyFrameObject *frame);
28 PyAPI_FUNC(int) PyFrame_FastToLocalsWithError(PyFrameObject *f);
29 PyAPI_FUNC(void) PyFrame_FastToLocals(PyFrameObject *);
/aosp_15_r20/external/llvm/test/Transforms/LICM/
H A 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
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dcpython_defs.c212 PyFrameObject*
218 PyFrameObject *f = PyObject_GC_NewVar(PyFrameObject, &PyFrame_Type, slots); in THP_PyFrame_New_NoTrack()
236 PyFrameObject *
243 PyFrameObject *f = THP_PyFrame_New_NoTrack(F_CODE(frame)); in THP_PyFrame_MakeAndSetFrameObject()
277 static inline PyFrameObject *
282 PyFrameObject *res = frame->frame_obj; in THP_PyFrame_GetFrameObject()
291 THP_take_ownership(PyFrameObject *f, _PyInterpreterFrame *frame) in THP_take_ownership()
314 PyFrameObject *back = THP_PyFrame_GetFrameObject(prev); in THP_take_ownership()
322 f->f_back = (PyFrameObject *)Py_NewRef(back); in THP_take_ownership()
348 PyFrameObject *f = frame->frame_obj; in THP_PyFrame_Clear()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_frame.h17 PyFrameObject *f_back; /* previous frame, or NULL */
28 extern PyFrameObject* _PyFrame_New_NoTrack(PyCodeObject *code);
54 PyFrameObject *frame_obj; /* Strong reference, may be NULL */
156 PyFrameObject *
162 static inline PyFrameObject *
167 PyFrameObject *res = frame->frame_obj; in _PyFrame_GetFrameObject()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_frame.h17 PyFrameObject *f_back; /* previous frame, or NULL */
28 extern PyFrameObject* _PyFrame_New_NoTrack(PyCodeObject *code);
54 PyFrameObject *frame_obj; /* Strong reference, may be NULL */
156 PyFrameObject *
162 static inline PyFrameObject *
167 PyFrameObject *res = frame->frame_obj; in _PyFrame_GetFrameObject()
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_frame.h17 PyFrameObject *f_back; /* previous frame, or NULL */
28 extern PyFrameObject* _PyFrame_New_NoTrack(PyCodeObject *code);
54 PyFrameObject *frame_obj; /* Strong reference, may be NULL */
156 PyFrameObject *
162 static inline PyFrameObject *
167 PyFrameObject *res = frame->frame_obj; in _PyFrame_GetFrameObject()
/aosp_15_r20/external/python/cpython3/Python/
Dframe.c26 PyFrameObject *
33 PyFrameObject *f = _PyFrame_New_NoTrack(frame->f_code); in _PyFrame_MakeAndSetFrameObject()
79 take_ownership(PyFrameObject *f, _PyInterpreterFrame *frame) in take_ownership()
102 PyFrameObject *back = _PyFrame_GetFrameObject(prev); in take_ownership()
110 f->f_back = (PyFrameObject *)Py_NewRef(back); in take_ownership()
130 PyFrameObject *f = frame->frame_obj; in _PyFrame_Clear()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_frame.h17 PyFrameObject *f_back; /* previous frame, or NULL */
28 extern PyFrameObject* _PyFrame_New_NoTrack(PyCodeObject *code);
54 PyFrameObject *frame_obj; /* Strong reference, may be NULL */
156 PyFrameObject *
162 static inline PyFrameObject *
167 PyFrameObject *res = frame->frame_obj; in _PyFrame_GetFrameObject()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_frame.h17 PyFrameObject *f_back; /* previous frame, or NULL */
28 extern PyFrameObject* _PyFrame_New_NoTrack(PyCodeObject *code);
54 PyFrameObject *frame_obj; /* Strong reference, may be NULL */
156 PyFrameObject *
162 static inline PyFrameObject *
167 PyFrameObject *res = frame->frame_obj; in _PyFrame_GetFrameObject()

123456