• 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()
73 for (int i = 0; i < 128; i++) in mul()
74 a[i] *= x; in mul()
87 for (int i = 0; i < 128; i++) in div()
88 a[i] /= x; in div()
100 for (int i = 0; i < 128; i++) in neg()
101 a[i] = -a[i]; in neg()
113 for (int i = 0; i < 128; i++) in not()
114 a[i] = ~a[i]; in not()
126 for (int i = 0; i < 128; i++) in shl4()
127 a[i] <<= 4; in shl4()
139 for (int i = 0; i < 128; i++) in sar2()
140 a[i] >>= 2; in sar2()
152 for (int i = 0; i < 128; i++) in shr2()
153 a[i] >>>= 2; in shr2()
189 for (int i = 0; i < 128; i++) in shr64()
190 a[i] >>>= $opt$inline$IntConstant64(); // 0, since & 63 in shr64()
221 for (int i = 0; i < 128; i++) in shr65()
222 a[i] >>>= $opt$inline$IntConstant65(); // 1, since & 63 in shr65()
253 for (int i = 0; i < 128; i++) in shrMinus254()
254 a[i] >>>= $opt$inline$IntConstantMinus254(); // 2, since & 63 in shrMinus254()
262 for (int i = 1; i < 127; i++) in bounds()
263 a[i] += 11; in bounds()
273 for (int i = 0; i < 128; i++) { in main()
274 a[i] = i; in main()
278 for (int i = 0; i < 128; i++) { in main()
279 expectEquals(i + 2, a[i], "add"); in main()
282 for (int i = 0; i < 128; i++) { in main()
283 expectEquals(i, a[i], "sub"); in main()
286 for (int i = 0; i < 128; i++) { in main()
287 expectEquals(i + i, a[i], "mul"); in main()
290 for (int i = 0; i < 128; i++) { in main()
291 expectEquals(i, a[i], "div"); in main()
294 for (int i = 0; i < 128; i++) { in main()
295 expectEquals(-i, a[i], "neg"); in main()
300 for (int i = 1; i < 127; i++) { in main()
301 expectEquals(11 - i, a[i], "bounds"); in main()
305 for (int i = 0; i < 128; i++) { in main()
306 a[i] = 0xffffffffffffffffL; in main()
309 for (int i = 0; i < 128; i++) { in main()
310 expectEquals(0xfffffffffffffff0L, a[i], "shl4"); in main()
313 for (int i = 0; i < 128; i++) { in main()
314 expectEquals(0xfffffffffffffffcL, a[i], "sar2"); in main()
317 for (int i = 0; i < 128; i++) { in main()
318 expectEquals(0x3fffffffffffffffL, a[i], "shr2"); in main()
321 for (int i = 0; i < 128; i++) { in main()
322 expectEquals(0x3fffffffffffffffL, a[i], "shr64"); in main()
325 for (int i = 0; i < 128; i++) { in main()
326 expectEquals(0x1fffffffffffffffL, a[i], "shr65"); in main()
329 for (int i = 0; i < 128; i++) { in main()
330 expectEquals(0x07ffffffffffffffL, a[i], "shrMinus254"); in main()
334 for (int i = 0; i < 128; i++) { in main()
335 expectEquals(0xf800000000000000L, a[i], "not"); in main()