• Home
  • Raw
  • Download

Lines Matching refs:NB_SLOT

768 #define NB_SLOT(x) offsetof(PyNumberMethods, x)  macro
840 if (op_slot == NB_SLOT(nb_rshift) && in binary_op()
943 return binary_op(v, w, NB_SLOT(op), op_name); \
957 PyObject *result = binary_op1(v, w, NB_SLOT(nb_add)); in PyNumber_Add()
988 PyObject *result = binary_op1(v, w, NB_SLOT(nb_multiply)); in PyNumber_Multiply()
1007 return binary_op(v, w, NB_SLOT(nb_matrix_multiply), "@"); in PyNumber_MatrixMultiply()
1013 return binary_op(v, w, NB_SLOT(nb_floor_divide), "//"); in PyNumber_FloorDivide()
1019 return binary_op(v, w, NB_SLOT(nb_true_divide), "/"); in PyNumber_TrueDivide()
1025 return binary_op(v, w, NB_SLOT(nb_remainder), "%"); in PyNumber_Remainder()
1031 return ternary_op(v, w, z, NB_SLOT(nb_power), "** or pow()"); in PyNumber_Power()
1082 return binary_iop(v, w, NB_SLOT(iop), NB_SLOT(op), op_name); \
1096 return binary_iop(v, w, NB_SLOT(nb_inplace_floor_divide), in PyNumber_InPlaceFloorDivide()
1097 NB_SLOT(nb_floor_divide), "//="); in PyNumber_InPlaceFloorDivide()
1103 return binary_iop(v, w, NB_SLOT(nb_inplace_true_divide), in PyNumber_InPlaceTrueDivide()
1104 NB_SLOT(nb_true_divide), "/="); in PyNumber_InPlaceTrueDivide()
1110 PyObject *result = binary_iop1(v, w, NB_SLOT(nb_inplace_add), in PyNumber_InPlaceAdd()
1111 NB_SLOT(nb_add)); in PyNumber_InPlaceAdd()
1131 PyObject *result = binary_iop1(v, w, NB_SLOT(nb_inplace_multiply), in PyNumber_InPlaceMultiply()
1132 NB_SLOT(nb_multiply)); in PyNumber_InPlaceMultiply()
1160 return binary_iop(v, w, NB_SLOT(nb_inplace_matrix_multiply), in PyNumber_InPlaceMatrixMultiply()
1161 NB_SLOT(nb_matrix_multiply), "@="); in PyNumber_InPlaceMatrixMultiply()
1167 return binary_iop(v, w, NB_SLOT(nb_inplace_remainder), in PyNumber_InPlaceRemainder()
1168 NB_SLOT(nb_remainder), "%="); in PyNumber_InPlaceRemainder()
1176 return ternary_op(v, w, z, NB_SLOT(nb_inplace_power), "**="); in PyNumber_InPlacePower()
1179 return ternary_op(v, w, z, NB_SLOT(nb_power), "**="); in PyNumber_InPlacePower()
1557 PyObject *result = binary_op1(s, o, NB_SLOT(nb_add)); in PySequence_Concat()
1586 result = binary_op1(o, n, NB_SLOT(nb_multiply)); in PySequence_Repeat()
1611 PyObject *result = binary_iop1(s, o, NB_SLOT(nb_inplace_add), in PySequence_InPlaceConcat()
1612 NB_SLOT(nb_add)); in PySequence_InPlaceConcat()
1640 result = binary_iop1(o, n, NB_SLOT(nb_inplace_multiply), in PySequence_InPlaceRepeat()
1641 NB_SLOT(nb_multiply)); in PySequence_InPlaceRepeat()