Lines Matching defs:length
15 * @param int $length
22 public function __construct($code, $length, $leftMargin, $rightMargin, $xDim, $barHeight, $separatorMargin)
24 $this->init($code, $length);
35 * @param int $length
37 private function init($code, $length = 5)
40 $code = str_pad($code, $length, '0', STR_PAD_LEFT);
43 if ($length == 2) {
45 } elseif ($length == 5) {
96 $p = $parities[$length][$r];
99 for ($i = 1; $i < $length; ++$i) {