Lines Matching refs:i
50 for (int i = 0; i < min_length; i++) { in halving_add_signed()
51 bo[i] = (short) ((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] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff)) >>> 1); in halving_add_unsigned()
100 for (int i = 0; i < min_length; i++) { in rounding_halving_add_signed()
101 bo[i] = (short) ((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] = (short) (((b1[i] & 0xffff) + (b2[i] & 0xffff) + 1) >>> 1); in rounding_halving_add_unsigned()
151 for (int i = 0; i < min_length; i++) { in halving_add_signed_constant()
152 bo[i] = (short) ((b1[i] + 0x7fff) >>> 1); in halving_add_signed_constant()
176 for (int i = 0; i < min_length; i++) { in halving_add_unsigned_constant()
177 bo[i] = (short) (((b1[i] & 0xffff) + 0xffff) >>> 1); in halving_add_unsigned_constant()
195 for (int i = 0; i < M; i++) { in main()
196 sB1[i] = (short) i; in main()
197 sB2[i] = interesting[i & 7]; in main()
204 for (int i = 0; i < M; i++) { in main()
205 short e = (short) ((sB1[i] + sB2[i]) >> 1); in main()
206 expectEquals(e, sBo[i]); in main()
209 for (int i = 0; i < M; i++) { in main()
210 short e = (short) (((sB1[i] & 0xffff) + (sB2[i] & 0xffff)) >> 1); in main()
211 expectEquals(e, sBo[i]); in main()
214 for (int i = 0; i < M; i++) { in main()
215 short e = (short) ((sB1[i] + sB2[i] + 1) >> 1); in main()
216 expectEquals(e, sBo[i]); in main()
219 for (int i = 0; i < M; i++) { in main()
220 short e = (short) (((sB1[i] & 0xffff) + (sB2[i] & 0xffff) + 1) >> 1); in main()
221 expectEquals(e, sBo[i]); in main()
224 for (int i = 0; i < M; i++) { in main()
225 short e = (short) ((sB1[i] + 0x7fff) >> 1); in main()
226 expectEquals(e, sBo[i]); in main()
229 for (int i = 0; i < M; i++) { in main()
230 short e = (short) (((sB1[i] & 0xffff) + 0xffff) >> 1); in main()
231 expectEquals(e, sBo[i]); in main()