Lines Matching refs:BINARY
1451 /* Try one half of a binary operator involving a class instance. */
1520 /* Implement a binary operator involving at least one class instance. */
1620 #define BINARY(f, m, n) \
1635 BINARY(instance_or, "or", PyNumber_Or)
1636 BINARY(instance_and, "and", PyNumber_And)
1637 BINARY(instance_xor, "xor", PyNumber_Xor)
1638 BINARY(instance_lshift, "lshift", PyNumber_Lshift)
1639 BINARY(instance_rshift, "rshift", PyNumber_Rshift)
1640 BINARY(instance_add, "add", PyNumber_Add)
1641 BINARY(instance_sub, "sub", PyNumber_Subtract)
1642 BINARY(instance_mul, "mul", PyNumber_Multiply)
1643 BINARY(instance_div, "div", PyNumber_Divide)
1644 BINARY(instance_mod, "mod", PyNumber_Remainder)
1645 BINARY(instance_divmod, "divmod", PyNumber_Divmod)
1646 BINARY(instance_floordiv, "floordiv", PyNumber_FloorDivide)
1647 BINARY(instance_truediv, "truediv", PyNumber_TrueDivide)