Lines Matching refs:i
50 for (int i = 0; i < min_length; i++) { in halving_add_signed()
51 bo[i] = (byte) ((b1[i] + b2[i]) >>> 1); in halving_add_signed()
76 for (int i = 0; i < min_length; i++) { in halving_add_unsigned()
77 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff)) >>> 1); in halving_add_unsigned()
100 for (int i = 0; i < min_length; i++) { in rounding_halving_add_signed()
101 bo[i] = (byte) ((b1[i] + b2[i] + 1) >>> 1); in rounding_halving_add_signed()
127 for (int i = 0; i < min_length; i++) { in rounding_halving_add_unsigned()
128 bo[i] = (byte) (((b1[i] & 0xff) + (b2[i] & 0xff) + 1) >>> 1); in rounding_halving_add_unsigned()
151 for (int i = 0; i < min_length; i++) { in halving_add_signed_constant()
152 bo[i] = (byte) ((b1[i] + 0x7f) >>> 1); in halving_add_signed_constant()
176 for (int i = 0; i < min_length; i++) { in halving_add_unsigned_constant()
177 bo[i] = (byte) (((b1[i] & 0xff) + 0xff) >>> 1); in halving_add_unsigned_constant()
185 for (int i = 0; i < N; i++) { in main()
187 sB1[k] = (byte) i; in main()
192 for (int i = 0; i < 15; i++) { in main()
193 sB1[k] = (byte) i; in main()
203 for (int i = 0; i < M; i++) { in main()
204 byte e = (byte) ((sB1[i] + sB2[i]) >> 1); in main()
205 expectEquals(e, sBo[i]); in main()
208 for (int i = 0; i < M; i++) { in main()
209 byte e = (byte) (((sB1[i] & 0xff) + (sB2[i] & 0xff)) >> 1); in main()
210 expectEquals(e, sBo[i]); in main()
213 for (int i = 0; i < M; i++) { in main()
214 byte e = (byte) ((sB1[i] + sB2[i] + 1) >> 1); in main()
215 expectEquals(e, sBo[i]); in main()
218 for (int i = 0; i < M; i++) { in main()
219 byte e = (byte) (((sB1[i] & 0xff) + (sB2[i] & 0xff) + 1) >> 1); in main()
220 expectEquals(e, sBo[i]); in main()
223 for (int i = 0; i < M; i++) { in main()
224 byte e = (byte) ((sB1[i] + 0x7f) >> 1); in main()
225 expectEquals(e, sBo[i]); in main()
228 for (int i = 0; i < M; i++) { in main()
229 byte e = (byte) (((sB1[i] & 0xff) + 0xff) >> 1); in main()
230 expectEquals(e, sBo[i]); in main()