Lines Matching defs:useda
838 int i, n, useda;
842 useda = MP_USED(a);
855 for (i = 0; i < useda / 2; i++) {
858 if (useda & 1) {
859 d[useda / 2] = ad[useda - 1];
861 for (i = (useda + 1) / 2; i < n; i++) {
908 mp_size useda, usedb;
927 useda = MP_USED(a);
929 if (useda < usedb) {
930 useda = usedb;
955 if((res = conv_mp32_to_uint64arr(a, useda,
959 if((res = conv_mp32_to_uint64arr(b, useda,
966 * since useda is in units of 32-bit words,
970 if ((cdigits = s_mp_alloc((useda + 1), sizeof (uint64_t),
980 s_mp_free(cdigits, (useda + 1) * sizeof (uint64_t));
988 if ((adigits = s_mp_alloc(useda, sizeof (uint64_t),
992 if ((bdigits = s_mp_alloc(useda, sizeof (uint64_t),
994 s_mp_free(adigits, useda * sizeof (uint64_t));
997 if ((cdigits = s_mp_alloc(2 * useda, sizeof (uint64_t),
999 s_mp_free(adigits, useda * sizeof (uint64_t));
1000 s_mp_free(bdigits, useda * sizeof (uint64_t));
1006 for (i = MP_USED(a); i < useda; i++) {
1012 for (i = MP_USED(b); i < useda; i++) {
1015 big_mul_arr_64(cdigits, adigits, bdigits, useda);
1016 for (i = 0; i < 2 * useda; i++) {
1019 s_mp_free(adigits, useda * sizeof (uint64_t));
1020 s_mp_free(bdigits, useda * sizeof (uint64_t));
1021 s_mp_free(cdigits, 2 * useda * sizeof (uint64_t));
1053 useda = MP_USED(a);
1060 s_mpv_mul_d_add(MP_DIGITS(a), useda, b_i, MP_DIGITS(c) + ib);
1062 MP_DIGIT(c, ib + useda) = b_i;