Lines Matching defs:spec
538 public static function getEccSpec($version, $level, array &$spec)
894 public static function rsBlockNum($spec) { return $spec[0] + $spec[3]; }
895 public static function rsBlockNum1($spec) { return $spec[0]; }
896 public static function rsDataCodes1($spec) { return $spec[1]; }
897 public static function rsEccCodes1($spec) { return $spec[2]; }
898 public static function rsBlockNum2($spec) { return $spec[3]; }
899 public static function rsDataCodes2($spec) { return $spec[4]; }
900 public static function rsEccCodes2($spec) { return $spec[2]; }
901 …public static function rsDataLength($spec) { return ($spec[0] * $spec[1]) + ($spec[3] * $spec[4]…
902 public static function rsEccLength($spec) { return ($spec[0] + $spec[3]) * $spec[2]; }
2895 public function init(array $spec)