Searched refs:nb_int (Results 1 – 17 of 17) sorted by relevance
/external/python/cpython2/Objects/ |
D | intobject.c | 153 nb->nb_int == NULL) { in PyInt_AsLong() 163 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsLong() 225 (nb->nb_int == NULL && nb->nb_long == 0)) { in PyInt_AsSsize_t() 233 io = (*nb->nb_int)(op); in PyInt_AsSsize_t() 274 nb->nb_int == NULL) { in PyInt_AsUnsignedLongMask() 279 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsUnsignedLongMask() 319 nb->nb_int == NULL) { in PyInt_AsUnsignedLongLongMask() 324 io = (PyIntObject*) (*nb->nb_int) (op); in PyInt_AsUnsignedLongLongMask()
|
D | longobject.c | 254 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongAndOverflow() 259 vv = (*nb->nb_int) (vv); in PyLong_AsLongAndOverflow() 955 nb->nb_int == NULL) { in PyLong_AsLongLong() 959 io = (*nb->nb_int) (vv); in PyLong_AsLongLong() 1072 if (nb == NULL || nb->nb_int == NULL) { in PyLong_AsLongLongAndOverflow() 1077 vv = (*nb->nb_int) (vv); in PyLong_AsLongLongAndOverflow()
|
D | abstract.c | 886 (o->ob_type->tp_as_number->nb_int || 1629 if (m && m->nb_int) { /* This should include subclasses of int */ 1631 PyObject *res = m->nb_int(o);
|
D | typeobject.c | 3975 COPYNUM(nb_int); 6136 UNSLOT("__int__", nb_int, slot_nb_int, wrap_unaryfunc,
|
/external/python/cpython3/Objects/ |
D | typeslots.inc | 27 offsetof(PyHeapTypeObject, as_number.nb_int),
|
D | abstract.c | 762 (o->ob_type->tp_as_number->nb_int || in PyNumber_Check() 1359 if (m && m->nb_int) { /* This should include subclasses of int */ in PyNumber_Long() 1380 if (m == NULL || m->nb_int == NULL) { in PyNumber_Long()
|
D | longobject.c | 156 if (nb == NULL || nb->nb_int == NULL) { in _PyLong_FromNbInt() 165 result = nb->nb_int(integral); in _PyLong_FromNbInt()
|
D | typeobject.c | 4986 COPYNUM(nb_int); in inherit_slots() 6893 UNSLOT("__int__", nb_int, slot_nb_int, wrap_unaryfunc,
|
/external/python/cpython2/PC/ |
D | _subprocess.c | 671 sp_handle_as_number.nb_int = (unaryfunc) sp_handle_as_int; in init_subprocess()
|
/external/python/cpython2/Include/ |
D | object.h | 246 unaryfunc nb_int; member
|
/external/python/cpython3/Include/ |
D | object.h | 261 unaryfunc nb_int; member
|
/external/python/cpython2/Modules/ |
D | _struct.c | 135 if (!converted && m != NULL && m->nb_int != NULL) { in get_pylong() 150 v = m->nb_int(v); in get_pylong()
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 1789 nb->nb_int == NULL) { in get_range_long_argument() 1795 v = nb->nb_int(arg); in get_range_long_argument()
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 1113 unaryfunc nb_int;
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 1172 unaryfunc nb_int;
|
/external/python/cpython2/Misc/ |
D | HISTORY | 4594 - operator.isNumberType() now checks that the object has a nb_int or 4854 - PyNumber_Check() now checks that the object has a nb_int or nb_float
|
/external/python/cpython3/Misc/ |
D | HISTORY | 21978 - operator.isNumberType() now checks that the object has a nb_int or 22238 - PyNumber_Check() now checks that the object has a nb_int or nb_float
|