Home
last modified time | relevance | path

Searched refs:_PyInterpreterFrame (Results 1 – 25 of 45) sorted by relevance

12

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_frame.h18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
47 typedef struct _PyInterpreterFrame { struct
56 struct _PyInterpreterFrame *previous; argument
67 } _PyInterpreterFrame; argument
72 static inline PyObject **_PyFrame_Stackbase(_PyInterpreterFrame *f) { in _PyFrame_Stackbase()
76 static inline PyObject *_PyFrame_StackPeek(_PyInterpreterFrame *f) { in _PyFrame_StackPeek()
82 static inline PyObject *_PyFrame_StackPop(_PyInterpreterFrame *f) { in _PyFrame_StackPop()
88 static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, PyObject *value) { in _PyFrame_StackPush()
93 #define FRAME_SPECIALS_SIZE ((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *))
95 void _PyFrame_Copy(_PyInterpreterFrame *src, _PyInterpreterFrame *dest);
[all …]
Dpycore_ceval.h70 _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) in _PyEval_EvalFrame()
131 extern struct _PyInterpreterFrame* _PyEval_GetFrame(void);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_frame.h18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
47 typedef struct _PyInterpreterFrame { struct
56 struct _PyInterpreterFrame *previous; argument
67 } _PyInterpreterFrame; argument
72 static inline PyObject **_PyFrame_Stackbase(_PyInterpreterFrame *f) { in _PyFrame_Stackbase()
76 static inline PyObject *_PyFrame_StackPeek(_PyInterpreterFrame *f) { in _PyFrame_StackPeek()
82 static inline PyObject *_PyFrame_StackPop(_PyInterpreterFrame *f) { in _PyFrame_StackPop()
88 static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, PyObject *value) { in _PyFrame_StackPush()
93 #define FRAME_SPECIALS_SIZE ((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *))
95 void _PyFrame_Copy(_PyInterpreterFrame *src, _PyInterpreterFrame *dest);
[all …]
Dpycore_ceval.h70 _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) in _PyEval_EvalFrame()
131 extern struct _PyInterpreterFrame* _PyEval_GetFrame(void);
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_frame.h18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
47 typedef struct _PyInterpreterFrame { struct
56 struct _PyInterpreterFrame *previous; argument
67 } _PyInterpreterFrame; argument
72 static inline PyObject **_PyFrame_Stackbase(_PyInterpreterFrame *f) { in _PyFrame_Stackbase()
76 static inline PyObject *_PyFrame_StackPeek(_PyInterpreterFrame *f) { in _PyFrame_StackPeek()
82 static inline PyObject *_PyFrame_StackPop(_PyInterpreterFrame *f) { in _PyFrame_StackPop()
88 static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, PyObject *value) { in _PyFrame_StackPush()
93 #define FRAME_SPECIALS_SIZE ((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *))
95 void _PyFrame_Copy(_PyInterpreterFrame *src, _PyInterpreterFrame *dest);
[all …]
Dpycore_ceval.h70 _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) in _PyEval_EvalFrame()
131 extern struct _PyInterpreterFrame* _PyEval_GetFrame(void);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_frame.h18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
47 typedef struct _PyInterpreterFrame { struct
56 struct _PyInterpreterFrame *previous; argument
67 } _PyInterpreterFrame; typedef
72 static inline PyObject **_PyFrame_Stackbase(_PyInterpreterFrame *f) { in _PyFrame_Stackbase()
76 static inline PyObject *_PyFrame_StackPeek(_PyInterpreterFrame *f) { in _PyFrame_StackPeek()
82 static inline PyObject *_PyFrame_StackPop(_PyInterpreterFrame *f) { in _PyFrame_StackPop()
88 static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, PyObject *value) { in _PyFrame_StackPush()
93 #define FRAME_SPECIALS_SIZE ((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *))
95 void _PyFrame_Copy(_PyInterpreterFrame *src, _PyInterpreterFrame *dest);
[all …]
Dpycore_ceval.h70 _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) in _PyEval_EvalFrame()
131 extern struct _PyInterpreterFrame* _PyEval_GetFrame(void);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_frame.h18 struct _PyInterpreterFrame *f_frame; /* points to the frame data */
47 typedef struct _PyInterpreterFrame { struct
56 struct _PyInterpreterFrame *previous; argument
67 } _PyInterpreterFrame; argument
72 static inline PyObject **_PyFrame_Stackbase(_PyInterpreterFrame *f) { in _PyFrame_Stackbase()
76 static inline PyObject *_PyFrame_StackPeek(_PyInterpreterFrame *f) { in _PyFrame_StackPeek()
82 static inline PyObject *_PyFrame_StackPop(_PyInterpreterFrame *f) { in _PyFrame_StackPop()
88 static inline void _PyFrame_StackPush(_PyInterpreterFrame *f, PyObject *value) { in _PyFrame_StackPush()
93 #define FRAME_SPECIALS_SIZE ((sizeof(_PyInterpreterFrame)-1)/sizeof(PyObject *))
95 void _PyFrame_Copy(_PyInterpreterFrame *src, _PyInterpreterFrame *dest);
[all …]
Dpycore_ceval.h70 _PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag) in _PyEval_EvalFrame()
131 extern struct _PyInterpreterFrame* _PyEval_GetFrame(void);
/aosp_15_r20/external/python/cpython3/Python/
Dframe.c10 _PyFrame_Traverse(_PyInterpreterFrame *frame, visitproc visit, void *arg) in _PyFrame_Traverse()
27 _PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame) in _PyFrame_MakeAndSetFrameObject()
53 f->f_frame = (_PyInterpreterFrame *)f->_f_frame_data; in _PyFrame_MakeAndSetFrameObject()
67 _PyFrame_Copy(_PyInterpreterFrame *src, _PyInterpreterFrame *dest) in _PyFrame_Copy()
79 take_ownership(PyFrameObject *f, _PyInterpreterFrame *frame) in take_ownership()
84 memcpy((_PyInterpreterFrame *)f->_f_frame_data, frame, size); in take_ownership()
85 frame = (_PyInterpreterFrame *)f->_f_frame_data; in take_ownership()
96 _PyInterpreterFrame *prev = frame->previous; in take_ownership()
120 _PyFrame_Clear(_PyInterpreterFrame *frame) in _PyFrame_Clear()
150 _PyInterpreterFrame *
[all …]
Dceval.c106 dump_stack(_PyInterpreterFrame *frame, PyObject **stack_pointer) in dump_stack()
128 lltrace_instruction(_PyInterpreterFrame *frame, in lltrace_instruction()
147 lltrace_resume_frame(_PyInterpreterFrame *frame) in lltrace_resume_frame()
179 PyThreadState *, _PyInterpreterFrame *,
182 PyThreadState *, _PyInterpreterFrame *,
185 PyThreadState *, _PyInterpreterFrame *);
187 PyThreadState *, _PyInterpreterFrame *, int);
188 static void maybe_dtrace_line(_PyInterpreterFrame *, PyTraceInfo *, int);
189 static void dtrace_function_entry(_PyInterpreterFrame *);
190 static void dtrace_function_return(_PyInterpreterFrame *);
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dcpython_defs.c30 THP_PyFrame_OpAlreadyRan(_PyInterpreterFrame *frame, int opcode, int oparg) in THP_PyFrame_OpAlreadyRan()
57 THP_PyFrame_FastToLocalsWithError(_PyInterpreterFrame *frame, int *free_vars_copied) in THP_PyFrame_FastToLocalsWithError()
69 THP_PyFrame_FastToLocalsWithError(_PyInterpreterFrame *frame, int *free_vars_copied) { in THP_PyFrame_FastToLocalsWithError()
237 THP_PyFrame_MakeAndSetFrameObject(_PyInterpreterFrame *frame) in THP_PyFrame_MakeAndSetFrameObject()
263 f->f_frame = (_PyInterpreterFrame *)f->_f_frame_data; in THP_PyFrame_MakeAndSetFrameObject()
278 THP_PyFrame_GetFrameObject(_PyInterpreterFrame *frame) in THP_PyFrame_GetFrameObject()
291 THP_take_ownership(PyFrameObject *f, _PyInterpreterFrame *frame) in THP_take_ownership()
296 memcpy((_PyInterpreterFrame *)f->_f_frame_data, frame, size); in THP_take_ownership()
297 frame = (_PyInterpreterFrame *)f->_f_frame_data; in THP_take_ownership()
308 _PyInterpreterFrame *prev = frame->previous; in THP_take_ownership()
[all …]
H A Dcpython_defs.h11 typedef struct _PyInterpreterFrame _PyInterpreterFrame; typedef
14 _PyInterpreterFrame* frame,
21 void THP_PyFrame_Clear(_PyInterpreterFrame* frame);
23 _PyInterpreterFrame* THP_PyThreadState_BumpFramePointerSlow(
29 _PyInterpreterFrame* frame);
H A Dframelocals_mapping.h10 typedef struct _PyInterpreterFrame _PyInterpreterFrame; typedef
11 PyObject* get_framelocals_mapping(_PyInterpreterFrame* frame);
H A Deval_frame.c41 #define THP_EVAL_API_FRAME_OBJECT _PyInterpreterFrame
48 _PyInterpreterFrame* frame; // Borrowed reference
52 THPPyInterpreterFrame* THPPyInterpreterFrame_New(_PyInterpreterFrame* frame);
146 THPPyInterpreterFrame* THPPyInterpreterFrame_New(_PyInterpreterFrame* frame) { in THPPyInterpreterFrame_New()
722 _PyInterpreterFrame* frame; // Borrowed reference
/aosp_15_r20/external/python/cpython3/Objects/
Dgenobject.c39 _PyInterpreterFrame *frame = (_PyInterpreterFrame *)(gen->gi_iframe); in gen_traverse()
135 _PyInterpreterFrame *frame = (_PyInterpreterFrame *)gen->gi_iframe; in gen_dealloc()
155 _PyInterpreterFrame *frame = (_PyInterpreterFrame *)gen->gi_iframe; in gen_send_ex2()
353 _PyInterpreterFrame *frame = (_PyInterpreterFrame *)gen->gi_iframe; in _PyGen_yf()
426 _PyInterpreterFrame *frame = (_PyInterpreterFrame *)gen->gi_iframe; in _gen_throw()
453 _PyInterpreterFrame *prev = tstate->cframe->current_frame; in _gen_throw()
487 ret = _PyFrame_StackPop((_PyInterpreterFrame *)gen->gi_iframe); in _gen_throw()
782 return _Py_XNewRef((PyObject *)_PyFrame_GetFrameObject((_PyInterpreterFrame *)gen->gi_iframe)); in _gen_getframe()
813 res = offsetof(PyGenObject, gi_iframe) + offsetof(_PyInterpreterFrame, localsplus); in gen_sizeof()
842 offsetof(_PyInterpreterFrame, localsplus), /* tp_basicsize */
[all …]
Dframe_layout.md71 Generators and coroutines contain a `_PyInterpreterFrame`
92 The `PyFrameObject` may outlive a stack-allocated `_PyInterpreterFrame`.
93 If it does then `_PyInterpreterFrame` is copied into the `PyFrameObject`,
103 Generator objects have a `_PyInterpreterFrame` embedded in them.
110 the embedded `_PyInterpreterFrame` is copied into the frame object.
117 Many of the fields in `_PyInterpreterFrame` were copied from the 3.10 `PyFrameObject`.
121 `PyFrameObject` struct, although it belongs to the `_PyInterpreterFrame` struct.
Dframeobject.c866 assert(f->f_frame == (_PyInterpreterFrame *)f->_f_frame_data); in frame_dealloc()
867 _PyInterpreterFrame *frame = (_PyInterpreterFrame *)f->_f_frame_data; in frame_dealloc()
943 res = offsetof(PyFrameObject, _f_frame_data) + offsetof(_PyInterpreterFrame, localsplus); in frame_sizeof()
974 offsetof(_PyInterpreterFrame, localsplus),
1007 init_frame(_PyInterpreterFrame *frame, PyFunctionObject *func, PyObject *locals) in init_frame()
1065 init_frame((_PyInterpreterFrame *)f->_f_frame_data, func, locals); in PyFrame_New()
1066 f->f_frame = (_PyInterpreterFrame *)f->_f_frame_data; in PyFrame_New()
1077 _PyFrame_OpAlreadyRan(_PyInterpreterFrame *frame, int opcode, int oparg) in _PyFrame_OpAlreadyRan()
1102 _PyFrame_FastToLocalsWithError(_PyInterpreterFrame *frame) { in _PyFrame_FastToLocalsWithError()
1222 _PyFrame_LocalsToFast(_PyInterpreterFrame *frame, int clear) in _PyFrame_LocalsToFast()
[all …]
/aosp_15_r20/external/pytorch/torch/_C/_dynamo/
H A Deval_frame.pyi9 _PyInterpreterFrame = NewType("_PyInterpreterFrame", types.FrameType)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dpystate.h51 struct _PyInterpreterFrame *current_frame;
264 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, struct _PyInterpreterFrame *, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dpystate.h51 struct _PyInterpreterFrame *current_frame;
264 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, struct _PyInterpreterFrame *, int);
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dpystate.h51 struct _PyInterpreterFrame *current_frame;
264 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, struct _PyInterpreterFrame *, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dpystate.h51 struct _PyInterpreterFrame *current_frame;
264 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, struct _PyInterpreterFrame *, int);
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dpystate.h51 struct _PyInterpreterFrame *current_frame;
264 typedef PyObject* (*_PyFrameEvalFunction)(PyThreadState *tstate, struct _PyInterpreterFrame *, int);

12