Home
last modified time | relevance | path

Searched refs:PyComplex_Check (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Objects/
Dcomplexobject.c259 if (PyComplex_Check(op)) { in PyComplex_RealAsDouble()
270 if (PyComplex_Check(op)) { in PyComplex_ImagAsDouble()
291 if (!PyComplex_Check(res)) { in try_complex_special_method()
320 if (PyComplex_Check(op)) { in PyComplex_AsCComplex()
428 if (PyComplex_Check(obj)) \
594 assert(PyComplex_Check(v)); in complex_richcompare()
618 else if (PyComplex_Check(w)) { in complex_richcompare()
927 (nbr->nb_float == NULL && nbr->nb_index == NULL && !PyComplex_Check(r))) in complex_new_impl()
941 (nbi->nb_float == NULL && nbi->nb_index == NULL && !PyComplex_Check(i))) in complex_new_impl()
961 if (PyComplex_Check(r)) { in complex_new_impl()
[all …]
Dabstract.c835 return nb && (nb->nb_index || nb->nb_int || nb->nb_float || PyComplex_Check(o)); in PyNumber_Check()
/third_party/python/Include/
Dcomplexobject.h41 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) macro
/third_party/boost/libs/python/src/converter/
Dbuiltin_converters.cpp479 if (PyComplex_Check(obj)) in get_slot()
487 if (PyComplex_Check(intermediate)) in extract()
/third_party/python/Doc/c-api/
Dcomplex.rst94 .. c:function:: int PyComplex_Check(PyObject *p)
/third_party/python/Doc/data/
Drefcounts.dat345 PyComplex_Check:int:::
346 PyComplex_Check:PyObject*:p:0:
/third_party/python/Modules/_decimal/
D_decimal.c3022 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp()
/third_party/python/Python/
Dcompile.c4178 PyLong_Check(v) || PyFloat_Check(v) || PyComplex_Check(v) || in check_subscripter()