Home
last modified time | relevance | path

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

/external/python/cpython3/Objects/
Dabstract.c851 binaryfunc slotw = NULL; in binary_op1() local
857 slotw = NB_BINOP(Py_TYPE(w)->tp_as_number, op_slot); in binary_op1()
858 if (slotw == slotv) in binary_op1()
859 slotw = NULL; in binary_op1()
862 if (slotw && PyType_IsSubtype(Py_TYPE(w), Py_TYPE(v))) { in binary_op1()
863 x = slotw(v, w); in binary_op1()
867 slotw = NULL; in binary_op1()
874 if (slotw) { in binary_op1()
875 x = slotw(v, w); in binary_op1()
939 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 …]