/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/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/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 num) 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 | 309 ``D`` (:class:`complex`) [Py_complex] 310 Convert a Python complex number to a C :c:type:`Py_complex` structure. 633 ``D`` (:class:`complex`) [Py_complex \*] 634 Convert a C :c:type:`Py_complex` structure to a Python complex number.
|
/external/python/cpython3/Objects/ |
D | complexobject.c | 23 static Py_complex c_1 = {1., 0.}; 25 Py_complex 26 _Py_c_sum(Py_complex a, Py_complex b) in _Py_c_sum() 28 Py_complex r; in _Py_c_sum() 34 Py_complex 35 _Py_c_diff(Py_complex a, Py_complex b) in _Py_c_diff() 37 Py_complex r; in _Py_c_diff() 43 Py_complex 44 _Py_c_neg(Py_complex a) in _Py_c_neg() 46 Py_complex r; in _Py_c_neg() [all …]
|
D | codeobject.c | 816 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 …]
|
/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 | 342 PyComplex_AsCComplex:Py_complex::: 352 PyComplex_FromCComplex::Py_complex v:: 3052 _Py_c_diff:Py_complex::: 3053 _Py_c_diff:Py_complex:left:: 3054 _Py_c_diff:Py_complex:right:: 3056 _Py_c_neg:Py_complex::: 3057 _Py_c_neg:Py_complex:complex:: 3059 _Py_c_pow:Py_complex::: 3060 _Py_c_pow:Py_complex:num:: 3061 _Py_c_pow:Py_complex:exp:: [all …]
|
/external/python/pybind11/include/pybind11/ |
D | complex.h | 49 Py_complex result = PyComplex_AsCComplex(src.ptr());
|
/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()
|
/external/python/cpython3/Python/ |
D | modsupport.c | 379 *((Py_complex *)va_arg(*p_va, Py_complex *))); in do_mkvalue()
|
D | getargs.c | 844 Py_complex *p = va_arg(*p_va, Py_complex *); in convertsimple() 845 Py_complex cval; in convertsimple()
|
D | marshal.c | 1033 Py_complex c; in r_object() 1047 Py_complex c; in r_object()
|
/external/python/cffi/c/ |
D | _cffi_backend.c | 981 static Py_complex 984 Py_complex r = {0.0, 0.0}; in read_raw_complex_data() 1028 write_raw_complex_data(char *target, Py_complex source, int size) in write_raw_complex_data() 1155 Py_complex value = read_raw_complex_data(data, ct->ct_size); in convert_to_object() 1768 Py_complex value = PyComplex_AsCComplex(init); in convert_from_object() 2251 Py_complex value = read_raw_complex_data(cd->c_data, in cdata_nonzero() 3256 Py_complex value = read_raw_complex_data(cd->c_data, cd->c_type->ct_size); in cdata_complex() 4201 Py_complex value; in do_cast()
|
/external/python/cpython3/Lib/test/ |
D | clinic.test | 1598 a: Py_complex 1612 test_Py_complex_converter_impl(PyObject *module, Py_complex a); 1618 Py_complex a; 1631 test_Py_complex_converter_impl(PyObject *module, Py_complex a)
|