Lines Matching refs:oparg
99 Py_ssize_t oparg, PyObject *kwnames);
133 int oparg = _Py_OPARG(*next_instr);
139 printf("%d: %s %d\n", offset * 2, opname, oparg);
197 static void format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg);
1371 oparg = _Py_OPARG(word); \
1380 /* Get opcode and oparg from original instructions, not quickened form. */
1422 oparg = _Py_OPARG(word); \
1651 int oparg; /* Current opcode argument, if any */
1785 if (_Py_atomic_load_relaxed_int32(eval_breaker) && oparg < 2) {
1793 PyObject *value = GETLOCAL(oparg);
1803 PyObject *value = GETLOCAL(oparg);
1814 PyObject *value = GETITEM(consts, oparg);
1823 SETLOCAL(oparg, value);
1828 PyObject *value = GETLOCAL(oparg);
1836 value = GETLOCAL(oparg);
1846 PyObject *value = GETLOCAL(oparg);
1854 value = GETITEM(consts, oparg);
1862 SETLOCAL(oparg, value);
1865 value = GETLOCAL(oparg);
1876 SETLOCAL(oparg, value);
1880 SETLOCAL(oparg, value);
1885 PyObject *value = GETITEM(consts, oparg);
1890 value = GETLOCAL(oparg);
2276 PyObject *list = PEEK(oparg);
2285 PyObject *set = PEEK(oparg);
2410 switch (oparg) {
2424 "bad RAISE_VARARGS oparg");
2554 format_awaitable_error(tstate, Py_TYPE(iterable), oparg);
2623 JUMPBY(oparg);
2669 if (oparg) {
2670 PyObject *lasti = PEEK(oparg + 1);
2757 PyObject *name = GETITEM(names, oparg);
2778 PyObject *name = GETITEM(names, oparg);
2799 PyObject **top = stack_pointer + oparg;
2800 if (!unpack_iterable(tstate, seq, oparg, -1, top)) {
2804 STACK_GROW(oparg);
2816 _Py_Specialize_UnpackSequence(seq, next_instr, oparg);
2841 DEOPT_IF(PyTuple_GET_SIZE(seq) != oparg, UNPACK_SEQUENCE);
2845 while (oparg--) {
2846 PUSH(Py_NewRef(items[oparg]));
2856 DEOPT_IF(PyList_GET_SIZE(seq) != oparg, UNPACK_SEQUENCE);
2860 while (oparg--) {
2861 PUSH(Py_NewRef(items[oparg]));
2869 int totalargs = 1 + (oparg & 0xFF) + (oparg >> 8);
2872 if (!unpack_iterable(tstate, seq, oparg & 0xFF, oparg >> 8, top)) {
2883 PyObject *name = GETITEM(names, oparg);
2899 PyObject *name = GETITEM(names, oparg);
2910 PyObject *name = GETITEM(names, oparg);
2921 PyObject *name = GETITEM(names, oparg);
2935 PyObject *name = GETITEM(names, oparg);
3000 int push_null = oparg & 1;
3002 PyObject *name = GETITEM(names, oparg>>1);
3055 PyObject *name = GETITEM(names, oparg>>1);
3081 int push_null = oparg & 1;
3106 int push_null = oparg & 1;
3117 PyObject *v = GETLOCAL(oparg);
3119 SETLOCAL(oparg, NULL);
3128 PyObject *initial = GETLOCAL(oparg);
3133 SETLOCAL(oparg, cell);
3138 PyObject *cell = GETLOCAL(oparg);
3145 format_exc_unbound(tstate, frame->f_code, oparg);
3152 assert(oparg >= 0 && oparg < frame->f_code->co_nlocalsplus);
3153 name = PyTuple_GET_ITEM(frame->f_code->co_localsplusnames, oparg);
3173 PyObject *cell = GETLOCAL(oparg);
3176 format_exc_unbound(tstate, frame->f_code, oparg);
3186 PyObject *cell = GETLOCAL(oparg);
3189 format_exc_unbound(tstate, frame->f_code, oparg);
3199 PyObject *cell = GETLOCAL(oparg);
3211 assert(oparg == co->co_nfreevars);
3212 for (int i = 0; i < oparg; ++i) {
3223 stack_pointer - oparg, oparg);
3226 while (--oparg >= 0) {
3235 PyObject *tup = PyTuple_New(oparg);
3238 while (--oparg >= 0) {
3240 PyTuple_SET_ITEM(tup, oparg, item);
3247 PyObject *list = PyList_New(oparg);
3250 while (--oparg >= 0) {
3252 PyList_SET_ITEM(list, oparg, item);
3271 PyObject *list = PEEK(oparg);
3292 PyObject *set = PEEK(oparg);
3307 for (i = oparg; i > 0; i--) {
3313 STACK_SHRINK(oparg);
3324 &PEEK(2*oparg), 2,
3325 &PEEK(2*oparg - 1), 2,
3326 oparg);
3330 while (oparg--) {
3397 PyTuple_GET_SIZE(keys) != (Py_ssize_t)oparg) {
3404 &PEEK(oparg + 1), 1, oparg);
3410 while (oparg--) {
3419 PyObject *dict = PEEK(oparg);
3435 PyObject *dict = PEEK(oparg);
3438 format_kwargs_error(tstate, PEEK(2 + oparg), update);
3452 map = PEEK(oparg); /* dict */
3464 PyObject *name = GETITEM(names, oparg);
3481 PyObject *name = GETITEM(names, oparg);
3544 PyObject *name = GETITEM(names, oparg);
3591 PyObject *name = GETITEM(names, oparg);
3646 PyObject *name = GETITEM(names, oparg);
3703 assert(oparg <= Py_GE);
3706 PyObject *res = PyObject_RichCompare(left, right, oparg);
3724 _Py_Specialize_CompareOp(left, right, next_instr, oparg);
3765 JUMPBY(1 - oparg);
3771 JUMPBY(1 + oparg);
3808 JUMPBY(1 - oparg);
3814 JUMPBY(1 + oparg);
3833 assert(oparg == Py_EQ || oparg == Py_NE);
3852 JUMPBY(1 - oparg);
3858 JUMPBY(1 + oparg);
3866 int res = Py_Is(left, right) ^ oparg;
3884 PyObject *b = (res^oparg) ? Py_True : Py_False;
3947 PyObject *name = GETITEM(names, oparg);
3984 PyObject *name = GETITEM(names, oparg);
3995 JUMPBY(oparg);
4013 JUMPBY(-oparg);
4022 JUMPBY(-oparg);
4038 JUMPBY(oparg);
4046 JUMPBY(oparg);
4062 JUMPBY(-oparg);
4069 JUMPBY(-oparg);
4086 JUMPBY(oparg);
4092 JUMPBY(oparg);
4106 JUMPBY(-oparg);
4117 JUMPBY(oparg);
4127 JUMPBY(-oparg);
4140 JUMPBY(oparg);
4157 JUMPBY(oparg);
4166 JUMPBY(oparg);
4181 JUMPBY(oparg);
4186 JUMPBY(oparg);
4203 JUMPBY(-oparg);
4209 assert(oparg < INSTR_OFFSET());
4210 JUMPBY(-oparg);
4236 PyObject *attrs = match_class(tstate, subject, type, oparg, names);
4360 JUMPBY(oparg);
4488 PyObject *name = GETITEM(names, oparg);
4529 PyObject *name = GETITEM(names, oparg);
4667 ^- (-oparg)
4668 ^- (-oparg-1)
4669 ^- (-oparg-2)
4677 ^- (-oparg)
4678 ^- (-oparg-1)
4679 ^- (-oparg-2)
4682 We'll be passing `oparg + 1` to call_function, to
4685 int is_meth = is_method(stack_pointer, oparg);
4686 int nargs = oparg + is_meth;
4695 PEEK(oparg+1) = self;
4696 PEEK(oparg+2) = meth;
4704 DEOPT_IF(is_method(stack_pointer, oparg), PRECALL);
4705 PyObject *function = PEEK(oparg + 1);
4712 PEEK(oparg + 1) = self;
4713 PEEK(oparg + 2) = meth;
4720 int nargs = oparg + is_method(stack_pointer, oparg);
4730 assert(oparg < PyTuple_GET_SIZE(consts));
4731 call_shape.kwnames = GETITEM(consts, oparg);
4738 is_meth = is_method(stack_pointer, oparg);
4739 int total_args = oparg + is_meth;
4801 int is_meth = is_method(stack_pointer, oparg);
4802 int nargs = oparg + is_meth;
4805 call_shape.kwnames, oparg);
4823 int is_meth = is_method(stack_pointer, oparg);
4824 int nargs = oparg + is_meth;
4845 int is_meth = is_method(stack_pointer, oparg);
4846 int argcount = oparg + is_meth;
4879 int is_meth = is_method(stack_pointer, oparg);
4880 int argcount = oparg + is_meth;
4920 assert(oparg == 1);
4938 assert(oparg == 1);
4959 assert(oparg == 1);
4979 int is_meth = is_method(stack_pointer, oparg);
4980 int total_args = oparg + is_meth;
5010 int is_meth = is_method(stack_pointer, oparg);
5011 int total_args = oparg + is_meth;
5044 int is_meth = is_method(stack_pointer, oparg);
5045 int total_args = oparg + is_meth;
5083 int is_meth = is_method(stack_pointer, oparg);
5084 int total_args = oparg + is_meth;
5123 int is_meth = is_method(stack_pointer, oparg);
5124 int total_args = oparg + is_meth;
5153 int is_meth = is_method(stack_pointer, oparg);
5154 int total_args = oparg + is_meth;
5185 assert(oparg == 1);
5207 int is_meth = is_method(stack_pointer, oparg);
5208 int total_args = oparg + is_meth;
5231 STACK_SHRINK(oparg + 1);
5242 int is_meth = is_method(stack_pointer, oparg);
5243 int total_args = oparg + is_meth;
5280 assert(oparg == 0 || oparg == 1);
5281 int is_meth = is_method(stack_pointer, oparg);
5282 int total_args = oparg + is_meth;
5302 STACK_SHRINK(oparg + 1);
5314 int is_meth = is_method(stack_pointer, oparg);
5315 int total_args = oparg + is_meth;
5350 if (oparg & 0x01) {
5406 if (oparg & 0x08) {
5410 if (oparg & 0x04) {
5414 if (oparg & 0x02) {
5418 if (oparg & 0x01) {
5462 if (oparg == 3)
5484 int which_conversion = oparg & FVC_MASK;
5485 int have_fmt_spec = (oparg & FVS_MASK) == FVS_HAVE_SPEC;
5539 assert(oparg != 0);
5540 PyObject *peek = PEEK(oparg);
5550 assert(0 <= oparg);
5551 assert((unsigned)oparg < Py_ARRAY_LENGTH(binary_ops));
5552 assert(binary_ops[oparg]);
5553 PyObject *res = binary_ops[oparg](lhs, rhs);
5571 _Py_Specialize_BinaryOp(lhs, rhs, next_instr, oparg, &GETLOCAL(0));
5582 assert(oparg != 0);
5584 SET_TOP(PEEK(oparg));
5585 PEEK(oparg) = top;
5590 assert(oparg);
5591 oparg <<= 8;
5592 oparg |= _Py_OPARG(*next_instr);
5598 // (DO_TRACING would clobber our extended oparg anyways), so just
5608 assert(oparg);
5609 int oldoparg = oparg;
5611 oparg |= oldoparg << 8;
5632 if (oparg < 2) {
5736 PyTuple_GetItem(frame->f_code->co_localsplusnames, oparg)
7777 format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg)
7783 name = PyTuple_GET_ITEM(co->co_localsplusnames, oparg);
7784 if (oparg < co->co_nplaincellvars + co->co_nlocals) {
7794 format_awaitable_error(PyThreadState *tstate, PyTypeObject *type, int oparg)
7797 if (oparg == 1) {
7803 else if (oparg == 2) {