Searched refs:nb_int (Results 1 – 15 of 15) sorted by relevance
160 nb->nb_int == NULL) { in PyInt_AsLong()165 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsLong()229 (nb->nb_int == NULL && nb->nb_long == 0)) { in PyInt_AsSsize_t()237 io = (*nb->nb_int)(op); in PyInt_AsSsize_t()278 nb->nb_int == NULL) { in PyInt_AsUnsignedLongMask()283 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsUnsignedLongMask()323 nb->nb_int == NULL) { in PyInt_AsUnsignedLongLongMask()328 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsUnsignedLongLongMask()
886 (o->ob_type->tp_as_number->nb_int ||1632 if (m && m->nb_int) { /* This should include subclasses of int */1634 PyObject *res = m->nb_int(o);
3821 COPYNUM(nb_int);5976 UNSLOT("__int__", nb_int, slot_nb_int, wrap_unaryfunc,
160 nb->nb_int == NULL) { in PyInt_AsLong()165 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsLong()215 (nb->nb_int == NULL && nb->nb_long == 0)) { in PyInt_AsSsize_t()223 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsSsize_t()264 nb->nb_int == NULL) { in PyInt_AsUnsignedLongMask()269 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsUnsignedLongMask()309 nb->nb_int == NULL) { in PyInt_AsUnsignedLongLongMask()314 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsUnsignedLongLongMask()
270 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongAndOverflow()275 vv = (*nb->nb_int) (vv); in PyLong_AsLongAndOverflow()953 nb->nb_int == NULL) { in PyLong_AsLongLong()957 io = (*nb->nb_int) (vv); in PyLong_AsLongLong()1070 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongLongAndOverflow()1075 vv = (*nb->nb_int) (vv); in PyLong_AsLongLongAndOverflow()
3786 COPYNUM(nb_int);5923 UNSLOT("__int__", nb_int, slot_nb_int, wrap_unaryfunc,
266 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongAndOverflow()271 vv = (*nb->nb_int) (vv); in PyLong_AsLongAndOverflow()967 nb->nb_int == NULL) { in PyLong_AsLongLong()971 io = (*nb->nb_int) (vv); in PyLong_AsLongLong()1084 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongLongAndOverflow()1089 vv = (*nb->nb_int) (vv); in PyLong_AsLongLongAndOverflow()
246 unaryfunc nb_int; member
135 if (!converted && m != NULL && m->nb_int != NULL) { in get_pylong()150 v = m->nb_int(v); in get_pylong()
1767 nb->nb_int == NULL) { in get_range_long_argument()1773 v = nb->nb_int(arg); in get_range_long_argument()
1777 nb->nb_int == NULL) { in get_range_long_argument()1783 v = nb->nb_int(arg); in get_range_long_argument()