• Home
  • Raw
  • Download

Lines Matching refs:oparg

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()
2180 PyObject *list = PEEK(oparg); in _PyEval_EvalFrameDefault()
2192 PyObject *set = PEEK(oparg); in _PyEval_EvalFrameDefault()
2416 switch (oparg) { in _PyEval_EvalFrameDefault()
2653 assert(oparg < 3); in _PyEval_EvalFrameDefault()
2689 if (oparg) { in _PyEval_EvalFrameDefault()
2709 JUMPBY(oparg); in _PyEval_EvalFrameDefault()
2759 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2780 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2802 PyTuple_GET_SIZE(seq) == oparg) { in _PyEval_EvalFrameDefault()
2804 while (oparg--) { in _PyEval_EvalFrameDefault()
2805 item = items[oparg]; in _PyEval_EvalFrameDefault()
2810 PyList_GET_SIZE(seq) == oparg) { in _PyEval_EvalFrameDefault()
2812 while (oparg--) { in _PyEval_EvalFrameDefault()
2813 item = items[oparg]; in _PyEval_EvalFrameDefault()
2817 } else if (unpack_iterable(tstate, seq, oparg, -1, in _PyEval_EvalFrameDefault()
2818 stack_pointer + oparg)) { in _PyEval_EvalFrameDefault()
2819 STACK_GROW(oparg); in _PyEval_EvalFrameDefault()
2830 int totalargs = 1 + (oparg & 0xFF) + (oparg >> 8); in _PyEval_EvalFrameDefault()
2833 if (unpack_iterable(tstate, seq, oparg & 0xFF, oparg >> 8, in _PyEval_EvalFrameDefault()
2845 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2859 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2870 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2881 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2895 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
2982 name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
3020 name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
3045 PyObject *v = GETLOCAL(oparg); in _PyEval_EvalFrameDefault()
3047 SETLOCAL(oparg, NULL); in _PyEval_EvalFrameDefault()
3053 PyTuple_GetItem(co->co_varnames, oparg) in _PyEval_EvalFrameDefault()
3059 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
3066 format_exc_unbound(tstate, co, oparg); in _PyEval_EvalFrameDefault()
3071 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
3081 assert(oparg >= PyTuple_GET_SIZE(co->co_cellvars)); in _PyEval_EvalFrameDefault()
3082 idx = oparg - PyTuple_GET_SIZE(co->co_cellvars); in _PyEval_EvalFrameDefault()
3104 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
3107 format_exc_unbound(tstate, co, oparg); in _PyEval_EvalFrameDefault()
3117 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
3120 format_exc_unbound(tstate, co, oparg); in _PyEval_EvalFrameDefault()
3130 PyObject *cell = freevars[oparg]; in _PyEval_EvalFrameDefault()
3143 str = _PyUnicode_JoinArray(empty, stack_pointer - oparg, oparg); in _PyEval_EvalFrameDefault()
3147 while (--oparg >= 0) { in _PyEval_EvalFrameDefault()
3156 PyObject *tup = PyTuple_New(oparg); in _PyEval_EvalFrameDefault()
3159 while (--oparg >= 0) { in _PyEval_EvalFrameDefault()
3161 PyTuple_SET_ITEM(tup, oparg, item); in _PyEval_EvalFrameDefault()
3168 PyObject *list = PyList_New(oparg); in _PyEval_EvalFrameDefault()
3171 while (--oparg >= 0) { in _PyEval_EvalFrameDefault()
3173 PyList_SET_ITEM(list, oparg, item); in _PyEval_EvalFrameDefault()
3192 PyObject *list = PEEK(oparg); in _PyEval_EvalFrameDefault()
3213 PyObject *set = PEEK(oparg); in _PyEval_EvalFrameDefault()
3228 for (i = oparg; i > 0; i--) { in _PyEval_EvalFrameDefault()
3234 STACK_SHRINK(oparg); in _PyEval_EvalFrameDefault()
3245 PyObject *map = _PyDict_NewPresized((Py_ssize_t)oparg); in _PyEval_EvalFrameDefault()
3248 for (i = oparg; i > 0; i--) { in _PyEval_EvalFrameDefault()
3259 while (oparg--) { in _PyEval_EvalFrameDefault()
3331 PyTuple_GET_SIZE(keys) != (Py_ssize_t)oparg) { in _PyEval_EvalFrameDefault()
3336 map = _PyDict_NewPresized((Py_ssize_t)oparg); in _PyEval_EvalFrameDefault()
3340 for (i = oparg; i > 0; i--) { in _PyEval_EvalFrameDefault()
3342 PyObject *key = PyTuple_GET_ITEM(keys, oparg - i); in _PyEval_EvalFrameDefault()
3352 while (oparg--) { in _PyEval_EvalFrameDefault()
3361 PyObject *dict = PEEK(oparg); in _PyEval_EvalFrameDefault()
3377 PyObject *dict = PEEK(oparg); in _PyEval_EvalFrameDefault()
3380 format_kwargs_error(tstate, PEEK(2 + oparg), update); in _PyEval_EvalFrameDefault()
3395 map = PEEK(oparg); /* dict */ in _PyEval_EvalFrameDefault()
3407 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
3601 assert(oparg <= Py_GE); in _PyEval_EvalFrameDefault()
3604 PyObject *res = PyObject_RichCompare(left, right, oparg); in _PyEval_EvalFrameDefault()
3618 int res = Py_Is(left, right) ^ oparg; in _PyEval_EvalFrameDefault()
3638 PyObject *b = (res^oparg) ? Py_True : Py_False; in _PyEval_EvalFrameDefault()
3682 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3691 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
3728 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
3739 JUMPBY(oparg); in _PyEval_EvalFrameDefault()
3753 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3762 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3780 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3787 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3806 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3815 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3830 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3835 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3848 JUMPTO(oparg); in _PyEval_EvalFrameDefault()
3874 PyObject *attrs = match_class(tstate, subject, type, oparg, names); in _PyEval_EvalFrameDefault()
4020 JUMPBY(oparg); in _PyEval_EvalFrameDefault()
4025 PyFrame_BlockSetup(f, SETUP_FINALLY, INSTR_OFFSET() + oparg, in _PyEval_EvalFrameDefault()
4059 PyFrame_BlockSetup(f, SETUP_FINALLY, INSTR_OFFSET() + oparg, in _PyEval_EvalFrameDefault()
4087 PyFrame_BlockSetup(f, SETUP_FINALLY, INSTR_OFFSET() + oparg, in _PyEval_EvalFrameDefault()
4124 PyObject *name = GETITEM(names, oparg); in _PyEval_EvalFrameDefault()
4165 meth = PEEK(oparg + 2); in _PyEval_EvalFrameDefault()
4181 res = call_function(tstate, &trace_info, &sp, oparg, NULL); in _PyEval_EvalFrameDefault()
4198 res = call_function(tstate, &trace_info, &sp, oparg + 1, NULL); in _PyEval_EvalFrameDefault()
4213 res = call_function(tstate, &trace_info, &sp, oparg, NULL); in _PyEval_EvalFrameDefault()
4228 assert(PyTuple_GET_SIZE(names) <= oparg); in _PyEval_EvalFrameDefault()
4231 res = call_function(tstate, &trace_info, &sp, oparg, names); in _PyEval_EvalFrameDefault()
4246 if (oparg & 0x01) { in _PyEval_EvalFrameDefault()
4302 if (oparg & 0x08) { in _PyEval_EvalFrameDefault()
4306 if (oparg & 0x04) { in _PyEval_EvalFrameDefault()
4310 if (oparg & 0x02) { in _PyEval_EvalFrameDefault()
4314 if (oparg & 0x01) { in _PyEval_EvalFrameDefault()
4325 if (oparg == 3) in _PyEval_EvalFrameDefault()
4347 int which_conversion = oparg & FVC_MASK; in _PyEval_EvalFrameDefault()
4348 int have_fmt_spec = (oparg & FVS_MASK) == FVS_HAVE_SPEC; in _PyEval_EvalFrameDefault()
4403 memmove(&PEEK(oparg - 1), &PEEK(oparg), in _PyEval_EvalFrameDefault()
4404 sizeof(PyObject*) * (oparg - 1)); in _PyEval_EvalFrameDefault()
4405 PEEK(oparg) = top; in _PyEval_EvalFrameDefault()
4410 int oldoparg = oparg; in _PyEval_EvalFrameDefault()
4412 oparg |= oldoparg << 8; in _PyEval_EvalFrameDefault()
5853 Py_ssize_t oparg, in Py_LOCAL_INLINE()
5856 PyObject **pfunc = (*pp_stack) - oparg - 1; in Py_LOCAL_INLINE()
5860 Py_ssize_t nargs = oparg - nkwargs; in Py_LOCAL_INLINE()
6273 format_exc_unbound(PyThreadState *tstate, PyCodeObject *co, int oparg) in format_exc_unbound() argument
6279 if (oparg < PyTuple_GET_SIZE(co->co_cellvars)) { in format_exc_unbound()
6281 oparg); in format_exc_unbound()
6287 name = PyTuple_GET_ITEM(co->co_freevars, oparg - in format_exc_unbound()
6325 int opcode, oparg; in unicode_concatenate() local
6331 if (GETLOCAL(oparg) == v) in unicode_concatenate()
6332 SETLOCAL(oparg, NULL); in unicode_concatenate()
6339 PyObject *c = freevars[oparg]; in unicode_concatenate()
6349 PyObject *name = GETITEM(names, oparg); in unicode_concatenate()