Home
last modified time | relevance | path

Searched refs:op_slot (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dabstract.c923 binary_op1(PyObject *v, PyObject *w, const int op_slot) argument
930 slotv = NB_BINOP(v->ob_type->tp_as_number, op_slot);
933 slotw = NB_BINOP(w->ob_type->tp_as_number, op_slot);
965 slot = NB_BINOP(mv, op_slot);
995 binary_op(PyObject *v, PyObject *w, const int op_slot, const char *op_name) argument
997 PyObject *result = binary_op1(v, w, op_slot);
1038 const int op_slot, argument
1050 slotv = NB_TERNOP(mv, op_slot);
1053 slotw = NB_TERNOP(mw, op_slot);
1078 slotz = NB_TERNOP(mz, op_slot);
[all …]
/external/python/cpython3/Objects/
Dabstract.c785 binary_op1(PyObject *v, PyObject *w, const int op_slot) in binary_op1() argument
792 slotv = NB_BINOP(v->ob_type->tp_as_number, op_slot); in binary_op1()
795 slotw = NB_BINOP(w->ob_type->tp_as_number, op_slot); in binary_op1()
834 binary_op(PyObject *v, PyObject *w, const int op_slot, const char *op_name) in binary_op() argument
836 PyObject *result = binary_op1(v, w, op_slot); in binary_op()
840 if (op_slot == NB_SLOT(nb_rshift) && in binary_op()
871 const int op_slot, in ternary_op() argument
883 slotv = NB_TERNOP(mv, op_slot); in ternary_op()
886 slotw = NB_TERNOP(mw, op_slot); in ternary_op()
911 slotz = NB_TERNOP(mz, op_slot); in ternary_op()
[all …]