Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dtypeobject.c6752 #undef BINSLOT
6778 #define BINSLOT(NAME, SLOT, FUNCTION, DOC) \ macro
6852 BINSLOT("__add__", nb_add, slot_nb_add,
6856 BINSLOT("__sub__", nb_subtract, slot_nb_subtract,
6860 BINSLOT("__mul__", nb_multiply, slot_nb_multiply,
6864 BINSLOT("__mod__", nb_remainder, slot_nb_remainder,
6883 BINSLOT("__lshift__", nb_lshift, slot_nb_lshift, "<<"),
6885 BINSLOT("__rshift__", nb_rshift, slot_nb_rshift, ">>"),
6887 BINSLOT("__and__", nb_and, slot_nb_and, "&"),
6889 BINSLOT("__xor__", nb_xor, slot_nb_xor, "^"),
[all …]
/external/python/cpython2/Objects/
Dtypeobject.c6000 #undef BINSLOT
6024 #define BINSLOT(NAME, SLOT, FUNCTION, DOC) \ macro
6089 BINSLOT("__add__", nb_add, slot_nb_add,
6093 BINSLOT("__sub__", nb_subtract, slot_nb_subtract,
6097 BINSLOT("__mul__", nb_multiply, slot_nb_multiply,
6101 BINSLOT("__div__", nb_divide, slot_nb_divide,
6105 BINSLOT("__mod__", nb_remainder, slot_nb_remainder,
6124 BINSLOT("__lshift__", nb_lshift, slot_nb_lshift, "<<"),
6126 BINSLOT("__rshift__", nb_rshift, slot_nb_rshift, ">>"),
6128 BINSLOT("__and__", nb_and, slot_nb_and, "&"),
[all …]