Searched refs:Py_complex (Results 1 – 20 of 20) sorted by relevance
| /third_party/python/Include/cpython/ |
| D | complexobject.h | 8 } Py_complex; typedef 12 PyAPI_FUNC(Py_complex) _Py_c_sum(Py_complex, Py_complex); 13 PyAPI_FUNC(Py_complex) _Py_c_diff(Py_complex, Py_complex); 14 PyAPI_FUNC(Py_complex) _Py_c_neg(Py_complex); 15 PyAPI_FUNC(Py_complex) _Py_c_prod(Py_complex, Py_complex); 16 PyAPI_FUNC(Py_complex) _Py_c_quot(Py_complex, Py_complex); 17 PyAPI_FUNC(Py_complex) _Py_c_pow(Py_complex, Py_complex); 18 PyAPI_FUNC(double) _Py_c_abs(Py_complex); 28 Py_complex cval; 31 PyAPI_FUNC(PyObject *) PyComplex_FromCComplex(Py_complex); [all …]
|
| /third_party/python/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 …]
|
| D | _testclinic.c.h | 1113 py_complex_converter_impl(PyObject *module, Py_complex a); 1119 Py_complex a; in py_complex_converter()
|
| /third_party/python/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 | 325 ``D`` (:class:`complex`) [Py_complex] 326 Convert a Python complex number to a C :c:type:`Py_complex` structure. 649 ``D`` (:class:`complex`) [Py_complex \*] 650 Convert a C :c:type:`Py_complex` structure to a Python complex number.
|
| /third_party/python/Objects/ |
| D | complexobject.c | 25 static Py_complex c_1 = {1., 0.}; 27 Py_complex 28 _Py_c_sum(Py_complex a, Py_complex b) in _Py_c_sum() 30 Py_complex r; in _Py_c_sum() 36 Py_complex 37 _Py_c_diff(Py_complex a, Py_complex b) in _Py_c_diff() 39 Py_complex r; in _Py_c_diff() 45 Py_complex 46 _Py_c_neg(Py_complex a) in _Py_c_neg() 48 Py_complex r; in _Py_c_neg() [all …]
|
| D | codeobject.c | 2103 Py_complex z; in _PyCode_ConstantKey()
|
| /third_party/python/Modules/ |
| D | cmathmodule.c | 107 static Py_complex 110 Py_complex r; in c_infj() 128 static Py_complex 131 Py_complex r; in c_nanj() 140 static Py_complex cmath_asinh_impl(PyObject *, Py_complex); 141 static Py_complex cmath_atanh_impl(PyObject *, Py_complex); 142 static Py_complex cmath_cosh_impl(PyObject *, Py_complex); 143 static Py_complex cmath_sinh_impl(PyObject *, Py_complex); 144 static Py_complex cmath_sqrt_impl(PyObject *, Py_complex); 145 static Py_complex cmath_tanh_impl(PyObject *, Py_complex); [all …]
|
| D | _testclinic.c | 489 py_complex_converter_impl(PyObject *module, Py_complex a) in py_complex_converter_impl() 492 RETURN_PACKED_ARGS(1, PyComplex_FromCComplex, Py_complex, a); in py_complex_converter_impl()
|
| D | _testcapimodule.c | 1611 Py_complex cval; in getargs_D()
|
| /third_party/python/Doc/data/ |
| D | refcounts.dat | 342 PyComplex_AsCComplex:Py_complex::: 352 PyComplex_FromCComplex::Py_complex v:: 2974 _Py_c_diff:Py_complex::: 2975 _Py_c_diff:Py_complex:left:: 2976 _Py_c_diff:Py_complex:right:: 2978 _Py_c_neg:Py_complex::: 2979 _Py_c_neg:Py_complex:complex:: 2981 _Py_c_pow:Py_complex::: 2982 _Py_c_pow:Py_complex:num:: 2983 _Py_c_pow:Py_complex:exp:: [all …]
|
| /third_party/python/Python/ |
| D | modsupport.c | 379 *((Py_complex *)va_arg(*p_va, Py_complex *))); in do_mkvalue()
|
| D | getargs.c | 845 Py_complex *p = va_arg(*p_va, Py_complex *); in convertsimple() 846 Py_complex cval; in convertsimple()
|
| D | marshal.c | 1084 Py_complex c; in r_object() 1098 Py_complex c; in r_object()
|
| /third_party/python/Parser/ |
| D | pegen.c | 564 Py_complex compl; in parsenumber_raw()
|
| /third_party/python/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)
|
| /third_party/python/Doc/extending/ |
| D | extending.rst | 710 Py_complex c;
|
| /third_party/python/Modules/_decimal/ |
| D | _decimal.c | 3061 Py_complex c = PyComplex_AsCComplex(w); in convert_op_cmp()
|
| /third_party/python/Doc/howto/ |
| D | clinic.rst | 829 ``'D'`` ``Py_complex``
|
| /third_party/python/Misc/ |
| D | HISTORY | 25104 number from a Py_complex C value. 32095 - The "complex" internal structure type is now called "Py_complex" to
|