Lines Matching refs:slotw
789 binaryfunc slotw = NULL; in binary_op1() local
795 slotw = NB_BINOP(w->ob_type->tp_as_number, op_slot); in binary_op1()
796 if (slotw == slotv) in binary_op1()
797 slotw = NULL; in binary_op1()
800 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { in binary_op1()
801 x = slotw(v, w); in binary_op1()
805 slotw = NULL; in binary_op1()
812 if (slotw) { in binary_op1()
813 x = slotw(v, w); in binary_op1()
877 ternaryfunc slotw = NULL; in ternary_op() local
886 slotw = NB_TERNOP(mw, op_slot); in ternary_op()
887 if (slotw == slotv) in ternary_op()
888 slotw = NULL; in ternary_op()
891 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { in ternary_op()
892 x = slotw(v, w, z); in ternary_op()
896 slotw = NULL; in ternary_op()
903 if (slotw) { in ternary_op()
904 x = slotw(v, w, z); in ternary_op()
912 if (slotz == slotv || slotz == slotw) in ternary_op()