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.c850 binaryfunc slotv = NULL; in binary_op1() local
854 slotv = NB_BINOP(Py_TYPE(v)->tp_as_number, op_slot); in binary_op1()
858 if (slotw == slotv) in binary_op1()
861 if (slotv) { in binary_op1()
869 x = slotv(v, w); in binary_op1()
938 ternaryfunc slotv = NULL; in ternary_op() local
945 slotv = NB_TERNOP(mv, op_slot); in ternary_op()
948 if (slotw == slotv) in ternary_op()
951 if (slotv) { in ternary_op()
959 x = slotv(v, w, z); in ternary_op()
[all …]