Lines Matching defs:length
16 * @param int $length
22 public function __construct($code, $length, $leftMargin, $rightMargin, $xDim, $barHeight)
24 $this->init($code, $length);
34 * @param int $length
36 private function init($code, $length)
45 if ($length == 6) {
46 $length = 12; // UPC-A
49 $dataLength = $length - 1;
61 if ($length > 12) {
69 if ($length < 13) {
87 if ($length == 12) {
90 ++$length;
224 $halfLen = ceil($length / 2);
225 if ($length == 8) {
236 for ($i = $halfLen; $i < $length; ++$i) {