Lines Matching refs:b1
47 private static void halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in halving_add_signed() argument
48 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
50 bo[i] = (byte) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
82 private static void halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in halving_add_unsigned() argument
83 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
85 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >>> 1); in halving_add_unsigned()
105 private static void rounding_halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_signed() argument
106 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
108 bo[i] = (byte) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
142 private static void rounding_halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_unsigned() argument
143 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
145 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff) + 1) >>> 1); in rounding_halving_add_unsigned()
165 private static void halving_add_signed_constant(byte[] b1, byte[] bo) { in halving_add_signed_constant() argument
166 int min_length = Math.min(bo.length, b1.length); in halving_add_signed_constant()
168 bo[i] = (byte) ((b1[i] + 0x7f) >>> 1); in halving_add_signed_constant()
199 private static void halving_add_unsigned_constant(byte[] b1, byte[] bo) { in halving_add_unsigned_constant() argument
200 int min_length = Math.min(bo.length, b1.length); in halving_add_unsigned_constant()
202 bo[i] = (byte) (((b1[i] & 0xff) + 0xff) >>> 1); in halving_add_unsigned_constant()