Searched refs:nb_float (Results 1 – 16 of 16) sorted by relevance
/external/python/cpython3/Objects/ |
D | typeslots.inc | 12 offsetof(PyHeapTypeObject, as_number.nb_float),
|
D | complexobject.c | 962 if (nbr == NULL || (nbr->nb_float == NULL && nbr->nb_index == NULL)) { in complex_new_impl() 974 if (nbi == NULL || (nbi->nb_float == NULL && nbi->nb_index == NULL)) { in complex_new_impl()
|
D | floatobject.c | 249 if (nb == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble() 264 res = (*nb->nb_float) (op); in PyFloat_AsDouble()
|
D | abstract.c | 825 Py_TYPE(o)->tp_as_number->nb_float); in PyNumber_Check() 1523 if (m && m->nb_float) { /* This should include subclasses of float */ in PyNumber_Float() 1524 PyObject *res = m->nb_float(o); in PyNumber_Float()
|
D | typeobject.c | 5222 COPYNUM(nb_float); in inherit_slots() 7227 UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,
|
/external/python/cpython2/Objects/ |
D | complexobject.c | 1189 if (nbr == NULL || nbr->nb_float == NULL || in complex_new() 1190 ((i != NULL) && (nbi == NULL || nbi->nb_float == NULL))) { in complex_new() 1248 tmp = (*nbi->nb_float)(i); in complex_new()
|
D | abstract.c | 887 o->ob_type->tp_as_number->nb_float); 1797 if (m && m->nb_float) { /* This should include subclasses of float */ 1798 PyObject *res = m->nb_float(o);
|
D | floatobject.c | 273 if ((nb = Py_TYPE(op)->tp_as_number) == NULL || nb->nb_float == NULL) { in PyFloat_AsDouble() 278 fo = (PyFloatObject*) (*nb->nb_float) (op); in PyFloat_AsDouble()
|
D | typeobject.c | 3977 COPYNUM(nb_float); 6140 UNSLOT("__float__", nb_float, slot_nb_float, wrap_unaryfunc,
|
/external/python/cpython3/Include/cpython/ |
D | object.h | 134 unaryfunc nb_float; member
|
/external/python/cpython2/Include/ |
D | object.h | 248 unaryfunc nb_float; member
|
/external/python/cffi/c/ |
D | _cffi_backend.c | 3800 if (nb == NULL || (nb->nb_float == NULL && nb->nb_int == NULL)) { in _my_PyObject_AsBool() 3804 if (nb->nb_float && !CData_Check(ob)) in _my_PyObject_AsBool() 3805 io = (*nb->nb_float) (ob); in _my_PyObject_AsBool()
|
/external/python/cpython3/Doc/c-api/ |
D | typeobj.rst | 271 …| :c:member:`~PyNumberMethods.nb_float` | :c:type:`unaryfunc` | __… 1997 unaryfunc nb_float; 2054 .. c:member:: unaryfunc PyNumberMethods.nb_float
|
/external/python/cpython2/Doc/c-api/ |
D | typeobj.rst | 1174 unaryfunc nb_float;
|
/external/python/cpython2/Misc/ |
D | HISTORY | 4595 nb_float slot, rather than simply checking whether it has a non-NULL 4854 - PyNumber_Check() now checks that the object has a nb_int or nb_float
|
/external/python/cpython3/Misc/ |
D | HISTORY | 21979 nb_float slot, rather than simply checking whether it has a non-NULL 22238 - PyNumber_Check() now checks that the object has a nb_int or nb_float
|