Lines Matching refs:uz
1616 mp_size uz; in mp_int_to_int() local
1628 uz = MP_USED(z); in mp_int_to_int()
1629 dz = MP_DIGITS(z) + uz - 1; in mp_int_to_int()
1631 while (uz > 0) { in mp_int_to_int()
1634 --uz; in mp_int_to_int()
1646 mp_size uz; in mp_int_to_uint() local
1657 uz = MP_USED(z); in mp_int_to_uint()
1658 dz = MP_DIGITS(z) + uz - 1; in mp_int_to_uint()
1660 while (uz > 0) { in mp_int_to_uint()
1663 --uz; in mp_int_to_uint()
1813 mp_size nbits = 0, uz; in mp_int_count_bits() local
1818 uz = MP_USED(z); in mp_int_count_bits()
1819 if (uz == 1 && z->digits[0] == 0) in mp_int_count_bits()
1822 --uz; in mp_int_count_bits()
1823 nbits = uz * MP_DIGIT_BIT; in mp_int_count_bits()
1824 d = z->digits[uz]; in mp_int_count_bits()
2470 mp_size uz = MP_USED(z); in s_qdiv() local
2476 if (ndig >= uz) { in s_qdiv()
2483 for (mark = ndig; mark < uz; ++mark) in s_qdiv()
2486 MP_USED(z) = uz - ndig; in s_qdiv()
2493 uz = MP_USED(z); in s_qdiv()
2494 dz = MP_DIGITS(z) + uz - 1; in s_qdiv()
2496 for (/* */; uz > 0; --uz, --dz) { in s_qdiv()
2513 mp_size uz = MP_USED(z); in s_qmod() local
2516 if (start <= uz) { in s_qmod()
2525 mp_size uz, need, rest, extra, i; in s_qmul() local
2531 uz = MP_USED(z); in s_qmul()
2539 mp_digit *dz = MP_DIGITS(z) + uz - 1; in s_qmul()
2545 if (!s_pad(z, uz + need + extra)) in s_qmul()
2552 from = MP_DIGITS(z) + uz - 1; in s_qmul()
2555 for (i = 0; i < uz; ++i) in s_qmul()
2559 uz += need; in s_qmul()
2564 for (i = need, from = MP_DIGITS(z) + need; i < uz; ++i, ++from) { in s_qmul()
2574 uz += extra; in s_qmul()
2578 MP_USED(z) = uz; in s_qmul()
2638 mp_size uz = MP_USED(z), k = 0; in s_isp2() local
2641 while (uz > 1) { in s_isp2()
2645 --uz; in s_isp2()
3088 mp_size uz; in s_tobin() local
3092 uz = MP_USED(z); dz = MP_DIGITS(z); in s_tobin()
3093 while (uz > 0 && pos < limit) { in s_tobin()
3102 if (d == 0 && uz == 1) in s_tobin()
3109 --uz; in s_tobin()
3116 uz = 1; in s_tobin()
3125 return (uz == 0) ? MP_OK : MP_TRUNC; in s_tobin()