Home
last modified time | relevance | path

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

12

/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_IS_TYPE(op, &PyFloat_Type)
/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/Objects/
Dfloatobject.c128 (void)PyObject_INIT(op, &PyFloat_Type); in PyFloat_FromDouble()
1473 if (type != &PyFloat_Type && result != NULL) { in float_fromhex()
1599 if (type != &PyFloat_Type) in float_new_impl()
1618 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
1619 tmp = float_new_impl(&PyFloat_Type, x); in float_subtype_new()
1882 PyTypeObject PyFloat_Type = { variable
Dlistobject.c2106 assert(Py_IS_TYPE(v, &PyFloat_Type)); in unsafe_float_compare()
2107 assert(Py_IS_TYPE(w, &PyFloat_Type)); in unsafe_float_compare()
2312 else if (key_type == &PyFloat_Type) { in list_sort_impl()
Dobject.c1780 INIT_TYPE(&PyFloat_Type, "float"); in _PyTypes_Init()
/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()
/external/python/cpython3/Objects/clinic/
Dfloatobject.c.h211 if ((type == &PyFloat_Type) && in float_new()
/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.c176 if (type == &PyLong_Type || type == &PyFloat_Type in module_register_adapter()
/external/tensorflow/tensorflow/python/framework/
Dop_def_util.cc89 reinterpret_cast<PyObject*>(&PyFloat_Type), value, nullptr)); in operator ()()
/external/python/cpython3/PC/
Dpython3.def268 PyFloat_Type=python39.PyFloat_Type DATA
/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()
/external/tensorflow/tensorflow/compiler/xla/python/
Djax_jit.cc432 (*p)[reinterpret_cast<PyObject*>(&PyFloat_Type)] = float_handler; in ArgSignatureOfValue()
757 (*p)[reinterpret_cast<PyObject*>(&PyFloat_Type)] = HandleFloat<true>; in DevicePut()
/external/python/cpython3/Modules/
D_json.c982 if (is_float && s->parse_float != (PyObject *)&PyFloat_Type) in _match_number_unicode()
1363 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
Dmathmodule.c2136 return PyFloat_Type.tp_as_number->nb_int(x); in math_trunc()
/external/python/cpython2/PC/os2emx/
Dpython27.def322 "PyFloat_Type"
/external/python/cpython3/Python/
Dbltinmodule.c2820 SETBUILTIN("float", &PyFloat_Type); in _PyBuiltin_Init()
/external/python/cpython3/Tools/c-analyzer/
DTODO846 Objects/floatobject.c:PyFloat_Type PyTypeObject PyFloat_Type
/external/python/cpython2/Python/
Dbltinmodule.c2734 SETBUILTIN("float", &PyFloat_Type); in _PyBuiltin_Init()
/external/python/cpython3/Modules/_decimal/
D_decimal.c5684 _py_float_abs = PyFloat_Type.tp_as_number->nb_absolute; in PyInit__decimal()
5685 ASSIGN_PTR(_py_float_as_integer_ratio, cfunc_noargs(&PyFloat_Type, in PyInit__decimal()

12