Home
last modified time | relevance | path

Searched refs:PyFloat_Check (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Include/
Dfloatobject.h23 #define PyFloat_Check(op) PyObject_TypeCheck(op, &PyFloat_Type) macro
/third_party/python/Objects/
Dfloatobject.c264 if (PyFloat_Check(op)) { in PyFloat_AsDouble()
289 if (!PyFloat_Check(res)) { in PyFloat_AsDouble()
318 if (PyFloat_Check(obj)) \
383 assert(PyFloat_Check(v)); in float_richcompare()
389 if (PyFloat_Check(w)) in float_richcompare()
1650 assert(PyFloat_Check(tmp)); in float_subtype_new()
Dcomplexobject.c447 if (PyFloat_Check(obj)) { in to_complex()
615 else if (PyFloat_Check(w)) { in complex_richcompare()
983 assert(PyFloat_Check(tmp)); in complex_new_impl()
Dabstract.c1659 if (!PyFloat_Check(res)) { in PyNumber_Float()
1694 if (PyFloat_Check(o)) { in PyNumber_Float()
/third_party/python/Python/
Dpytime.c176 if (PyFloat_Check(obj)) { in _PyTime_ObjectToDenominator()
199 if (PyFloat_Check(obj)) { in _PyTime_ObjectToTime_t()
410 if (PyFloat_Check(obj)) { in _PyTime_FromObject()
Dcompile.c4178 PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) || in check_subscripter()
/third_party/python/Doc/c-api/
Dfloat.rst22 .. c:function:: int PyFloat_Check(PyObject *p)
/third_party/python/Modules/_sqlite/
Dstatement.c156 } else if (PyFloat_Check(parameter)) { in pysqlite_statement_bind_parameter()
Dconnection.c554 } else if (PyFloat_Check(py_val)) { in _pysqlite_set_result()
/third_party/python/Modules/
D_json.c1425 else if (PyFloat_Check(obj)) { in encoder_listencode_obj()
1570 else if (PyFloat_Check(key)) { in encoder_listencode_dict()
D_datetimemodule.c1916 assert(floatobj && PyFloat_Check(floatobj)); in get_float_as_integer_ratio()
2187 else if (PyFloat_Check(right)) in delta_multiply()
2194 else if (PyFloat_Check(left)) in delta_multiply()
2235 else if (PyFloat_Check(right)) in delta_truedivide()
2349 if (PyFloat_Check(num)) { in accum()
D_testbuffer.c354 PyFloat_Check(item)) && nmemb == 1) { in pack_from_list()
436 PyFloat_Check(item)) && nmemb == 1) { in pack_single()
D_tkinter.c1112 if (PyFloat_Check(value)) in AsObj()
2087 if (PyFloat_Check(arg)) { in _tkinter_tkapp_getdouble()
/third_party/python/Modules/_decimal/
D_decimal.c2252 if (!PyFloat_Check(v)) { in PyDecType_FromFloatExact()
2722 else if (PyFloat_Check(v)) { in PyDecType_FromObjectExact()
2771 else if (PyFloat_Check(v)) { in PyDec_FromObject()
3012 else if (PyFloat_Check(w)) { in convert_op_cmp()
/third_party/python/Doc/data/
Drefcounts.dat882 PyFloat_Check:int:::
883 PyFloat_Check:PyObject*:p:0:
/third_party/skia/third_party/externals/libwebp/swig/
Dlibwebp_python_wrap.c3180 if (PyFloat_Check(obj)) { in SWIG_AsVal_double()