Lines Matching refs:PyComplexObject
221 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()
229 PyComplexObject *op = PyObject_Malloc(sizeof(PyComplexObject)); in PyComplex_FromCComplex()
260 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()
271 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()
321 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()
332 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()
349 complex_repr(PyComplexObject *v) in complex_repr()
405 complex_hash(PyComplexObject *v) in complex_hash()
429 c = ((PyComplexObject *)(obj))->cval; \
543 complex_neg(PyComplexObject *v) in complex_neg()
552 complex_pos(PyComplexObject *v) in complex_pos()
563 complex_abs(PyComplexObject *v) in complex_abs()
578 complex_bool(PyComplexObject *v) in complex_bool()
647 complex_conjugate_impl(PyComplexObject *self) in complex_conjugate_impl()
661 complex___getnewargs___impl(PyComplexObject *self) in complex___getnewargs___impl()
679 complex___format___impl(PyComplexObject *self, PyObject *format_spec) in complex___format___impl()
704 {"real", T_DOUBLE, offsetof(PyComplexObject, cval.real), READONLY,
706 {"imag", T_DOUBLE, offsetof(PyComplexObject, cval.imag), READONLY,
965 cr = ((PyComplexObject*)r)->cval; in complex_new_impl()
992 ci = ((PyComplexObject*)i)->cval; in complex_new_impl()
1056 sizeof(PyComplexObject),