Lines Matching refs:i
37 for (int i = 0; i < 128; i++) in add()
38 a[i] += x; in add()
50 for (int i = 0; i < 128; i++) in sub()
51 a[i] -= x; in sub()
63 for (int i = 0; i < 128; i++) in mul()
64 a[i] *= x; in mul()
77 for (int i = 0; i < 128; i++) in div()
78 a[i] /= x; in div()
90 for (int i = 0; i < 128; i++) in neg()
91 a[i] = -a[i]; in neg()
103 for (int i = 0; i < 128; i++) in not()
104 a[i] = ~a[i]; in not()
116 for (int i = 0; i < 128; i++) in shl4()
117 a[i] <<= 4; in shl4()
129 for (int i = 0; i < 128; i++) in sar2()
130 a[i] >>= 2; in sar2()
142 for (int i = 0; i < 128; i++) in shr2()
143 a[i] >>>= 2; in shr2()
170 for (int i = 0; i < 128; i++) in shr64()
171 a[i] >>>= $opt$inline$IntConstant64(); // 0, since & 63 in shr64()
192 for (int i = 0; i < 128; i++) in shr65()
193 a[i] >>>= $opt$inline$IntConstant65(); // 1, since & 63 in shr65()
214 for (int i = 0; i < 128; i++) in shrMinus254()
215 a[i] >>>= $opt$inline$IntConstantMinus254(); // 2, since & 63 in shrMinus254()
223 for (int i = 1; i < 127; i++) in bounds()
224 a[i] += 11; in bounds()
234 for (int i = 0; i < 128; i++) { in main()
235 a[i] = i; in main()
239 for (int i = 0; i < 128; i++) { in main()
240 expectEquals(i + 2, a[i], "add"); in main()
243 for (int i = 0; i < 128; i++) { in main()
244 expectEquals(i, a[i], "sub"); in main()
247 for (int i = 0; i < 128; i++) { in main()
248 expectEquals(i + i, a[i], "mul"); in main()
251 for (int i = 0; i < 128; i++) { in main()
252 expectEquals(i, a[i], "div"); in main()
255 for (int i = 0; i < 128; i++) { in main()
256 expectEquals(-i, a[i], "neg"); in main()
261 for (int i = 1; i < 127; i++) { in main()
262 expectEquals(11 - i, a[i], "bounds"); in main()
266 for (int i = 0; i < 128; i++) { in main()
267 a[i] = 0xffffffffffffffffL; in main()
270 for (int i = 0; i < 128; i++) { in main()
271 expectEquals(0xfffffffffffffff0L, a[i], "shl4"); in main()
274 for (int i = 0; i < 128; i++) { in main()
275 expectEquals(0xfffffffffffffffcL, a[i], "sar2"); in main()
278 for (int i = 0; i < 128; i++) { in main()
279 expectEquals(0x3fffffffffffffffL, a[i], "shr2"); in main()
282 for (int i = 0; i < 128; i++) { in main()
283 expectEquals(0x3fffffffffffffffL, a[i], "shr64"); in main()
286 for (int i = 0; i < 128; i++) { in main()
287 expectEquals(0x1fffffffffffffffL, a[i], "shr65"); in main()
290 for (int i = 0; i < 128; i++) { in main()
291 expectEquals(0x07ffffffffffffffL, a[i], "shrMinus254"); in main()
295 for (int i = 0; i < 128; i++) { in main()
296 expectEquals(0xf800000000000000L, a[i], "not"); in main()