Home
last modified time | relevance | path

Searched refs:PyFloat_Type (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython2/Include/
Dfloatobject.h19 PyAPI_DATA(PyTypeObject) PyFloat_Type;
21 #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
22 #define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type)
/external/python/cpython3/Include/
Dfloatobject.h21 PyAPI_DATA(PyTypeObject) PyFloat_Type;
23 #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type)
24 #define PyFloat_CheckExact(op) (Py_TYPE(op) == &PyFloat_Type)
/external/python/cpython3/Objects/
Dfloatobject.c127 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
1494 if (type != &PyFloat_Type && result != NULL) { in float_fromhex()
1622 if (type != &PyFloat_Type) in float_new_impl()
1641 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
1642 tmp = float_new_impl(&PyFloat_Type, x); in float_subtype_new()
1910 PyTypeObject PyFloat_Type = { variable
Dlistobject.c2087 assert(v->ob_type == &PyFloat_Type); in unsafe_float_compare()
2276 else if (key_type == &PyFloat_Type) { in list_sort_impl()
Dobject.c1825 if (PyType_Ready(&PyFloat_Type) < 0) in _Py_ReadyTypes()
Dlongobject.c4065 return PyFloat_Type.tp_as_number->nb_power(v, w, x); in long_pow()
/external/python/cpython3/Objects/clinic/
Dfloatobject.c.h172 if ((type == &PyFloat_Type) && in float_new()
/external/python/cpython3/Doc/c-api/
Dfloat.rst16 .. c:var:: PyTypeObject PyFloat_Type
/external/python/cpython2/Objects/
Dfloatobject.c151 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
1816 if (type != &PyFloat_Type) in float_new()
1837 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
1838 tmp = float_new(&PyFloat_Type, args, kwds); in float_subtype_new()
2117 PyTypeObject PyFloat_Type = { variable
Dintobject.c740 return PyFloat_Type.tp_as_number->nb_power( in int_pow()
Dobject.c2140 if (PyType_Ready(&PyFloat_Type) < 0) in _Py_ReadyTypes()
Dlongobject.c3443 return PyFloat_Type.tp_as_number->nb_power(v, w, x); in long_pow()
/external/python/cpython2/Doc/c-api/
Dfloat.rst16 .. c:var:: PyTypeObject PyFloat_Type
/external/python/cpython2/PC/os2vacpp/
Dpython.def42 PyFloat_Type
/external/python/cpython2/Modules/_sqlite/
Dmodule.c158 if (type == &PyInt_Type || type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
/external/python/cpython3/Modules/_sqlite/
Dmodule.c172 if (type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
/external/python/cpython2/Modules/
D_json.c1372 if (s->parse_float != (PyObject *)&PyFloat_Type) { in _match_number_str()
1472 if (s->parse_float != (PyObject *)&PyFloat_Type) { in _match_number_unicode()
1942 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
DcPickle.c2642 if (type == &PyFloat_Type) { in save()
/external/python/cpython3/PC/
Dpython3.def268 PyFloat_Type=python37.PyFloat_Type DATA
/external/python/cpython3/Modules/
D_json.c1013 if (is_float && s->parse_float != (PyObject *)&PyFloat_Type) in _match_number_unicode()
1425 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
D_pickle.c3983 else if (type == &PyFloat_Type) { in save()
/external/python/cpython2/PC/os2emx/
Dpython27.def322 "PyFloat_Type"
/external/python/cpython3/Python/
Dbltinmodule.c2839 SETBUILTIN("float", &PyFloat_Type); in _PyBuiltin_Init()
/external/python/cpython2/Python/
Dbltinmodule.c2734 SETBUILTIN("float", &PyFloat_Type); in _PyBuiltin_Init()
/external/python/cpython3/Modules/_decimal/
D_decimal.c5551 _py_float_abs = PyFloat_Type.tp_as_number->nb_absolute; in PyInit__decimal()
5552 ASSIGN_PTR(_py_float_as_integer_ratio, cfunc_noargs(&PyFloat_Type, in PyInit__decimal()