Home
last modified time | relevance | path

Searched refs:PyComplex_CheckExact (Results 1 – 22 of 22) sorted by relevance

/aosp_15_r20/external/python/cpython3/Objects/
Dcomplexobject.c289 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()
Dcodeobject.c2102 else if (PyComplex_CheckExact(op)) { in _PyCode_ConstantKey()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/
Dcomplexobject.h14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/
Dcomplexobject.h14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/aosp_15_r20/external/python/cpython3/Include/
Dcomplexobject.h14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/
Dcomplexobject.h14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/
Dcomplexobject.h14 #define PyComplex_CheckExact(op) Py_IS_TYPE(op, &PyComplex_Type) macro
/aosp_15_r20/external/python/cpython2/Include/
Dcomplexobject.h48 #define PyComplex_CheckExact(op) (Py_TYPE(op) == &PyComplex_Type) macro
/aosp_15_r20/external/python/cpython3/Python/
Dast.c160 || 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()
Dast_unparse.c79 PyComplex_CheckExact(obj)) in append_repr()
Dmarshal.c415 else if (PyComplex_CheckExact(v)) { in w_complex_object()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcomplex.rst100 .. c:function:: int PyComplex_CheckExact(PyObject *p)
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dcomplex.rst103 .. c:function:: int PyComplex_CheckExact(PyObject *p)
/aosp_15_r20/external/python/cpython2/Objects/
Dcomplexobject.c723 if (PyComplex_CheckExact(v)) { in complex_pos()
1152 if (PyComplex_CheckExact(r) && i == NULL && in complex_new()
Dcodeobject.c447 else if (PyComplex_CheckExact(op)) { in _PyCode_ConstantKey()
/aosp_15_r20/external/python/cpython3/Parser/
Daction_helpers.c965 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()
/aosp_15_r20/external/pytorch/torch/csrc/jit/python/
H A Dpybind_utils.h390 } else if (PyComplex_CheckExact(input.ptr())) { in tryToInferType()
516 } else if (PyComplex_CheckExact(input.ptr())) { in tryToInferPrimitiveType()
H A Dpybind_utils.cpp505 } else if (PyComplex_CheckExact(obj.ptr())) { in toIValue()
H A Dpython_sugared_value.cpp1152 } else if (PyComplex_CheckExact(obj.ptr())) { in toSugaredValue()
/aosp_15_r20/external/python/cpython3/Objects/stringlib/
Dunicode_format.h516 else if (PyComplex_CheckExact(fieldobj)) in render_field()
/aosp_15_r20/external/python/cpython2/Python/
Dmarshal.c284 else if (PyComplex_CheckExact(v)) { in w_object()
/aosp_15_r20/external/python/cpython3/Doc/data/
Drefcounts.dat348 PyComplex_CheckExact:int:::
349 PyComplex_CheckExact:PyObject*:p:0: