Searched refs:_Py_CODEUNIT (Results 1 - 11 of 11) sorted by relevance
/third_party/python/Include/internal/ |
H A D | pycore_code.h | 16 #define CACHE_ENTRIES(cache) (sizeof(cache)/sizeof(_Py_CODEUNIT)) 19 _Py_CODEUNIT counter; 20 _Py_CODEUNIT index; 21 _Py_CODEUNIT module_keys_version[2]; 22 _Py_CODEUNIT builtin_keys_version; 28 _Py_CODEUNIT counter; 34 _Py_CODEUNIT counter; 41 _Py_CODEUNIT counter; 42 _Py_CODEUNIT mask; 48 _Py_CODEUNIT counte [all...] |
H A D | pycore_frame.h | 61 _Py_CODEUNIT *prev_instr;
|
/third_party/python/Include/cpython/ |
H A D | code.h | 19 typedef uint16_t _Py_CODEUNIT; typedef 144 #define _PyCode_CODE(CO) ((_Py_CODEUNIT *)(CO)->co_code_adaptive) 145 #define _PyCode_NBYTES(CO) (Py_SIZE(CO) * (Py_ssize_t)sizeof(_Py_CODEUNIT))
|
/third_party/python/Python/ |
H A D | specialize.c | 264 _Py_CODEUNIT *instructions = _PyCode_CODE(code); in _PyCode_Quicken() 486 specialize_module_load_attr(PyObject *owner, _Py_CODEUNIT *instr, in specialize_module_load_attr() 607 PyObject *owner, _Py_CODEUNIT *instr, PyTypeObject *type, in specialize_dict_access() 656 _Py_Specialize_LoadAttr(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name) in _Py_Specialize_LoadAttr() 758 _Py_Specialize_StoreAttr(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name) in _Py_Specialize_StoreAttr() 881 specialize_class_load_method(PyObject *owner, _Py_CODEUNIT *instr, in specialize_class_load_method() 921 _Py_Specialize_LoadMethod(PyObject *owner, _Py_CODEUNIT *instr, PyObject *name) in _Py_Specialize_LoadMethod() 1052 _Py_CODEUNIT *instr, PyObject *name) in _Py_Specialize_LoadGlobal() 1188 PyObject *container, PyObject *sub, _Py_CODEUNIT *instr) in _Py_Specialize_BinarySubscr() 1265 _Py_Specialize_StoreSubscr(PyObject *container, PyObject *sub, _Py_CODEUNIT *inst [all...] |
H A D | frame.c | 168 int addr = _PyInterpreterFrame_LASTI(frame) * sizeof(_Py_CODEUNIT); in _PyInterpreterFrame_GetLine()
|
H A D | ceval.c | 130 _Py_CODEUNIT *next_instr) in lltrace_instruction() 1369 _Py_CODEUNIT word = *next_instr; \ 1419 _Py_CODEUNIT word = *next_instr; \ 1691 _Py_CODEUNIT *first_instr; 1692 _Py_CODEUNIT *next_instr; 2063 _Py_CODEUNIT true_next = next_instr[INLINE_CACHE_ENTRIES_BINARY_OP]; 5709 _Py_CODEUNIT *counter = (_Py_CODEUNIT *)next_instr; 7924 int lastline = _PyCode_CheckLineNumber(instr_prev*sizeof(_Py_CODEUNIT), &trace_info->bounds); 7925 int addr = _PyInterpreterFrame_LASTI(frame) * sizeof(_Py_CODEUNIT); [all...] |
H A D | traceback.c | 242 int addr = _PyInterpreterFrame_LASTI(frame->f_frame) * sizeof(_Py_CODEUNIT); in _PyTraceBack_FromFrame()
|
H A D | compile.c | 206 write_instr(_Py_CODEUNIT *codestr, struct instr *instruction, int ilen) in write_instr() 7682 _Py_CODEUNIT *code; in assemble_emit() 7685 if (a->a_offset + size >= len / (int)sizeof(_Py_CODEUNIT)) { in assemble_emit() 7691 code = (_Py_CODEUNIT *)PyBytes_AS_STRING(a->a_bytecode) + a->a_offset; in assemble_emit() 8493 if (_PyBytes_Resize(&a.a_bytecode, a.a_offset * sizeof(_Py_CODEUNIT)) < 0) { in assemble()
|
/third_party/python/Objects/ |
H A D | codeobject.c | 262 if (PyBytes_GET_SIZE(con->code) % sizeof(_Py_CODEUNIT) != 0 || in _PyCode_Validate() 263 !_Py_IS_ALIGNED(PyBytes_AS_STRING(con->code), sizeof(_Py_CODEUNIT)) in _PyCode_Validate() 480 Py_ssize_t size = PyBytes_GET_SIZE(con->code) / sizeof(_Py_CODEUNIT); in _PyCode_New() 602 assert(PyBytes_GET_SIZE(code) % sizeof(_Py_CODEUNIT) == 0); in PyCode_NewWithPosOnlyArgs() 603 assert(_Py_IS_ALIGNED(PyBytes_AS_STRING(code), sizeof(_Py_CODEUNIT))); in PyCode_NewWithPosOnlyArgs() 748 int start = bounds.ar_start / sizeof(_Py_CODEUNIT); in _PyCode_CreateLineArray() 749 int end = bounds.ar_end / sizeof(_Py_CODEUNIT); in _PyCode_CreateLineArray() 773 return _PyCode_LineNumberFromArray(co, addrq / sizeof(_Py_CODEUNIT)); in PyCode_Addr2Line() 836 return (((*bounds->opaque.lo_next) & 7) + 1) * sizeof(_Py_CODEUNIT); in next_code_delta() 851 return (((*ptr) & 7) + 1) * sizeof(_Py_CODEUNIT); in previous_code_delta() [all...] |
H A D | frameobject.c | 66 return PyLong_FromLong(lasti * sizeof(_Py_CODEUNIT)); in frame_getlasti() 114 get_arg(const _Py_CODEUNIT *codestr, Py_ssize_t i) in get_arg() 116 _Py_CODEUNIT word; in get_arg() 283 _Py_CODEUNIT *code = (_Py_CODEUNIT *)PyBytes_AS_STRING(co_code); in mark_stacks() 566 assert(bounds.ar_start / (int)sizeof(_Py_CODEUNIT) < len); in marklines() 568 linestarts[bounds.ar_start / sizeof(_Py_CODEUNIT)] = bounds.ar_line; in marklines() 1082 for (_Py_CODEUNIT *instruction = _PyCode_CODE(frame->f_code); in _PyFrame_OpAlreadyRan() 1367 return lasti * sizeof(_Py_CODEUNIT); in PyFrame_GetLasti()
|
H A D | genobject.c | 362 _Py_CODEUNIT next = frame->prev_instr[1]; in _PyGen_yf()
|
Completed in 36 milliseconds