Lines Matching refs:PyComplexObject
223 ((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()
553 complex_pos(PyComplexObject *v) in complex_pos()
564 complex_abs(PyComplexObject *v) in complex_abs()
579 complex_bool(PyComplexObject *v) in complex_bool()
648 complex_conjugate_impl(PyComplexObject *self) in complex_conjugate_impl()
662 complex___getnewargs___impl(PyComplexObject *self) in complex___getnewargs___impl()
680 complex___format___impl(PyComplexObject *self, PyObject *format_spec) in complex___format___impl()
704 complex___complex___impl(PyComplexObject *self) in complex___complex___impl()
726 {"real", T_DOUBLE, offsetof(PyComplexObject, cval.real), READONLY,
728 {"imag", T_DOUBLE, offsetof(PyComplexObject, cval.imag), READONLY,
987 cr = ((PyComplexObject*)r)->cval; in complex_new_impl()
1014 ci = ((PyComplexObject*)i)->cval; in complex_new_impl()
1078 sizeof(PyComplexObject),