Lines Matching refs:bitno
64 unsigned int limbno, bitno; in mpi_test_bit() local
68 bitno = n % BITS_PER_MPI_LIMB; in mpi_test_bit()
73 return (limb & (A_LIMB_1 << bitno)) ? 1 : 0; in mpi_test_bit()
82 unsigned int i, limbno, bitno; in mpi_set_bit() local
85 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_bit()
93 a->d[limbno] |= (A_LIMB_1<<bitno); in mpi_set_bit()
101 unsigned int i, limbno, bitno; in mpi_set_highbit() local
104 bitno = n % BITS_PER_MPI_LIMB; in mpi_set_highbit()
112 a->d[limbno] |= (A_LIMB_1<<bitno); in mpi_set_highbit()
113 for (bitno++; bitno < BITS_PER_MPI_LIMB; bitno++) in mpi_set_highbit()
114 a->d[limbno] &= ~(A_LIMB_1 << bitno); in mpi_set_highbit()
124 unsigned int limbno, bitno; in mpi_clear_highbit() local
127 bitno = n % BITS_PER_MPI_LIMB; in mpi_clear_highbit()
132 for ( ; bitno < BITS_PER_MPI_LIMB; bitno++) in mpi_clear_highbit()
133 a->d[limbno] &= ~(A_LIMB_1 << bitno); in mpi_clear_highbit()
142 unsigned int limbno, bitno; in mpi_clear_bit() local
145 bitno = n % BITS_PER_MPI_LIMB; in mpi_clear_bit()
149 a->d[limbno] &= ~(A_LIMB_1 << bitno); in mpi_clear_bit()