Lines Matching refs:tp_as_number
159 if (op == NULL || (nb = Py_TYPE(op)->tp_as_number) == NULL ||
214 if ((nb = Py_TYPE(op)->tp_as_number) == NULL ||
263 if (op == NULL || (nb = Py_TYPE(op)->tp_as_number) == NULL ||
308 if (op == NULL || (nb = Py_TYPE(op)->tp_as_number) == NULL ||
468 return PyLong_Type.tp_as_number->nb_add((PyObject *)v, (PyObject *)w);
481 return PyLong_Type.tp_as_number->nb_subtract((PyObject *)v,
546 return PyLong_Type.tp_as_number->nb_multiply(v, w);
619 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x,
640 return PyLong_Type.tp_as_number->nb_divide((PyObject *)x,
670 return PyLong_Type.tp_as_number->nb_true_divide(
690 return PyLong_Type.tp_as_number->nb_remainder((PyObject *)x,
708 return PyLong_Type.tp_as_number->nb_divmod((PyObject *)x,
730 return PyFloat_Type.tp_as_number->nb_power(
758 return PyLong_Type.tp_as_number->nb_power(
769 return PyLong_Type.tp_as_number->nb_power(
785 return PyLong_Type.tp_as_number->nb_power(
1394 &int_as_number, /* tp_as_number */