Home
last modified time | relevance | path

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

/external/python/cpython2/Objects/
Dabstract.c926 binaryfunc slotv = NULL; local
930 slotv = NB_BINOP(v->ob_type->tp_as_number, op_slot);
934 if (slotw == slotv)
937 if (slotv) {
945 x = slotv(v, w);
1043 ternaryfunc slotv = NULL; local
1050 slotv = NB_TERNOP(mv, op_slot);
1054 if (slotw == slotv)
1057 if (slotv) {
1065 x = slotv(v, w, z);
[all …]
/external/python/cpython3/Objects/
Dabstract.c788 binaryfunc slotv = NULL; in binary_op1() local
792 slotv = NB_BINOP(v->ob_type->tp_as_number, op_slot); in binary_op1()
796 if (slotw == slotv) in binary_op1()
799 if (slotv) { in binary_op1()
807 x = slotv(v, w); in binary_op1()
876 ternaryfunc slotv = NULL; in ternary_op() local
883 slotv = NB_TERNOP(mv, op_slot); in ternary_op()
887 if (slotw == slotv) in ternary_op()
890 if (slotv) { in ternary_op()
898 x = slotv(v, w, z); in ternary_op()
[all …]