Lines Matching refs:bits
141 int i, bits = 0, ac = 0; in base64_encode() local
145 ac += src[i] << bits; in base64_encode()
146 bits += 8; in base64_encode()
150 bits -= 6; in base64_encode()
151 } while (bits >= 6); in base64_encode()
153 if (bits) in base64_encode()
160 int i, bits = 0, ac = 0; in base64_decode() local
168 ac += (p - lookup_table) << bits; in base64_decode()
169 bits += 6; in base64_decode()
170 if (bits >= 8) { in base64_decode()
173 bits -= 8; in base64_decode()