Lines Matching defs:ret
3505 PyLongObject *ret = NULL;
3579 ret = _PyLong_New(asize + bsize);
3580 if (ret == NULL) goto fail;
3583 memset(ret->ob_digit, 0xDF, Py_SIZE(ret) * sizeof(digit));
3589 assert(2*shift + Py_SIZE(t1) <= Py_SIZE(ret));
3590 memcpy(ret->ob_digit + 2*shift, t1->ob_digit,
3594 i = Py_SIZE(ret) - 2*shift - Py_SIZE(t1);
3596 memset(ret->ob_digit + 2*shift + Py_SIZE(t1), 0,
3606 memcpy(ret->ob_digit, t2->ob_digit, Py_SIZE(t2) * sizeof(digit));
3611 memset(ret->ob_digit + Py_SIZE(t2), 0, i * sizeof(digit));
3616 i = Py_SIZE(ret) - shift; /* # digits after shift */
3617 (void)v_isub(ret->ob_digit + shift, i, t2->ob_digit, Py_SIZE(t2));
3620 (void)v_isub(ret->ob_digit + shift, i, t1->ob_digit, Py_SIZE(t1));
3650 (void)v_iadd(ret->ob_digit + shift, i, t3->ob_digit, Py_SIZE(t3));
3653 return long_normalize(ret);
3656 Py_XDECREF(ret);
3723 PyLongObject *ret;
3730 ret = _PyLong_New(asize + bsize);
3731 if (ret == NULL)
3733 memset(ret->ob_digit, 0, Py_SIZE(ret) * sizeof(digit));
3754 (void)v_iadd(ret->ob_digit + nbdone, Py_SIZE(ret) - nbdone,
3763 return long_normalize(ret);
3766 Py_DECREF(ret);
5472 int ret;
5475 ret = _PyLong_FormatAdvancedWriter(
5479 if (ret == -1) {