/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 | 66 static void format_exc_unbound(PyCodeObject *co, int oparg); 559 int oparg; /* Current opcode argument, if any */ in _PyEval_EvalFrameDefault() local 702 oparg = _Py_OPARG(word); \ in _PyEval_EvalFrameDefault() 742 oparg = _Py_OPARG(word); \ in _PyEval_EvalFrameDefault() 1055 f->f_lasti, opcode, oparg); in _PyEval_EvalFrameDefault() 1075 PyObject *value = GETLOCAL(oparg); in _PyEval_EvalFrameDefault() 1079 PyTuple_GetItem(co->co_varnames, oparg)); in _PyEval_EvalFrameDefault() 1089 PyObject *value = GETITEM(consts, oparg); in _PyEval_EvalFrameDefault() 1098 SETLOCAL(oparg, value); in _PyEval_EvalFrameDefault() 1384 PyObject *list = PEEK(oparg); in _PyEval_EvalFrameDefault() [all …]
|
D | peephole.c | 67 unsigned int oparg = _Py_OPARG(codestr[i]); in get_arg() local 69 oparg |= _Py_OPARG(word) << 8; in get_arg() 71 oparg |= _Py_OPARG(word) << 16; in get_arg() 73 oparg |= _Py_OPARG(word) << 24; in get_arg() 77 return oparg; in get_arg() 91 set_arg(_Py_CODEUNIT *codestr, Py_ssize_t i, unsigned int oparg) in set_arg() argument 95 if (curarg == oparg) in set_arg() 98 newilen = instrsize(oparg); in set_arg() 103 write_op_arg(codestr + i + 1 - curilen, _Py_OPCODE(codestr[i]), oparg, newilen); in set_arg() 113 unsigned int oparg, Py_ssize_t maxi) in copy_op_arg() argument [all …]
|
D | compile.c | 876 stack_effect(int opcode, int oparg, int jump) in stack_effect() argument 986 return oparg-1; in stack_effect() 988 return (oparg&0xFF) + (oparg>>8); in stack_effect() 1009 return 1-oparg; in stack_effect() 1016 return 1 - oparg; in stack_effect() 1018 return 1 - 2*oparg; in stack_effect() 1020 return -oparg; in stack_effect() 1065 return -oparg; in stack_effect() 1069 return -oparg; in stack_effect() 1071 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/clinic/ |
D | _opcode.c.h | 15 _opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg); 22 PyObject *oparg = Py_None; in _opcode_stack_effect() local 26 &opcode, &oparg)) { in _opcode_stack_effect() 29 _return_value = _opcode_stack_effect_impl(module, opcode, oparg); in _opcode_stack_effect()
|
/external/python/cpython3/Modules/ |
D | _opcode.c | 23 _opcode_stack_effect_impl(PyObject *module, int opcode, PyObject *oparg) in _opcode_stack_effect_impl() argument 29 if (oparg == Py_None) { in _opcode_stack_effect_impl() 34 oparg_int = (int)PyLong_AsLong(oparg); in _opcode_stack_effect_impl() 38 else if (oparg != Py_None) { in _opcode_stack_effect_impl()
|
/external/u-boot/cmd/ |
D | binop.c | 92 char *oparg, *lenarg, *src1arg, *src2arg, *destarg; in do_binop() local 98 oparg = argv[1]; in do_binop() 103 if (!strcmp(oparg, "xor")) in do_binop() 105 else if (!strcmp(oparg, "or")) in do_binop() 107 else if (!strcmp(oparg, "and")) in do_binop()
|
/external/kernel-headers/original/uapi/linux/ |
D | futex.h | 149 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument 151 | ((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/Include/ |
D | compile.h | 77 PyAPI_FUNC(int) PyCompile_OpcodeStackEffect(int opcode, int oparg);
|
/external/python/cpython3/Lib/ |
D | modulefinder.py | 346 for i, (op, oparg) in enumerate(opargs): 348 yield "store", (names[oparg],) 355 yield "absolute_import", (fromlist, names[oparg]) 357 yield "relative_import", (level, fromlist, names[oparg])
|
/external/python/cpython3/Doc/library/ |
D | dis.rst | 251 .. function:: stack_effect(opcode, [oparg]) 253 Compute the stack effect of *opcode* with argument *oparg*.
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a1.rst | 408 oparg for BUILD_MAP now indicates an estimated dictionary size. There is a
|