Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dtypeobject.c6039 #define SLOT1BIN(FUNCNAME, SLOTNAME, OPSTR, ROPSTR) \ macro
6170 SLOT1BIN(slot_nb_add, nb_add, "__add__", "__radd__")
6171 SLOT1BIN(slot_nb_subtract, nb_subtract, "__sub__", "__rsub__")
6172 SLOT1BIN(slot_nb_multiply, nb_multiply, "__mul__", "__rmul__")
6173 SLOT1BIN(slot_nb_matrix_multiply, nb_matrix_multiply, "__matmul__", "__rmatmul__")
6174 SLOT1BIN(slot_nb_remainder, nb_remainder, "__mod__", "__rmod__")
6175 SLOT1BIN(slot_nb_divmod, nb_divmod, "__divmod__", "__rdivmod__")
6267 SLOT1BIN(slot_nb_lshift, nb_lshift, "__lshift__", "__rlshift__")
6268 SLOT1BIN(slot_nb_rshift, nb_rshift, "__rshift__", "__rrshift__")
6269 SLOT1BIN(slot_nb_and, nb_and, "__and__", "__rand__")
[all …]
/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 …]