Lines Matching defs:a_len
469 size_t a_len = a.nlimbs;
479 /* Allocate room for a_len+2 digits.
480 (Need a_len+1 digits for the real division and 1 more digit for the
482 roomptr = (mp_limb_t *) malloc ((a_len + 2) * sizeof (mp_limb_t));
487 while (a_len > 0 && a_ptr[a_len - 1] == 0)
488 a_len--;
502 /* Here m = a_len >= 0 and n = b_len > 0. */
504 if (a_len < b_len)
508 r_len = a_len;
509 memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
510 q_ptr = roomptr + a_len;
522 const mp_limb_t *sourceptr = a_ptr + a_len;
523 mp_limb_t *destptr = q_ptr + a_len;
525 for (count = a_len; count > 0; count--)
541 q_len = a_len;
640 At the beginning: r = roomptr[0..a_len],
641 at the end: r = roomptr[0..b_len-1], q = roomptr[b_len..a_len] */
645 memcpy (r_ptr, a_ptr, a_len * sizeof (mp_limb_t));
646 r_ptr[a_len] = 0;
654 for (count = a_len; count > 0; count--)
663 q_len = a_len - b_len + 1; /* q will have m-n+1 limbs */
665 size_t j = a_len - b_len; /* m-n */
849 size_t a_len = a.nlimbs;
851 size_t c_len = 9 * ((size_t)(a_len * (GMP_LIMB_BITS * 0.03345f)) + 1);
858 while (a_len > 0)
862 mp_limb_t *ptr = a_ptr + a_len;
864 for (count = a_len; count > 0; count--)
878 if (a_ptr[a_len - 1] == 0)
879 a_len--;