Lines Matching refs:x
117 static int[] intOperTest(int x, int y) { in intOperTest() argument
123 results[0] = x + y; in intOperTest()
124 results[1] = x - y; in intOperTest()
125 results[2] = x * y; in intOperTest()
126 results[3] = x * x; in intOperTest()
127 results[4] = x / y; in intOperTest()
128 results[5] = x % -y; in intOperTest()
129 results[6] = x & y; in intOperTest()
130 results[7] = x | y; in intOperTest()
131 results[8] = x ^ y; in intOperTest()
134 results[9] = x + ((((((((x + y) - y) * y) / y) % y) & y) | y) ^ y); in intOperTest()
163 static int[] lit16Test(int x) { in lit16Test() argument
169 results[0] = x + 1000; in lit16Test()
170 results[1] = 1000 - x; in lit16Test()
171 results[2] = x * 1000; in lit16Test()
172 results[3] = x / 1000; in lit16Test()
173 results[4] = x % 1000; in lit16Test()
174 results[5] = x & 1000; in lit16Test()
175 results[6] = x | -1000; in lit16Test()
176 results[7] = x ^ -1000; in lit16Test()
193 static int[] lit8Test(int x) { in lit8Test() argument
199 results[0] = x + 10; in lit8Test()
200 results[1] = 10 - x; in lit8Test()
201 results[2] = x * 10; in lit8Test()
202 results[3] = x / 10; in lit8Test()
203 results[4] = x % 10; in lit8Test()
204 results[5] = x & 10; in lit8Test()
205 results[6] = x | -10; in lit8Test()
206 results[7] = x ^ -10; in lit8Test()
257 static long[] longOperTest(long x, long y) { in longOperTest() argument
263 results[0] = x + y; in longOperTest()
264 results[1] = x - y; in longOperTest()
265 results[2] = x * y; in longOperTest()
266 results[3] = x * x; in longOperTest()
267 results[4] = x / y; in longOperTest()
268 results[5] = x % -y; in longOperTest()
269 results[6] = x & y; in longOperTest()
270 results[7] = x | y; in longOperTest()
271 results[8] = x ^ y; in longOperTest()
274 results[9] = x + ((((((((x + y) - y) * y) / y) % y) & y) | y) ^ y); in longOperTest()
334 static int unopTest(int x) { in unopTest() argument
335 x = -x; in unopTest()
336 x ^= 0xffffffff; in unopTest()
337 return x; in unopTest()
352 static Shorty truncateTest(int x) { in truncateTest() argument
356 shorts.mShort = (short) x; in truncateTest()
357 shorts.mChar = (char) x; in truncateTest()
358 shorts.mByte = (byte) x; in truncateTest()
374 int x = 100 / z; in divideByZero() local
380 int x = 100 % z; in divideByZero() local
386 long x = 100L / z; in divideByZero() local
392 long x = 100L % z; in divideByZero() local