Lines Matching refs:slotw
871 binaryfunc slotw; in binary_op1() local
873 slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot); in binary_op1()
874 if (slotw == slotv) { in binary_op1()
875 slotw = NULL; in binary_op1()
879 slotw = NULL; in binary_op1()
884 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in binary_op1()
885 x = slotw(v, w); in binary_op1()
889 slotw = NULL; in binary_op1()
898 if (slotw) { in binary_op1()
899 PyObject *x = slotw(v, w); in binary_op1()
979 ternaryfunc slotw; in ternary_op() local
981 slotw = NB_TERNOP(mw, op_slot); in ternary_op()
982 if (slotw == slotv) { in ternary_op()
983 slotw = NULL; in ternary_op()
987 slotw = NULL; in ternary_op()
992 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in ternary_op()
993 x = slotw(v, w, z); in ternary_op()
998 slotw = NULL; in ternary_op()
1007 if (slotw) { in ternary_op()
1008 PyObject *x = slotw(v, w, z); in ternary_op()
1019 if (slotz == slotv || slotz == slotw) { in ternary_op()