Home
last modified time | relevance | path

Searched refs:_PyCode_CODE (Results 1 – 20 of 20) sorted by relevance

/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/internal/
Dpycore_frame.h70 ((int)((IF)->prev_instr - _PyCode_CODE((IF)->f_code)))
113 frame->prev_instr = _PyCode_CODE(frame->f_code) - 1; in _PyFrame_InitializeSpecials()
151 frame->prev_instr < _PyCode_CODE(frame->f_code) + frame->f_code->_co_firsttraceable; in _PyFrame_IsIncomplete()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/internal/
Dpycore_frame.h70 ((int)((IF)->prev_instr - _PyCode_CODE((IF)->f_code)))
113 frame->prev_instr = _PyCode_CODE(frame->f_code) - 1; in _PyFrame_InitializeSpecials()
151 frame->prev_instr < _PyCode_CODE(frame->f_code) + frame->f_code->_co_firsttraceable; in _PyFrame_IsIncomplete()
/aosp_15_r20/external/python/cpython3/Include/internal/
Dpycore_frame.h70 ((int)((IF)->prev_instr - _PyCode_CODE((IF)->f_code)))
113 frame->prev_instr = _PyCode_CODE(frame->f_code) - 1; in _PyFrame_InitializeSpecials()
151 frame->prev_instr < _PyCode_CODE(frame->f_code) + frame->f_code->_co_firsttraceable; in _PyFrame_IsIncomplete()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/internal/
Dpycore_frame.h70 ((int)((IF)->prev_instr - _PyCode_CODE((IF)->f_code)))
113 frame->prev_instr = _PyCode_CODE(frame->f_code) - 1; in _PyFrame_InitializeSpecials()
151 frame->prev_instr < _PyCode_CODE(frame->f_code) + frame->f_code->_co_firsttraceable; in _PyFrame_IsIncomplete()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/internal/
Dpycore_frame.h70 ((int)((IF)->prev_instr - _PyCode_CODE((IF)->f_code)))
113 frame->prev_instr = _PyCode_CODE(frame->f_code) - 1; in _PyFrame_InitializeSpecials()
151 frame->prev_instr < _PyCode_CODE(frame->f_code) + frame->f_code->_co_firsttraceable; in _PyFrame_IsIncomplete()
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dcpython_defs.c35 for (_Py_CODEUNIT *instruction = _PyCode_CODE(F_CODE(frame)); in THP_PyFrame_OpAlreadyRan()
85 if (lasti < 0 && _Py_OPCODE(_PyCode_CODE(co)[0]) == COPY_FREE_VARS) { in THP_PyFrame_FastToLocalsWithError()
96 PREV_INSTR(frame) = _PyCode_CODE(F_CODE(frame)); in THP_PyFrame_FastToLocalsWithError()
304 PREV_INSTR(frame) = _PyCode_CODE(code) + code->_co_firsttraceable; in THP_take_ownership()
H A Deval_frame.c353 if (free_vars_copied && _Py_OPCODE(_PyCode_CODE(F_CODE(shadow))[0]) == COPY_FREE_VARS) { in eval_custom_code_impl()
354 PREV_INSTR(shadow) = _PyCode_CODE(F_CODE(shadow)); in eval_custom_code_impl()
/aosp_15_r20/external/python/cpython3/Objects/
Dframeobject.c796 f->f_frame->prev_instr = _PyCode_CODE(f->f_frame->f_code) + best_addr; in frame_setlineno()
1069 f->f_frame->prev_instr = _PyCode_CODE(code) + code->_co_firsttraceable; in PyFrame_New()
1082 for (_Py_CODEUNIT *instruction = _PyCode_CODE(frame->f_code); in _PyFrame_OpAlreadyRan()
1118 if (lasti < 0 && _Py_OPCODE(_PyCode_CODE(co)[0]) == COPY_FREE_VARS) { in _PyFrame_FastToLocalsWithError()
1129 frame->prev_instr = _PyCode_CODE(frame->f_code); in _PyFrame_FastToLocalsWithError()
Dcodeobject.c342 memcpy(_PyCode_CODE(co), PyBytes_AS_STRING(con->code), in init_code()
346 _Py_OPCODE(_PyCode_CODE(co)[entry_point]) != RESUME) { in init_code()
1468 PyObject *code = PyBytes_FromStringAndSize((const char *)_PyCode_CODE(co), in _PyCode_GetCode()
1700 _Py_CODEUNIT co_instr = _PyCode_CODE(co)[i]; in code_richcompare()
1701 _Py_CODEUNIT cp_instr = _PyCode_CODE(cp)[i]; in code_richcompare()
2206 deopt_code(_PyCode_CODE(co), Py_SIZE(co)); in _PyStaticCode_Dealloc()
Dgenobject.c359 assert(_Py_OPCODE(_PyCode_CODE(gen->gi_code)[0]) != SEND); in _PyGen_yf()
Dtypeobject.c9004 assert(_Py_OPCODE(_PyCode_CODE(co)[0]) == MAKE_CELL || in super_init_without_args()
9005 _Py_OPCODE(_PyCode_CODE(co)[0]) == COPY_FREE_VARS); in super_init_without_args()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dcode.h144 #define _PyCode_CODE(CO) ((_Py_CODEUNIT *)(CO)->co_code_adaptive) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dcode.h144 #define _PyCode_CODE(CO) ((_Py_CODEUNIT *)(CO)->co_code_adaptive) macro
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dcode.h144 #define _PyCode_CODE(CO) ((_Py_CODEUNIT *)(CO)->co_code_adaptive) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dcode.h144 #define _PyCode_CODE(CO) ((_Py_CODEUNIT *)(CO)->co_code_adaptive) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dcode.h144 #define _PyCode_CODE(CO) ((_Py_CODEUNIT *)(CO)->co_code_adaptive) macro
/aosp_15_r20/external/python/cpython3/Python/
Dframe.c92 frame->prev_instr = _PyCode_CODE(code) + code->_co_firsttraceable; in take_ownership()
Dspecialize.c264 _Py_CODEUNIT *instructions = _PyCode_CODE(code); in _PyCode_Quicken()
Dceval.c137 int offset = (int)(next_instr - _PyCode_CODE(frame->f_code)); in lltrace_instruction()
1701 first_instr = _PyCode_CODE(co); \
/aosp_15_r20/external/pytorch/functorch/csrc/dim/
H A Ddim.cpp1500 #define _PyCode_CODE(CO) ((_Py_CODEUNIT*)PyBytes_AS_STRING((CO)->co_code)) macro
1506 …: code_object_(code_object), code_(_PyCode_CODE(code_object)), offset_(lasti / sizeof(_Py_CODEUNIT… in PyInstDecoder()