Home
last modified time | relevance | path

Searched refs:SLOT1BIN (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dtypeobject.c5105 #define SLOT1BIN(FUNCNAME, SLOTNAME, OPSTR, ROPSTR) \ macro
5291 SLOT1BIN(slot_nb_add, nb_add, "__add__", "__radd__")
5292 SLOT1BIN(slot_nb_subtract, nb_subtract, "__sub__", "__rsub__")
5293 SLOT1BIN(slot_nb_multiply, nb_multiply, "__mul__", "__rmul__")
5294 SLOT1BIN(slot_nb_divide, nb_divide, "__div__", "__rdiv__")
5295 SLOT1BIN(slot_nb_remainder, nb_remainder, "__mod__", "__rmod__")
5296 SLOT1BIN(slot_nb_divmod, nb_divmod, "__divmod__", "__rdivmod__")
5376 SLOT1BIN(slot_nb_lshift, nb_lshift, "__lshift__", "__rlshift__")
5377 SLOT1BIN(slot_nb_rshift, nb_rshift, "__rshift__", "__rrshift__")
5378 SLOT1BIN(slot_nb_and, nb_and, "__and__", "__rand__")
[all …]
/external/python/cpython3/Objects/
Dtypeobject.c6358 #define SLOT1BIN(FUNCNAME, SLOTNAME, OPSTR, ROPSTR) \ macro
6491 SLOT1BIN(slot_nb_add, nb_add, "__add__", "__radd__")
6492 SLOT1BIN(slot_nb_subtract, nb_subtract, "__sub__", "__rsub__")
6493 SLOT1BIN(slot_nb_multiply, nb_multiply, "__mul__", "__rmul__")
6494 SLOT1BIN(slot_nb_matrix_multiply, nb_matrix_multiply, "__matmul__", "__rmatmul__")
6495 SLOT1BIN(slot_nb_remainder, nb_remainder, "__mod__", "__rmod__")
6496 SLOT1BIN(slot_nb_divmod, nb_divmod, "__divmod__", "__rdivmod__")
6589 SLOT1BIN(slot_nb_lshift, nb_lshift, "__lshift__", "__rlshift__")
6590 SLOT1BIN(slot_nb_rshift, nb_rshift, "__rshift__", "__rrshift__")
6591 SLOT1BIN(slot_nb_and, nb_and, "__and__", "__rand__")
[all …]