Home
last modified time | relevance | path

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

/third_party/python/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)
/third_party/boost/boost/python/converter/
Dbuiltin_converters.hpp168 BOOST_PYTHON_TO_PYTHON_BY_VALUE(float, ::PyFloat_FromDouble(x), &PyFloat_Type)
169 BOOST_PYTHON_TO_PYTHON_BY_VALUE(double, ::PyFloat_FromDouble(x), &PyFloat_Type)
170 BOOST_PYTHON_TO_PYTHON_BY_VALUE(long double, ::PyFloat_FromDouble(x), &PyFloat_Type)
/third_party/boost/libs/mpi/src/python/
Ddatatypes.cpp24 register_serialized(double(0.0), &PyFloat_Type); in export_datatypes()
/third_party/python/Objects/
Dfloatobject.c142 _PyObject_Init((PyObject*)op, &PyFloat_Type); in PyFloat_FromDouble()
1493 if (type != &PyFloat_Type && result != NULL) { in float_fromhex()
1619 if (type != &PyFloat_Type) { in float_new_impl()
1646 assert(PyType_IsSubtype(type, &PyFloat_Type)); in float_subtype_new()
1647 tmp = float_new_impl(&PyFloat_Type, x); in float_subtype_new()
1928 PyTypeObject PyFloat_Type = { variable
Dlistobject.c2125 assert(Py_IS_TYPE(v, &PyFloat_Type)); in unsafe_float_compare()
2126 assert(Py_IS_TYPE(w, &PyFloat_Type)); in unsafe_float_compare()
2331 else if (key_type == &PyFloat_Type) { in list_sort_impl()
Dobject.c1826 INIT_TYPE(PyFloat_Type); in _PyTypes_Init()
Dlongobject.c4135 return PyFloat_Type.tp_as_number->nb_power(v, w, x); in long_pow()
/third_party/python/Doc/c-api/
Dfloat.rst16 .. c:var:: PyTypeObject PyFloat_Type
/third_party/python/Objects/clinic/
Dfloatobject.c.h211 if ((type == &PyFloat_Type) && in float_new()
/third_party/python/Modules/_sqlite/
Dmodule.c167 if (type == &PyLong_Type || type == &PyFloat_Type in pysqlite_register_adapter_impl()
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp371 static PyTypeObject const* get_pytype() { return &PyFloat_Type;} in get_pytype()
/third_party/python/Modules/
D_json.c985 if (is_float && s->parse_float != (PyObject *)&PyFloat_Type) in _match_number_unicode()
1366 return PyFloat_Type.tp_repr(obj); in encoder_encode_float()
Dmathmodule.c2118 return PyFloat_Type.tp_as_number->nb_int(x); in math_trunc()
D_pickle.c4295 else if (type == &PyFloat_Type) { in save()
/third_party/python/PC/
Dpython3dll.c824 EXPORT_DATA(PyFloat_Type)
/third_party/python/Doc/data/
Dstable_abi.dat274 var,PyFloat_Type,3.2,
/third_party/python/Python/
Dbltinmodule.c3022 SETBUILTIN("float", &PyFloat_Type); in _PyBuiltin_Init()
/third_party/python/Misc/
Dstable_abi.txt742 data PyFloat_Type
/third_party/python/Tools/c-analyzer/
DTODO841 Objects/floatobject.c:PyFloat_Type PyTypeObject PyFloat_Type
/third_party/python/Modules/_decimal/
D_decimal.c5695 _py_float_abs = PyFloat_Type.tp_as_number->nb_absolute; in PyInit__decimal()
5696 ASSIGN_PTR(_py_float_as_integer_ratio, cfunc_noargs(&PyFloat_Type, in PyInit__decimal()
/third_party/python/Tools/c-analyzer/cpython/
Dignored.tsv1580 Objects/floatobject.c - PyFloat_Type -