Home
last modified time | relevance | path

Searched refs:_Py_OPCODE (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Python/
Dpeephole.c21 (ABSOLUTE_JUMP(_Py_OPCODE(arr[i])) ? 0 : i+1))
37 if (_Py_OPCODE(codestr[i]) == LOAD_CONST) { in lastn_const_start()
39 while (i > 0 && _Py_OPCODE(codestr[i-1]) == EXTENDED_ARG) { in lastn_const_start()
46 assert(_Py_OPCODE(codestr[i]) == EXTENDED_ARG); in lastn_const_start()
55 while (i < codelen && _Py_OPCODE(codestr[i]) == EXTENDED_ARG) { in find_op()
68 if (i >= 1 && _Py_OPCODE(word = codestr[i-1]) == EXTENDED_ARG) { in get_arg()
70 if (i >= 2 && _Py_OPCODE(word = codestr[i-2]) == EXTENDED_ARG) { in get_arg()
72 if (i >= 3 && _Py_OPCODE(word = codestr[i-3]) == EXTENDED_ARG) { in get_arg()
103 write_op_arg(codestr + i + 1 - curilen, _Py_OPCODE(codestr[i]), oparg, newilen); in set_arg()
147 assert(_Py_OPCODE(codestr[pos]) == LOAD_CONST); in fold_tuple_on_constants()
[all …]
Dceval.c701 opcode = _Py_OPCODE(word); \ in _PyEval_EvalFrameDefault()
740 opcode = _Py_OPCODE(word); \ in _PyEval_EvalFrameDefault()
944 opcode = _Py_OPCODE(*next_instr); in _PyEval_EvalFrameDefault()
1752 _Py_OPCODE(next_instr[-2])); in _PyEval_EvalFrameDefault()
/external/python/cpython3/Include/
Dcode.h13 # define _Py_OPCODE(word) ((word) >> 8) macro
16 # define _Py_OPCODE(word) ((word) & 255) macro