Home
last modified time | relevance | path

Searched refs:_Py_OPCODE (Results 1 – 5 of 5) 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.c1069 opcode = _Py_OPCODE(word); \ in _PyEval_EvalFrameDefault()
1110 opcode = _Py_OPCODE(word); \ in _PyEval_EvalFrameDefault()
1378 opcode = _Py_OPCODE(*next_instr); in _PyEval_EvalFrameDefault()
2162 opcode_at_minus_3 = _Py_OPCODE(next_instr[-3]); in _PyEval_EvalFrameDefault()
2166 _Py_OPCODE(next_instr[-2])); in _PyEval_EvalFrameDefault()
/external/python/cpython3/Include/cpython/
Dcode.h8 # define _Py_OPCODE(word) ((word) >> 8) macro
11 # define _Py_OPCODE(word) ((word) & 255) macro
/external/python/cpython3/Objects/
Dframeobject.c60 if (i >= 1 && _Py_OPCODE(word = codestr[i-1]) == EXTENDED_ARG) { in get_arg()
62 if (i >= 2 && _Py_OPCODE(word = codestr[i-2]) == EXTENDED_ARG) { in get_arg()
64 if (i >= 3 && _Py_OPCODE(word = codestr[i-3]) == EXTENDED_ARG) { in get_arg()
124 opcode = _Py_OPCODE(code[i]); in markblocks()
Dcodeobject.c293 unsigned char opcode = _Py_OPCODE(opcodes[i]); in _PyCode_InitOpcache()