/third_party/python/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 | 954 stack_effect(int opcode, int oparg, int jump) in stack_effect() argument 1059 return oparg-1; in stack_effect() 1061 return (oparg&0xFF) + (oparg>>8); in stack_effect() 1082 return 1-oparg; in stack_effect() 1084 return 1 - 2*oparg; in stack_effect() 1086 return -oparg; in stack_effect() 1136 return -oparg; in stack_effect() 1140 return -oparg; in stack_effect() 1142 return -oparg-1; in stack_effect() 1144 return -oparg-1; in stack_effect() [all …]
|
/third_party/python/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()
|
/third_party/python/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()
|
/third_party/python/Include/cpython/ |
D | compile.h | 51 PyAPI_FUNC(int) PyCompile_OpcodeStackEffect(int opcode, int oparg); 52 PyAPI_FUNC(int) PyCompile_OpcodeStackEffectWithJump(int opcode, int oparg, int jump);
|
/third_party/ltp/include/lapi/ |
D | futex.h | 164 #define FUTEX_OP(op, oparg, cmp, cmparg) \ argument 166 | ((oparg & 0xfff) << 12) | (cmparg & 0xfff))
|
/third_party/python/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()
|
/third_party/python/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])
|
/third_party/python/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,
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.1.rst | 335 Fix bug where :mod:`dis` produced an incorrect oparg when
|