/external/python/cpython3/Python/ |
D | wordcode_helpers.h | 6 # define PACKOPARG(opcode, oparg) ((_Py_CODEUNIT)(((opcode) << 8) | (oparg))) argument 8 # define PACKOPARG(opcode, oparg) ((_Py_CODEUNIT)(((oparg) << 8) | (opcode))) argument 14 instrsize(unsigned int oparg) in instrsize() argument 16 return oparg <= 0xff ? 1 : in instrsize() 17 oparg <= 0xffff ? 2 : in instrsize() 18 oparg <= 0xffffff ? 3 : in instrsize() 26 unsigned int oparg, int ilen) in write_op_arg() argument 30 *codestr++ = PACKOPARG(EXTENDED_ARG, (oparg >> 24) & 0xff); in write_op_arg() 33 *codestr++ = PACKOPARG(EXTENDED_ARG, (oparg >> 16) & 0xff); in write_op_arg() 36 *codestr++ = PACKOPARG(EXTENDED_ARG, (oparg >> 8) & 0xff); in write_op_arg() [all …]
|
D | ceval.c | 58 Py_ssize_t oparg, PyObject *kwnames); 90 static void format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg); 1336 oparg = _Py_OPARG(word); \ 1378 oparg = _Py_OPARG(word); \ 1592 int oparg; /* Current opcode argument, if any */ in _PyEval_EvalFrameDefault() local 1821 f->f_lasti, opcode, oparg); in _PyEval_EvalFrameDefault() 1859 PyObject *value = GETLOCAL(oparg); in _PyEval_EvalFrameDefault() 1863 PyTuple_GetItem(co->co_varnames, oparg)); in _PyEval_EvalFrameDefault() 1873 PyObject *value = GETITEM(consts, oparg); in _PyEval_EvalFrameDefault() 1882 SETLOCAL(oparg, value); in _PyEval_EvalFrameDefault() [all …]
|
D | compile.c | 956 stack_effect(int opcode, int oparg, int jump) in stack_effect() argument 1061 return oparg-1; in stack_effect() 1063 return (oparg&0xFF) + (oparg>>8); in stack_effect() 1084 return 1-oparg; in stack_effect() 1086 return 1 - 2*oparg; in stack_effect() 1088 return -oparg; in stack_effect() 1138 return -oparg; in stack_effect() 1142 return -oparg; in stack_effect() 1144 return -oparg-1; in stack_effect() 1146 return -oparg-1; in stack_effect() [all …]
|
/external/python/cpython2/Lib/ |
D | dis.py | 88 oparg = ord(code[i]) + ord(code[i+1])*256 + extended_arg 92 extended_arg = oparg*65536L 93 print repr(oparg).rjust(5), 95 print '(' + repr(co.co_consts[oparg]) + ')', 97 print '(' + co.co_names[oparg] + ')', 99 print '(to ' + repr(i + oparg) + ')', 101 print '(' + co.co_varnames[oparg] + ')', 103 print '(' + cmp_op[oparg] + ')', 107 print '(' + free[oparg] + ')', 126 oparg = ord(code[i]) + ord(code[i+1])*256 [all …]
|
D | modulefinder.py | 368 for i, (op, oparg) in enumerate(opargs): 370 yield "store", (names[oparg],) 375 yield "import", (fromlist, names[oparg]) 385 for i, (op, oparg) in enumerate(opargs): 387 yield "store", (names[oparg],) 394 yield "import", (fromlist, names[oparg]) 396 yield "absolute_import", (fromlist, names[oparg]) 398 yield "relative_import", (level, fromlist, names[oparg])
|
/external/python/cpython2/Python/ |
D | ceval.c | 722 oparg = NEXTARG(); \ in PyEval_EvalFrameEx() 740 oparg = NEXTARG(); \ in PyEval_EvalFrameEx() 799 register int oparg; /* Current opcode argument, if any */ in PyEval_EvalFrameEx() local 918 #define PREDICTED_WITH_ARG(op) PRED_##op: oparg = PEEKARG(); next_instr += 3 in PyEval_EvalFrameEx() 1176 oparg = 0; /* allows oparg to be stored in a register because in PyEval_EvalFrameEx() 1179 oparg = NEXTARG(); in PyEval_EvalFrameEx() 1195 f->f_lasti, opcode, oparg); in PyEval_EvalFrameEx() 1223 x = GETLOCAL(oparg); in PyEval_EvalFrameEx() 1231 PyTuple_GetItem(co->co_varnames, oparg)); in PyEval_EvalFrameEx() 1237 x = GETITEM(consts, oparg); in PyEval_EvalFrameEx() [all …]
|
D | compile.c | 686 opcode_stack_effect(int opcode, int oparg) in opcode_stack_effect() argument 824 return oparg-1; in opcode_stack_effect() 837 return oparg; in opcode_stack_effect() 845 return 1-oparg; in opcode_stack_effect() 885 return -oparg; in opcode_stack_effect() 888 return -NARGS(oparg); in opcode_stack_effect() 891 return -NARGS(oparg)-1; in opcode_stack_effect() 893 return -NARGS(oparg)-2; in opcode_stack_effect() 896 return -oparg; in opcode_stack_effect() 898 if (oparg == 3) in opcode_stack_effect() [all …]
|
/external/python/cpython3/Modules/ |
D | _opcode.c | 25 _opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg, in _opcode_stack_effect_impl() argument 33 if (oparg == Py_None) { in _opcode_stack_effect_impl() 38 oparg_int = (int)PyLong_AsLong(oparg); in _opcode_stack_effect_impl() 43 else if (oparg != Py_None) { in _opcode_stack_effect_impl()
|
/external/python/cpython3/Modules/clinic/ |
D | _opcode.c.h | 15 _opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg, 27 PyObject *oparg = Py_None; in _opcode_stack_effect() local 43 oparg = args[1]; in _opcode_stack_effect() 50 _return_value = _opcode_stack_effect_impl(module, opcode, oparg, jump); in _opcode_stack_effect()
|
/external/python/cpython3/Include/cpython/ |
D | compile.h | 53 PyAPI_FUNC(int) PyCompile_OpcodeStackEffect(int opcode, int oparg); 54 PyAPI_FUNC(int) PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg, int jump);
|
/external/kernel-headers/original/uapi/linux/ |
D | futex.h | 176 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument 178 | ((oparg & 0xfff) << 12) | (cmparg & 0xfff))
|
/external/ltp/include/lapi/ |
D | futex.h | 164 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument 166 | ((oparg & 0xfff) << 12) | (cmparg & 0xfff))
|
/external/python/cpython2/Lib/compiler/ |
D | pyassem.py | 391 oparg = inst[1] 392 offset = begin[oparg] - pc 413 opname, oparg = t 416 self.insts[i] = opname, conv(self, oparg) 512 oparg = t[1] 514 lnotab.nextLine(oparg) 516 hi, lo = twobyte(oparg) 520 print opname, oparg
|
/external/python/cpython3/Objects/ |
D | frameobject.c | 81 unsigned int oparg = _Py_OPARG(codestr[i]); in get_arg() local 83 oparg |= _Py_OPARG(word) << 8; in get_arg() 85 oparg |= _Py_OPARG(word) << 16; in get_arg() 87 oparg |= _Py_OPARG(word) << 24; in get_arg() 91 return oparg; in get_arg()
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 402 for i, (op, oparg) in enumerate(opargs): 404 yield "store", (names[oparg],) 411 yield "absolute_import", (fromlist, names[oparg]) 413 yield "relative_import", (level, fromlist, names[oparg])
|
/external/python/cpython3/Doc/library/ |
D | dis.rst | 251 .. function:: stack_effect(opcode, oparg=None, *, jump=None) 253 Compute the stack effect of *opcode* with argument *oparg*. 711 Re-raises the exception currently on top of the stack. If oparg is non-zero,
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.10.1.rst | 335 Fix bug where :mod:`dis` produced an incorrect oparg when
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 408 oparg for BUILD_MAP now indicates an estimated dictionary size. There is a
|
/external/python/cpython3/Doc/data/ |
D | python3.10.abi | 13230 … <parameter type-id='type-id-9' name='oparg' filepath='Python/compile.c' line='1228' column='1'/> 13235 … <parameter type-id='type-id-9' name='oparg' filepath='Python/compile.c' line='1222' column='1'/>
|