Lines Matching refs:bit
77 private function push_bit(&$bits, &$bit) argument
79 if (!array_key_exists("name", $bit))
80 $bit["name"] = "ERROR:UNDEF";
81 if (!array_key_exists("desc", $bit))
82 $bit["desc"] = "";
83 if (!array_key_exists("flags", $bit))
84 $bit["flags"] = "";
85 $range = explode(" ", $bit["range"]);
88 array_push($bits, array($range[0], $range[1], $bit["name"], $bit["desc"], $bit["flags"]));
89 $bit = array();
95 $bit = array();
108 if ($subkey == "range" && count($bit) > 0)
109 $this->push_bit($bits, $bit);
110 $bit[$subkey] = $val;
117 if (count($bit) > 0)
118 $this->push_bit($bits, $bit);