Lines Matching refs:b2
62 private static void halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in halving_add_signed() argument
63 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_signed()
65 bo[i] = (byte) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
112 private static void halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in halving_add_unsigned() argument
113 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in halving_add_unsigned()
115 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >>> 1); in halving_add_unsigned()
150 private static void rounding_halving_add_signed(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_signed() argument
151 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_signed()
153 bo[i] = (byte) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
202 private static void rounding_halving_add_unsigned(byte[] b1, byte[] b2, byte[] bo) { in rounding_halving_add_unsigned() argument
203 int min_length = Math.min(bo.length, Math.min(b1.length, b2.length)); in rounding_halving_add_unsigned()
205 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff) + 1) >>> 1); in rounding_halving_add_unsigned()