Home
last modified time | relevance | path

Searched refs:PyComplex_Check (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython3/Objects/
Dcomplexobject.c257 if (PyComplex_Check(op)) { in PyComplex_RealAsDouble()
268 if (PyComplex_Check(op)) { in PyComplex_ImagAsDouble()
289 if (!PyComplex_Check(res)) { in try_complex_special_method()
318 if (PyComplex_Check(op)) { in PyComplex_AsCComplex()
432 if (PyComplex_Check(obj)) \
635 assert(PyComplex_Check(v)); in complex_richcompare()
659 else if (PyComplex_Check(w)) { in complex_richcompare()
1024 if (PyComplex_Check(r)) { in complex_new_impl()
1054 else if (PyComplex_Check(i)) { in complex_new_impl()
/external/python/cpython2/Objects/
Dcomplexobject.c268 if (PyComplex_Check(op)) { in PyComplex_RealAsDouble()
279 if (PyComplex_Check(op)) { in PyComplex_ImagAsDouble()
327 if (PyComplex_Check(op)) { in PyComplex_AsCComplex()
339 if (!PyComplex_Check(newop)) { in PyComplex_AsCComplex()
486 if (PyComplex_Check(obj)) \
779 else if (PyComplex_Check(*pw)) { in complex_coerce()
800 PyFloat_Check(w) || PyComplex_Check(w)) { in complex_richcompare()
809 assert(PyComplex_Check(v)); in complex_richcompare()
833 else if (PyComplex_Check(w)) { in complex_richcompare()
1206 if (PyComplex_Check(r)) { in complex_new()
[all …]
/external/python/cpython3/Include/
Dcomplexobject.h41 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) macro
/external/python/cpython2/Include/
Dcomplexobject.h47 #define PyComplex_Check(op) PyObject_TypeCheck(op, &PyComplex_Type) macro
/external/tensorflow/tensorflow/python/lib/core/
Dpy_seq_tensor.cc191 } else if (PyComplex_Check(obj) || in InferShapeAndType()
452 if (PyComplex_Check(v)) { in ConvertOneComplex()
/external/python/cpython2/Doc/c-api/
Dcomplex.rst94 .. c:function:: int PyComplex_Check(PyObject *p)
/external/python/cpython3/Doc/c-api/
Dcomplex.rst94 .. c:function:: int PyComplex_Check(PyObject *p)
/external/python/cpython2/Doc/data/
Drefcounts.dat139 PyComplex_Check:int:::
140 PyComplex_Check:PyObject*:p:0:
/external/python/cpython3/Doc/data/
Drefcounts.dat327 PyComplex_Check:int:::
328 PyComplex_Check:PyObject*:p:0:
/external/python/cpython3/Modules/_decimal/
D_decimal.c2878 else if (PyComplex_Check(w) && (op == Py_EQ || op == Py_NE)) { in convert_op_cmp()