Lines Matching refs:NB_SLOT
830 #define NB_SLOT(x) offsetof(PyNumberMethods, x) macro
902 if (op_slot == NB_SLOT(nb_rshift) && in binary_op()
1004 return binary_op(v, w, NB_SLOT(op), op_name); \
1018 PyObject *result = binary_op1(v, w, NB_SLOT(nb_add)); in PyNumber_Add()
1049 PyObject *result = binary_op1(v, w, NB_SLOT(nb_multiply)); in PyNumber_Multiply()
1068 return binary_op(v, w, NB_SLOT(nb_matrix_multiply), "@"); in PyNumber_MatrixMultiply()
1074 return binary_op(v, w, NB_SLOT(nb_floor_divide), "//"); in PyNumber_FloorDivide()
1080 return binary_op(v, w, NB_SLOT(nb_true_divide), "/"); in PyNumber_TrueDivide()
1086 return binary_op(v, w, NB_SLOT(nb_remainder), "%"); in PyNumber_Remainder()
1092 return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()"); in PyNumber_Power()
1143 return binary_iop(v, w, NB_SLOT(iop), NB_SLOT(op), op_name); \
1157 return binary_iop(v, w, NB_SLOT(nb_inplace_floor_divide), in PyNumber_InPlaceFloorDivide()
1158 NB_SLOT(nb_floor_divide), "//="); in PyNumber_InPlaceFloorDivide()
1164 return binary_iop(v, w, NB_SLOT(nb_inplace_true_divide), in PyNumber_InPlaceTrueDivide()
1165 NB_SLOT(nb_true_divide), "/="); in PyNumber_InPlaceTrueDivide()
1171 PyObject *result = binary_iop1(v, w, NB_SLOT(nb_inplace_add), in PyNumber_InPlaceAdd()
1172 NB_SLOT(nb_add)); in PyNumber_InPlaceAdd()
1192 PyObject *result = binary_iop1(v, w, NB_SLOT(nb_inplace_multiply), in PyNumber_InPlaceMultiply()
1193 NB_SLOT(nb_multiply)); in PyNumber_InPlaceMultiply()
1221 return binary_iop(v, w, NB_SLOT(nb_inplace_matrix_multiply), in PyNumber_InPlaceMatrixMultiply()
1222 NB_SLOT(nb_matrix_multiply), "@="); in PyNumber_InPlaceMatrixMultiply()
1228 return binary_iop(v, w, NB_SLOT(nb_inplace_remainder), in PyNumber_InPlaceRemainder()
1229 NB_SLOT(nb_remainder), "%="); in PyNumber_InPlaceRemainder()
1237 return ternary_op(v, w, z, NB_SLOT(nb_inplace_power), "**="); in PyNumber_InPlacePower()
1240 return ternary_op(v, w, z, NB_SLOT(nb_power), "**="); in PyNumber_InPlacePower()
1646 PyObject *result = binary_op1(s, o, NB_SLOT(nb_add)); in PySequence_Concat()
1675 result = binary_op1(o, n, NB_SLOT(nb_multiply)); in PySequence_Repeat()
1700 PyObject *result = binary_iop1(s, o, NB_SLOT(nb_inplace_add), in PySequence_InPlaceConcat()
1701 NB_SLOT(nb_add)); in PySequence_InPlaceConcat()
1729 result = binary_iop1(o, n, NB_SLOT(nb_inplace_multiply), in PySequence_InPlaceRepeat()
1730 NB_SLOT(nb_multiply)); in PySequence_InPlaceRepeat()