Lines Matching refs:bit
46 class bit { class
48 public function bit($data) function in bit
212 foreach ($bits as $bit) {
213 $b = new bit($bit);
219 function bit_find($bit) argument
222 if ($bit <= $b->start && $bit >= $b->end)
227 function bit_defined($bit) argument
229 return ($this->bit_find($bit) != false);
232 private function bitpos($bit, $bitdim, $bitmax) argument
234 $inv = abs($bit - $bitmax);
291 foreach ($register->bits as $bit)
292 $xmin = max($xmin, $im->font_width(FONT_LABELS, $bit->format_name()) + $bitdim);
304 $bit = $register->bit_find($b);
305 if ($bit == false)
307 $range = $bit->bit_range($bitset_h, $register->bitrange);
373 $bit = $register->bit_find($b);
374 if ($bit == false)
376 $text = $bit->format_name($bitset_h, $register->bitrange);
378 $b += ($bit->start - $bit->end) * $b_inc;
391 $bit = $register->bit_find($b);
393 if ($bit == false)
396 $text = $bit->format_name($bitset_h, $register->bitrange);
397 $range = $bit->bit_range($bitset_h, $register->bitrange);
400 if ($bit->start != $bit->end) {
434 if ($bit->desc != "") {
435 if ($range[1] == $bit->end)
436 $bdesc = $bit->desc;