Lines Matching refs:PyComplex_Check
261 if (PyComplex_Check(op)) { in PyComplex_RealAsDouble()
272 if (PyComplex_Check(op)) { in PyComplex_ImagAsDouble()
292 if (!PyComplex_Check(res)) { in try_complex_special_method()
321 if (PyComplex_Check(op)) { in PyComplex_AsCComplex()
429 if (PyComplex_Check(obj)) \
595 assert(PyComplex_Check(v)); in complex_richcompare()
619 else if (PyComplex_Check(w)) { in complex_richcompare()
949 (nbr->nb_float == NULL && nbr->nb_index == NULL && !PyComplex_Check(r))) in complex_new_impl()
963 (nbi->nb_float == NULL && nbi->nb_index == NULL && !PyComplex_Check(i))) in complex_new_impl()
983 if (PyComplex_Check(r)) { in complex_new_impl()
1013 else if (PyComplex_Check(i)) { in complex_new_impl()