Home
last modified time | relevance | path

Searched refs:PyComplexObject (Results 1 – 11 of 11) sorted by relevance

/aosp_15_r20/external/python/cpython3/Objects/
Dcomplexobject.c223 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()
231 PyComplexObject *op = PyObject_Malloc(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
262 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()
273 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()
322 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()
333 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()
350 complex_repr(PyComplexObject *v) in complex_repr()
406 complex_hash(PyComplexObject *v) in complex_hash()
430 c = ((PyComplexObject *)(obj))->cval; \
544 complex_neg(PyComplexObject *v) in complex_neg()
[all …]
/aosp_15_r20/external/python/cpython2/Objects/
Dcomplexobject.c229 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()
236 register PyComplexObject *op; in PyComplex_FromCComplex()
239 op = (PyComplexObject *) PyObject_MALLOC(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
269 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()
280 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()
328 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()
345 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()
369 complex_format(PyComplexObject *v, int precision, char format_code) in complex_format()
432 complex_print(PyComplexObject *v, FILE *fp, int flags) in complex_print()
451 complex_repr(PyComplexObject *v) in complex_repr()
[all …]
/aosp_15_r20/external/python/cpython3/Objects/clinic/
Dcomplexobject.c.h15 complex_conjugate_impl(PyComplexObject *self);
18 complex_conjugate(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex_conjugate()
32 complex___getnewargs___impl(PyComplexObject *self);
35 complex___getnewargs__(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex___getnewargs__()
50 complex___format___impl(PyComplexObject *self, PyObject *format_spec);
53 complex___format__(PyComplexObject *self, PyObject *arg) in complex___format__()
82 complex___complex___impl(PyComplexObject *self);
85 complex___complex__(PyComplexObject *self, PyObject *Py_UNUSED(ignored)) in complex___complex__()
/aosp_15_r20/external/python/cpython3/Doc/c-api/
Dcomplex.rst83 .. c:type:: PyComplexObject
96 Return true if its argument is a :c:type:`PyComplexObject` or a subtype of
97 :c:type:`PyComplexObject`. This function always succeeds.
102 Return true if its argument is a :c:type:`PyComplexObject`, but not a subtype of
103 :c:type:`PyComplexObject`. This function always succeeds.
113 Return a new :c:type:`PyComplexObject` object from *real* and *imag*.
/aosp_15_r20/external/python/cpython2/Doc/c-api/
Dcomplex.rst83 .. c:type:: PyComplexObject
96 Return true if its argument is a :c:type:`PyComplexObject` or a subtype of
97 :c:type:`PyComplexObject`.
105 Return true if its argument is a :c:type:`PyComplexObject`, but not a subtype of
106 :c:type:`PyComplexObject`.
118 Return a new :c:type:`PyComplexObject` object from *real* and *imag*.
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/include/python3.11/cpython/
Dcomplexobject.h29 } PyComplexObject; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/include/python3.11/cpython/
Dcomplexobject.h29 } PyComplexObject; typedef
/aosp_15_r20/external/python/cpython3/Include/cpython/
Dcomplexobject.h29 } PyComplexObject; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/include/python3.11/cpython/
Dcomplexobject.h29 } PyComplexObject; typedef
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/include/python3.11/cpython/
Dcomplexobject.h29 } PyComplexObject; typedef
/aosp_15_r20/external/python/cpython2/Include/
Dcomplexobject.h43 } PyComplexObject; typedef