Searched refs:PyComplex_CheckExact (Results 1 – 22 of 22) sorted by relevance
289 if (!res || PyComplex_CheckExact(res)) { in try_complex_special_method()555 if (PyComplex_CheckExact(v)) { in complex_pos()707 if (PyComplex_CheckExact(self)) { in complex___complex___impl()913 if (PyComplex_CheckExact(r) && i == NULL && in complex_new_impl()
2102 else if (PyComplex_CheckExact(op)) { in _PyCode_ConstantKey()
14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
48 #define PyComplex_CheckExact(op) (Py_TYPE(op) == &PyComplex_Type) macro
160 || PyComplex_CheckExact(value) in validate_constant()409 (allow_imaginary && PyComplex_CheckExact(value)); in ensure_literal_number()488 PyBytes_CheckExact(literal) || PyComplex_CheckExact(literal) || in validate_pattern_match_value()
79 PyComplex_CheckExact(obj)) in append_repr()
415 else if (PyComplex_CheckExact(v)) { in w_complex_object()
100 .. c:function:: int PyComplex_CheckExact(PyObject *p)
103 .. c:function:: int PyComplex_CheckExact(PyObject *p)
723 if (PyComplex_CheckExact(v)) { in complex_pos()1152 if (PyComplex_CheckExact(r) && i == NULL && in complex_new()
447 else if (PyComplex_CheckExact(op)) { in _PyCode_ConstantKey()
965 if (exp->kind != Constant_kind || !PyComplex_CheckExact(exp->v.Constant.value)) { in _PyPegen_ensure_imaginary()975 if (exp->kind != Constant_kind || PyComplex_CheckExact(exp->v.Constant.value)) { in _PyPegen_ensure_real()
390 } else if (PyComplex_CheckExact(input.ptr())) { in tryToInferType()516 } else if (PyComplex_CheckExact(input.ptr())) { in tryToInferPrimitiveType()
505 } else if (PyComplex_CheckExact(obj.ptr())) { in toIValue()
1152 } else if (PyComplex_CheckExact(obj.ptr())) { in toSugaredValue()
516 else if (PyComplex_CheckExact(fieldobj)) in render_field()
284 else if (PyComplex_CheckExact(v)) { in w_object()
348 PyComplex_CheckExact:int:::349 PyComplex_CheckExact:PyObject*:p:0: