Lines Matching refs:bits
37 private $bits; variable in GTBaseX
59 $this->bits = 1;
61 while ((1 << $this->bits) < strlen($alphabet)) {
62 $this->bits++;
65 if ((1 << $this->bits) != strlen($alphabet)) {
69 $this->block = 8 / GTUtil::gcd(8, $this->bits);
174 $mask = (1 << $this->bits) - 1;
176 while ($this->bits * $i < 8 * $length) {
182 while ($size < $this->bits) {
192 $result .= $this->chars[($buff >> ($size - $this->bits)) & $mask];
193 $size -= $this->bits;
252 $buff = ($buff << $this->bits) | $next;
253 $size += $this->bits;