Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dabstract.c789 binaryfunc slotw = NULL; in binary_op1() local
795 slotw = NB_BINOP(w->ob_type->tp_as_number, op_slot); in binary_op1()
796 if (slotw == slotv) in binary_op1()
797 slotw = NULL; in binary_op1()
800 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) { in binary_op1()
801 x = slotw(v, w); in binary_op1()
805 slotw = NULL; in binary_op1()
812 if (slotw) { in binary_op1()
813 x = slotw(v, w); in binary_op1()
877 ternaryfunc slotw = NULL; in ternary_op() local
[all …]
/external/python/cpython2/Objects/
Dabstract.c927 binaryfunc slotw = NULL; local
933 slotw = NB_BINOP(w->ob_type->tp_as_number, op_slot);
934 if (slotw == slotv)
935 slotw = NULL;
938 if (slotw && PyType_IsSubtype(w->ob_type, v->ob_type)) {
939 x = slotw(v, w);
943 slotw = NULL;
950 if (slotw) {
951 x = slotw(v, w);
1044 ternaryfunc slotw = NULL; local
[all …]