/art/test/003-omnibus-opcodes/src/ |
D | FloatMath.java | 138 float[] results = new float[10]; in floatOperTest() local 142 results[0] = x + y; in floatOperTest() 143 results[1] = x - y; in floatOperTest() 144 results[2] = x * y; in floatOperTest() 145 results[3] = x / y; in floatOperTest() 146 results[4] = x % -y; in floatOperTest() 151 results[5] = tmp; in floatOperTest() 154 results[6] = tmp; in floatOperTest() 157 results[7] = tmp; in floatOperTest() 160 results[8] = tmp; in floatOperTest() [all …]
|
D | IntMath.java | 167 int[] results = new int[10]; in intOperTest() local 170 results[0] = x + y; in intOperTest() 171 results[1] = x - y; in intOperTest() 172 results[2] = x * y; in intOperTest() 173 results[3] = x * x; in intOperTest() 174 results[4] = x / y; in intOperTest() 175 results[5] = x % -y; in intOperTest() 176 results[6] = x & y; in intOperTest() 177 results[7] = x | y; in intOperTest() 178 results[8] = x ^ y; in intOperTest() [all …]
|
/art/test/107-int-math2/src/ |
D | Main.java | 338 int[] results = new int[10]; in intOperTest() local 341 results[0] = x + y; in intOperTest() 342 results[1] = x - y; in intOperTest() 343 results[2] = x * y; in intOperTest() 344 results[3] = x * x; in intOperTest() 345 results[4] = x / y; in intOperTest() 346 results[5] = x % -y; in intOperTest() 347 results[6] = x & y; in intOperTest() 348 results[7] = x | y; in intOperTest() 349 results[8] = x ^ y; in intOperTest() [all …]
|
/art/test/551-checker-shifter-operand/src/ |
D | Main.java | 973 long[] results = new long[36]; in $opt$validateShiftLong() local 975 results[0] = a + (b << 1); in $opt$validateShiftLong() 976 results[1] = a + (b << 6); in $opt$validateShiftLong() 977 results[2] = a + (b << 7); in $opt$validateShiftLong() 978 results[3] = a + (b << 8); in $opt$validateShiftLong() 979 results[4] = a + (b << 14); in $opt$validateShiftLong() 980 results[5] = a + (b << 15); in $opt$validateShiftLong() 981 results[6] = a + (b << 16); in $opt$validateShiftLong() 982 results[7] = a + (b << 30); in $opt$validateShiftLong() 983 results[8] = a + (b << 31); in $opt$validateShiftLong() [all …]
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestByte.java | 450 private static void testDotProd(byte[] b1, byte[] b2, int[] results) { in testDotProd() argument 451 expectEquals(results[0], testDotProdSimple(b1, b2)); in testDotProd() 452 expectEquals(results[1], testDotProdComplex(b1, b2)); in testDotProd() 453 expectEquals(results[2], testDotProdSimpleUnsigned(b1, b2)); in testDotProd() 454 expectEquals(results[3], testDotProdComplexUnsigned(b1, b2)); in testDotProd() 455 expectEquals(results[4], testDotProdComplexUnsignedCastedToSigned(b1, b2)); in testDotProd() 456 expectEquals(results[5], testDotProdComplexSignedCastedToUnsigned(b1, b2)); in testDotProd() 457 expectEquals(results[6], testDotProdSignedWidening(b1, b2)); in testDotProd() 458 expectEquals(results[7], testDotProdParamSigned(-128, b2)); in testDotProd() 459 expectEquals(results[8], testDotProdParamUnsigned(-128, b2)); in testDotProd() [all …]
|
D | TestCharShort.java | 478 private static void testDotProd(short[] s1, short[] s2, char[] c1, char[] c2, int[] results) { in testDotProd() argument 479 expectEquals(results[0], testDotProdSimple(s1, s2)); in testDotProd() 480 expectEquals(results[1], testDotProdComplex(s1, s2)); in testDotProd() 481 expectEquals(results[2], testDotProdSimpleUnsigned(c1, c2)); in testDotProd() 482 expectEquals(results[3], testDotProdComplexUnsigned(c1, c2)); in testDotProd() 483 expectEquals(results[4], testDotProdComplexUnsignedCastedToSigned(c1, c2)); in testDotProd() 484 expectEquals(results[5], testDotProdComplexSignedCastedToUnsigned(s1, s2)); in testDotProd() 485 expectEquals(results[6], testDotProdSignedToInt(s1, s2)); in testDotProd() 486 expectEquals(results[7], testDotProdParamSigned(-32768, s2)); in testDotProd() 487 expectEquals(results[8], testDotProdParamUnsigned(-32768, c2)); in testDotProd() [all …]
|
/art/test/626-const-class-linking/src/ |
D | Main.java | 124 final Object[] results = new Object[threads.length]; in testRacyLoader() local 136 results[my_index] = get.invoke(null); in testRacyLoader() 138 results[my_index] = ite.getCause(); in testRacyLoader() 140 results[my_index] = t; in testRacyLoader() 150 dumpResultStats(results, 1); in testRacyLoader() 158 final Object[] results = new Object[threads.length]; in testRacyLoader2() local 173 results[my_index] = get.invoke(null); in testRacyLoader2() 175 results[my_index] = ite.getCause(); in testRacyLoader2() 177 results[my_index] = t; in testRacyLoader2() 187 dumpResultStats(results, 2); in testRacyLoader2() [all …]
|
/art/test/1995-final-virtual-structural-multithread/src/art/ |
D | Test1995.java | 112 this.results = new ArrayList<>(TASK_COUNT_LIMIT); in MyThread() 119 while (!finish && results.size() < TASK_COUNT_LIMIT) { in run() 121 results.add(t.sayHi()); in run() 131 for (String s : results) { in Check() 140 public ArrayList<String> results; field in Test1995.MyThread
|
/art/test/2001-virtual-structural-multithread/src-art/art/ |
D | Test2001.java | 172 this.results = new ArrayList<>(TASK_COUNT_LIMIT); in MyThread() 179 while (!finish && results.size() < TASK_COUNT_LIMIT) { in run() 181 results.add(t.get()); in run() 191 for (String s : results) { in Check() 202 public ArrayList<String> results; field in Test2001.MyThread
|
/art/test/1987-structural-redefine-recursive-stack-scope/src/ |
D | Main.java | 64 Object[] results = new Object[max_depth]; in main() local 75 results[id] = NativeFieldScopeCheck(f, next).invokeExact(); in main() 83 System.out.println("Result at depth " + i + ": " + results[i]); in main()
|
/art/test/2005-pause-all-redefine-multithreaded/src/art/ |
D | Test2005.java | 111 this.results = new HashSet<>(); in MyThread() 120 results.add(t.sayHi()); in run() 130 for (String s : results) { in Check() 141 public HashSet<String> results; field in Test2005.MyThread
|
/art/test/1986-structural-redefine-multi-thread-stack-scope/src/ |
D | Main.java | 86 Object[] results = new Object[num_threads]; in main() local 107 results[id] = mh.invokeExact(); in main() 121 assertAllEquals(results, Transform.foo); in main()
|
/art/test/1971-multi-force-early-return/src/art/ |
D | Test1971.java | 103 final String[] results = new String[NUM_THREADS]; in run() local 114 synchronized(results) { in run() 115 results[idx] = s; in run() 178 System.out.println("Thread " + i + ": " + results[i]); in run()
|
/art/test/988-method-trace/src/art/ |
D | Test988.java | 242 private static List<Printable> results = new ArrayList<>(); 308 results.add(new MethodEntry(m, cnt - 1)); 319 results.add(new MethodThrownThrough(m, cnt)); 321 results.add(new MethodReturn(m, result, cnt)); 381 for (Printable p : results) { 389 results.add(new FibResult("fibonacci(%d)=%d\n", x, y)); 391 results.add(new FibThrow("fibonacci(%d) -> %s\n", x, t));
|
/art/test/565-checker-condition-liveness/ |
D | info.txt | 1 Test the results of liveness analysis e.g. use positions of inputs of non-materialized conditions.
|
/art/test/085-old-style-inner-class/ |
D | info.txt | 1 Test that the conversion of an old-style (pre-1.5) inner class results
|
/art/test/522-checker-regression-monitor-exit/src/ |
D | Main.java | 69 List<Future<Integer>> results = pool.invokeAll(queries); in main() local 73 int result = results.get(i).get(); in main()
|
/art/test/024-illegal-access/ |
D | info.txt | 1 Test that an attempt to access a private field results in a verification
|
/art/test/693-vdex-inmem-loader-evict/ |
D | info.txt | 1 Check that caching of verification results for InMemoryDexClassLoader obeys a cap on the number
|
/art/test/990-field-trace/src/art/ |
D | Test990.java | 137 private static List<Printable> results = new ArrayList<>(); 144 results.add(new FieldWrite(m, target, f, value)); 152 results.add(new FieldRead(m, target, f)); 228 for (Printable p : results) {
|
/art/test/692-vdex-inmem-loader/ |
D | info.txt | 1 Test that dex files loaded with InMemoryDexClassLoader get verified and the verification results
|
/art/openjdkjvmti/ |
D | ti_thread.h | 121 jvmtiError* results); 125 jvmtiError* results);
|
D | ti_thread.cc | 1032 jvmtiError* results) { in SuspendThreadList() argument 1035 } else if (results == nullptr || threads == nullptr) { in SuspendThreadList() 1046 results[i] = env->SuspendThread(threads[i]); in SuspendThreadList() 1053 results[first_current_thread_index] = res; in SuspendThreadList() 1057 results[*it] = other_results; in SuspendThreadList() 1066 jvmtiError* results) { in ResumeThreadList() argument 1069 } else if (results == nullptr || threads == nullptr) { in ResumeThreadList() 1073 results[i] = env->ResumeThread(threads[i]); in ResumeThreadList()
|
/art/libdexfile/dex/ |
D | art_dex_file_loader_test.cc | 141 static const Result results[] = { in TEST_F() local 198 ASSERT_EQ(arraysize(results), accessor.NumVirtualMethods()); in TEST_F() 199 for (const Result& r : results) { in TEST_F()
|
/art/test/708-jit-cache-churn/src/ |
D | JitCacheChurnTest.java | 82 List<Future<Integer>> results = executorService.invokeAll(tasks); in runTasks() local 83 for (Future<?> result : results) { in runTasks()
|