• Home
  • Raw
  • Download

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()
68 for (int i = 0; i < 128; i++) in mul()
69 a[i] *= x; in mul()
82 for (int i = 0; i < 128; i++) in div()
83 a[i] /= x; in div()
95 for (int i = 0; i < 128; i++) in neg()
96 a[i] = -a[i]; in neg()
108 for (int i = 0; i < 128; i++) in not()
109 a[i] = ~a[i]; in not()
121 for (int i = 0; i < 128; i++) in shl4()
122 a[i] <<= 4; in shl4()
134 for (int i = 0; i < 128; i++) in sar2()
135 a[i] >>= 2; in sar2()
147 for (int i = 0; i < 128; i++) in shr2()
148 a[i] >>>= 2; in shr2()
175 for (int i = 0; i < 128; i++) in shr64()
176 a[i] >>>= $opt$inline$IntConstant64(); // 0, since & 63 in shr64()
197 for (int i = 0; i < 128; i++) in shr65()
198 a[i] >>>= $opt$inline$IntConstant65(); // 1, since & 63 in shr65()
219 for (int i = 0; i < 128; i++) in shrMinus254()
220 a[i] >>>= $opt$inline$IntConstantMinus254(); // 2, since & 63 in shrMinus254()
228 for (int i = 1; i < 127; i++) in bounds()
229 a[i] += 11; in bounds()
239 for (int i = 0; i < 128; i++) { in main()
240 a[i] = i; in main()
244 for (int i = 0; i < 128; i++) { in main()
245 expectEquals(i + 2, a[i], "add"); in main()
248 for (int i = 0; i < 128; i++) { in main()
249 expectEquals(i, a[i], "sub"); in main()
252 for (int i = 0; i < 128; i++) { in main()
253 expectEquals(i + i, a[i], "mul"); in main()
256 for (int i = 0; i < 128; i++) { in main()
257 expectEquals(i, a[i], "div"); in main()
260 for (int i = 0; i < 128; i++) { in main()
261 expectEquals(-i, a[i], "neg"); in main()
266 for (int i = 1; i < 127; i++) { in main()
267 expectEquals(11 - i, a[i], "bounds"); in main()
271 for (int i = 0; i < 128; i++) { in main()
272 a[i] = 0xffffffffffffffffL; in main()
275 for (int i = 0; i < 128; i++) { in main()
276 expectEquals(0xfffffffffffffff0L, a[i], "shl4"); in main()
279 for (int i = 0; i < 128; i++) { in main()
280 expectEquals(0xfffffffffffffffcL, a[i], "sar2"); in main()
283 for (int i = 0; i < 128; i++) { in main()
284 expectEquals(0x3fffffffffffffffL, a[i], "shr2"); in main()
287 for (int i = 0; i < 128; i++) { in main()
288 expectEquals(0x3fffffffffffffffL, a[i], "shr64"); in main()
291 for (int i = 0; i < 128; i++) { in main()
292 expectEquals(0x1fffffffffffffffL, a[i], "shr65"); in main()
295 for (int i = 0; i < 128; i++) { in main()
296 expectEquals(0x07ffffffffffffffL, a[i], "shrMinus254"); in main()
300 for (int i = 0; i < 128; i++) { in main()
301 expectEquals(0xf800000000000000L, a[i], "not"); in main()