/external/python/cpython3/Include/ |
D | complexobject.h | 13 } Py_complex; typedef 17 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex); 18 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex); 19 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex); 20 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex); 21 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex); 22 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex); 23 PyAPI_FUNC(double) _Py_c_abs(Py_complex); 35 Py_complex cval; 45 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex); [all …]
|
/external/python/cpython2/Include/ |
D | complexobject.h | 12 } Py_complex; typedef 24 PyAPI_FUNC(Py_complex) c_sum(Py_complex, Py_complex); 25 PyAPI_FUNC(Py_complex) c_diff(Py_complex, Py_complex); 26 PyAPI_FUNC(Py_complex) c_neg(Py_complex); 27 PyAPI_FUNC(Py_complex) c_prod(Py_complex, Py_complex); 28 PyAPI_FUNC(Py_complex) c_quot(Py_complex, Py_complex); 29 PyAPI_FUNC(Py_complex) c_pow(Py_complex, Py_complex); 30 PyAPI_FUNC(double) c_abs(Py_complex); 42 Py_complex cval; 50 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex); [all …]
|
/external/python/cpython3/Modules/clinic/ |
D | cmathmodule.c.h | 14 static Py_complex 15 cmath_acos_impl(PyObject *module, Py_complex z); 21 Py_complex z; in cmath_acos() 22 Py_complex _return_value; in cmath_acos() 56 static Py_complex 57 cmath_acosh_impl(PyObject *module, Py_complex z); 63 Py_complex z; in cmath_acosh() 64 Py_complex _return_value; in cmath_acosh() 98 static Py_complex 99 cmath_asin_impl(PyObject *module, Py_complex z); [all …]
|
/external/python/cpython3/Doc/c-api/ |
D | complex.rst | 24 .. c:type:: Py_complex 34 } Py_complex; 37 .. c:function:: Py_complex _Py_c_sum(Py_complex left, Py_complex right) 39 Return the sum of two complex numbers, using the C :c:type:`Py_complex` 43 .. c:function:: Py_complex _Py_c_diff(Py_complex left, Py_complex right) 46 :c:type:`Py_complex` representation. 49 .. c:function:: Py_complex _Py_c_neg(Py_complex complex) 52 :c:type:`Py_complex` representation. 55 .. c:function:: Py_complex _Py_c_prod(Py_complex left, Py_complex right) 57 Return the product of two complex numbers, using the C :c:type:`Py_complex` [all …]
|
D | arg.rst | 311 ``D`` (:class:`complex`) [Py_complex] 312 Convert a Python complex number to a C :c:type:`Py_complex` structure. 634 ``D`` (:class:`complex`) [Py_complex \*] 635 Convert a C :c:type:`Py_complex` structure to a Python complex number.
|
/external/python/cpython2/Doc/c-api/ |
D | complex.rst | 24 .. c:type:: Py_complex 34 } Py_complex; 37 .. c:function:: Py_complex _Py_c_sum(Py_complex left, Py_complex right) 39 Return the sum of two complex numbers, using the C :c:type:`Py_complex` 43 .. c:function:: Py_complex _Py_c_diff(Py_complex left, Py_complex right) 46 :c:type:`Py_complex` representation. 49 .. c:function:: Py_complex _Py_c_neg(Py_complex complex) 52 :c:type:`Py_complex` representation. 55 .. c:function:: Py_complex _Py_c_prod(Py_complex left, Py_complex right) 57 Return the product of two complex numbers, using the C :c:type:`Py_complex` [all …]
|
D | arg.rst | 215 ``D`` (complex) [Py_complex] 216 Convert a Python complex number to a C :c:type:`Py_complex` structure. 521 ``D`` (complex) [Py_complex \*] 522 Convert a C :c:type:`Py_complex` structure to a Python complex number.
|
/external/python/cpython3/Objects/ |
D | complexobject.c | 20 static Py_complex c_1 = {1., 0.}; 22 Py_complex 23 _Py_c_sum(Py_complex a, Py_complex b) in _Py_c_sum() 25 Py_complex r; in _Py_c_sum() 31 Py_complex 32 _Py_c_diff(Py_complex a, Py_complex b) in _Py_c_diff() 34 Py_complex r; in _Py_c_diff() 40 Py_complex 41 _Py_c_neg(Py_complex a) in _Py_c_neg() 43 Py_complex r; in _Py_c_neg() [all …]
|
D | codeobject.c | 524 Py_complex z; in _PyCode_ConstantKey()
|
/external/python/cpython2/Objects/ |
D | complexobject.c | 31 static Py_complex c_1 = {1., 0.}; 33 Py_complex 34 c_sum(Py_complex a, Py_complex b) in c_sum() 36 Py_complex r; in c_sum() 42 Py_complex 43 c_diff(Py_complex a, Py_complex b) in c_diff() 45 Py_complex r; in c_diff() 51 Py_complex 52 c_neg(Py_complex a) in c_neg() 54 Py_complex r; in c_neg() [all …]
|
D | codeobject.c | 448 Py_complex z; in _PyCode_ConstantKey()
|
/external/python/cpython3/Modules/ |
D | cmathmodule.c | 100 static Py_complex 103 Py_complex r; in c_infj() 121 static Py_complex 124 Py_complex r; in c_nanj() 133 static Py_complex cmath_asinh_impl(PyObject *, Py_complex); 134 static Py_complex cmath_atanh_impl(PyObject *, Py_complex); 135 static Py_complex cmath_cosh_impl(PyObject *, Py_complex); 136 static Py_complex cmath_sinh_impl(PyObject *, Py_complex); 137 static Py_complex cmath_sqrt_impl(PyObject *, Py_complex); 138 static Py_complex cmath_tanh_impl(PyObject *, Py_complex); [all …]
|
D | _testcapimodule.c | 1251 Py_complex cval; in getargs_D()
|
/external/python/cpython2/Modules/ |
D | cmathmodule.c | 51 static Py_complex c_asinh(Py_complex); 52 static Py_complex c_atanh(Py_complex); 53 static Py_complex c_cosh(Py_complex); 54 static Py_complex c_sinh(Py_complex); 55 static Py_complex c_sqrt(Py_complex); 56 static Py_complex c_tanh(Py_complex); 124 static Py_complex acos_special_values[7][7]; 126 static Py_complex 127 c_acos(Py_complex z) in c_acos() 129 Py_complex s1, s2, r; in c_acos() [all …]
|
D | _testcapimodule.c | 1263 Py_complex cval; in getargs_D()
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 136 PyComplex_AsCComplex:Py_complex::: 143 PyComplex_FromCComplex::Py_complex v:: 1840 _Py_c_diff:Py_complex::: 1841 _Py_c_diff:Py_complex:left:: 1842 _Py_c_diff:Py_complex:right:: 1844 _Py_c_neg:Py_complex::: 1845 _Py_c_neg:Py_complex:complex:: 1847 _Py_c_pow:Py_complex::: 1848 _Py_c_pow:Py_complex:num:: 1849 _Py_c_pow:Py_complex:exp:: [all …]
|
/external/python/cpython3/Doc/data/ |
D | refcounts.dat | 324 PyComplex_AsCComplex:Py_complex::: 334 PyComplex_FromCComplex::Py_complex v:: 3030 _Py_c_diff:Py_complex::: 3031 _Py_c_diff:Py_complex:left:: 3032 _Py_c_diff:Py_complex:right:: 3034 _Py_c_neg:Py_complex::: 3035 _Py_c_neg:Py_complex:complex:: 3037 _Py_c_pow:Py_complex::: 3038 _Py_c_pow:Py_complex:num:: 3039 _Py_c_pow:Py_complex:exp:: [all …]
|
/external/python/cpython2/Python/ |
D | modsupport.c | 414 *((Py_complex *)va_arg(*p_va, Py_complex *))); in do_mkvalue()
|
D | getargs.c | 831 Py_complex *p = va_arg(*p_va, Py_complex *); in convertsimple() 832 Py_complex cval; in convertsimple()
|
D | marshal.c | 750 Py_complex c; in r_object() 784 Py_complex c; in r_object()
|
D | ast.c | 3332 Py_complex complex; in parsenumber()
|
/external/python/cpython3/Python/ |
D | modsupport.c | 368 *((Py_complex *)va_arg(*p_va, Py_complex *))); in do_mkvalue()
|
D | getargs.c | 879 Py_complex *p = va_arg(*p_va, Py_complex *); in convertsimple() 880 Py_complex cval; in convertsimple()
|
D | marshal.c | 1061 Py_complex c; in r_object() 1098 Py_complex c; in r_object()
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 904 a: Py_complex 918 test_Py_complex_converter_impl(PyObject *module, Py_complex a); 924 Py_complex a; 936 test_Py_complex_converter_impl(PyObject *module, Py_complex a)
|