Lines Matching refs:n

42 	unsigned n;  in mpi_get_nbits()  local
49 n = count_leading_zeros(alimb); in mpi_get_nbits()
51 n = BITS_PER_MPI_LIMB; in mpi_get_nbits()
52 n = BITS_PER_MPI_LIMB - n + (a->nlimbs - 1) * BITS_PER_MPI_LIMB; in mpi_get_nbits()
54 n = 0; in mpi_get_nbits()
55 return n; in mpi_get_nbits()
62 int mpi_test_bit(MPI a, unsigned int n) in mpi_test_bit() argument
67 limbno = n / BITS_PER_MPI_LIMB; in mpi_test_bit()
68 bitno = n % BITS_PER_MPI_LIMB; in mpi_test_bit()
80 void mpi_set_bit(MPI a, unsigned int n) in mpi_set_bit() argument
84 limbno = n / BITS_PER_MPI_LIMB; in mpi_set_bit()
85 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_bit()
99 void mpi_set_highbit(MPI a, unsigned int n) in mpi_set_highbit() argument
103 limbno = n / BITS_PER_MPI_LIMB; in mpi_set_highbit()
104 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_highbit()
122 void mpi_clear_highbit(MPI a, unsigned int n) in mpi_clear_highbit() argument
126 limbno = n / BITS_PER_MPI_LIMB; in mpi_clear_highbit()
127 bitno = n % BITS_PER_MPI_LIMB; in mpi_clear_highbit()
140 void mpi_clear_bit(MPI a, unsigned int n) in mpi_clear_bit() argument
144 limbno = n / BITS_PER_MPI_LIMB; in mpi_clear_bit()
145 bitno = n % BITS_PER_MPI_LIMB; in mpi_clear_bit()
161 mpi_size_t n = a->nlimbs; in mpi_rshift_limbs() local
164 if (count >= n) { in mpi_rshift_limbs()
169 for (i = 0; i < n - count; i++) in mpi_rshift_limbs()
178 void mpi_rshift(MPI x, MPI a, unsigned int n) in mpi_rshift() argument
182 unsigned int nlimbs = (n/BITS_PER_MPI_LIMB); in mpi_rshift()
183 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_rshift()
254 int n = a->nlimbs; in mpi_lshift_limbs() local
257 if (!count || !n) in mpi_lshift_limbs()
260 RESIZE_IF_NEEDED(a, n+count); in mpi_lshift_limbs()
263 for (i = n-1; i >= 0; i--) in mpi_lshift_limbs()
273 void mpi_lshift(MPI x, MPI a, unsigned int n) in mpi_lshift() argument
275 unsigned int nlimbs = (n/BITS_PER_MPI_LIMB); in mpi_lshift()
276 unsigned int nbits = (n%BITS_PER_MPI_LIMB); in mpi_lshift()
278 if (x == a && !n) in mpi_lshift()
299 } else if (n) { in mpi_lshift()