Lines Matching refs:wcmp
2999 convert_op_cmp(PyObject **vcmp, PyObject **wcmp, PyObject *v, PyObject *w, in convert_op_cmp() argument
3008 *wcmp = w; in convert_op_cmp()
3011 *wcmp = PyDec_FromLongExact(w, context); in convert_op_cmp()
3016 *wcmp = NULL; in convert_op_cmp()
3020 *wcmp = PyDec_FromFloatExact(w, context); in convert_op_cmp()
3026 *wcmp = NULL; in convert_op_cmp()
3031 *wcmp = NULL; in convert_op_cmp()
3035 *wcmp = PyDec_FromFloatExact(tmp, context); in convert_op_cmp()
3041 *wcmp = Py_NotImplemented; in convert_op_cmp()
3047 *wcmp = NULL; in convert_op_cmp()
3050 *wcmp = numerator_as_decimal(w, context); in convert_op_cmp()
3051 if (*wcmp && !mpd_isspecial(MPD(v))) { in convert_op_cmp()
3054 Py_CLEAR(*wcmp); in convert_op_cmp()
3060 *wcmp = Py_NotImplemented; in convert_op_cmp()
3064 if (*wcmp == NULL || *wcmp == Py_NotImplemented) { in convert_op_cmp()
3073 #define CONVERT_BINOP_CMP(vcmp, wcmp, v, w, op, ctx) \ argument
3074 if (!convert_op_cmp(vcmp, wcmp, v, w, op, ctx)) { \
3075 return *(wcmp); \