Lines Matching defs:wcmp
3032 to the converted objects in vcmp and wcmp. Return 0 for failure. In that
3033 case wcmp is either NULL or Py_NotImplemented (new reference) and vcmp
3036 convert_op_cmp(PyObject **vcmp, PyObject **wcmp, PyObject *v, PyObject *w,
3045 *wcmp = w;
3048 *wcmp = PyDec_FromLongExact(w, context);
3053 *wcmp = NULL;
3057 *wcmp = PyDec_FromFloatExact(w, context);
3063 *wcmp = NULL;
3068 *wcmp = NULL;
3072 *wcmp = PyDec_FromFloatExact(tmp, context);
3078 *wcmp = Py_NotImplemented;
3084 *wcmp = NULL;
3087 *wcmp = numerator_as_decimal(w, context);
3088 if (*wcmp && !mpd_isspecial(MPD(v))) {
3091 Py_CLEAR(*wcmp);
3097 *wcmp = Py_NotImplemented;
3101 if (*wcmp == NULL || *wcmp == Py_NotImplemented) {
3110 #define CONVERT_BINOP_CMP(vcmp, wcmp, v, w, op, ctx) \
3111 if (!convert_op_cmp(vcmp, wcmp, v, w, op, ctx)) { \
3112 return *(wcmp); \