Searched refs:tc (Results 1 – 7 of 7) sorted by relevance
/art/test/1909-per-agent-tls/src/art/ |
D | Test1909.java | 87 ThreadHolder tc = new ThreadHolder(Thread.currentThread()); in run() local 93 checkEq(0, tc.getTLS(e1)); in run() 95 checkEq(0, tc.getTLS(e2)); in run() 99 tc.setTLS(e1, 1); in run() 100 checkEq(1, tc.getTLS(e1)); in run() 102 checkEq(0, tc.getTLS(e2)); in run() 107 checkEq(1, tc.getTLS(e1)); in run() 109 checkEq(0, tc.getTLS(e2)); in run() 113 tc.setTLS(e2, 3); in run() 114 checkEq(1, tc.getTLS(e1)); in run() [all …]
|
/art/test/800-smali/src/ |
D | Main.java | 201 for (TestCase tc : testCases) { in runTests() 202 System.out.println(tc.testName); in runTests() 204 runTest(tc); in runTests() 211 private void runTest(TestCase tc) throws Exception { in runTest() argument 214 Class<?> c = Class.forName(tc.testClass); in runTest() 222 if (m.getName().equals(tc.testMethodName)) { in runTest() 230 tc.testMethodName + " in class " + in runTest() 231 tc.testClass + " for test " + in runTest() 232 tc.testName); in runTest() 236 retValue = method.invoke(null, tc.values); in runTest() [all …]
|
/art/test/530-checker-loops2/src/ |
D | Main.java | 53 private static int periodicIdiom(int tc) { in periodicIdiom() argument 58 for (int i = 0; i < tc; i++) { in periodicIdiom() 71 private static int periodicSequence2(int tc) { in periodicSequence2() argument 77 for (int i = 0; i < tc; i++) { in periodicSequence2() 95 private static int periodicSequence4(int tc) { in periodicSequence4() argument 103 for (int i = 0; i < tc; i++) { in periodicSequence4() 120 private static int periodicXorSequence(int tc) { in periodicXorSequence() argument 125 for (int i = 0; i < tc; i++) { in periodicXorSequence() 934 for (int tc = 0; tc < 32; tc++) { in main() 935 int expected = (tc >> 1) << 2; in main() [all …]
|
/art/test/618-checker-induction/src/ |
D | Main.java | 872 int tc = (n <= 0) ? 0 : n; in main() local 873 expectEquals(12345 + tc * 5, closedFormInductionUpN(n)); in main() 874 expectEquals(12345 - tc * 5, closedFormInductionInAndDownN(12345, n)); in main() 875 expectEquals(tc * 10, closedFormNestedN(n)); in main() 876 expectEquals(12345 + tc * 23 * 7, closedFormNestedNAlt(n)); in main() 877 expectEquals(tc * (tc + 1), closedFormNestedMN(n, n + 1)); in main() 878 expectEquals(12345 + tc * (tc + 1) * 7, closedFormNestedMNAlt(n, n + 1)); in main() 887 int tc = (n <= 0) ? 0 : n; in main() local 888 expectEquals(tc, mainIndexReturnedN(n)); in main() 889 expectEquals(tc, mainIndexShort1((short) n)); in main() [all …]
|
/art/test/164-resolution-trampoline-dex-cache/src/ |
D | Main.java | 34 Class<?> tc = Class.forName("MostDerived", true, mainLoader); in main() local 35 Method m = tc.getDeclaredMethod("test", Class.class); in main()
|
/art/compiler/optimizing/ |
D | induction_var_range_test.cc | 162 HInductionVarAnalysis::InductionInfo* CreateTripCount(int32_t tc, bool in_loop, bool safe) { in CreateTripCount() argument 173 CreateConst(tc), in CreateTripCount() 174 CreateInvariant('<', CreateConst(0), CreateConst(tc)), in CreateTripCount() 794 int64_t tc = 0; in TEST_F() local 795 EXPECT_TRUE(range_.IsFinite(loop_header_->GetLoopInformation(), &tc)); in TEST_F() 796 EXPECT_EQ(1000, tc); in TEST_F() 850 int64_t tc = 0; in TEST_F() local 851 EXPECT_TRUE(range_.IsFinite(loop_header_->GetLoopInformation(), &tc)); in TEST_F() 852 EXPECT_EQ(1000, tc); in TEST_F() 932 int64_t tc = 0; in TEST_F() local [all …]
|
/art/test/161-final-abstract-class/smali/ |
D | Main.smali | 21 # Class<?> tc = Class.forName("TestClass"); 22 # Method test = tc.getDeclaredMethod("test");
|