Lines Matching refs:slotw
851 binaryfunc slotw = NULL; in binary_op1() local
857 slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot); in binary_op1()
858 if (slotw == slotv) in binary_op1()
859 slotw = NULL; in binary_op1()
862 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in binary_op1()
863 x = slotw(v, w); in binary_op1()
867 slotw = NULL; in binary_op1()
874 if (slotw) { in binary_op1()
875 x = slotw(v, w); in binary_op1()
939 ternaryfunc slotw = NULL; in ternary_op() local
947 slotw = NB_TERNOP(mw, op_slot); in ternary_op()
948 if (slotw == slotv) in ternary_op()
949 slotw = NULL; in ternary_op()
952 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in ternary_op()
953 x = slotw(v, w, z); in ternary_op()
957 slotw = NULL; in ternary_op()
964 if (slotw) { in ternary_op()
965 x = slotw(v, w, z); in ternary_op()
973 if (slotz == slotv || slotz == slotw) in ternary_op()