/art/test/911-get-stack-trace/src/art/ |
D | OtherThread.java | 26 Thread t = new Thread("OtherThread doTestOtherThreadWait") { in doTestOtherThreadWait() local 31 t.start(); in doTestOtherThreadWait() 37 PrintThread.print(t, 0, 25); in doTestOtherThreadWait() 38 PrintThread.print(t, 1, 25); in doTestOtherThreadWait() 39 PrintThread.print(t, 0, 7); in doTestOtherThreadWait() 40 PrintThread.print(t, 2, 7); in doTestOtherThreadWait() 41 PrintThread.print(t, 2, 1); in doTestOtherThreadWait() 44 PrintThread.print(t, -1, 25); in doTestOtherThreadWait() 45 PrintThread.print(t, -5, 5); in doTestOtherThreadWait() 46 PrintThread.print(t, -7, 5); in doTestOtherThreadWait() [all …]
|
D | Frames.java | 39 Thread t = Thread.currentThread(); in doTestSameThread() local 41 int count = getFrameCount(t); in doTestSameThread() 44 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestSameThread() 49 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestSameThread() 52 System.out.println(Arrays.toString(getFrameLocation(t, count))); in doTestSameThread() 64 Thread t = new Thread("Frames doTestOtherThreadWait") { in doTestOtherThreadWait() local 69 t.start(); in doTestOtherThreadWait() 74 int count = getFrameCount(t); in doTestOtherThreadWait() 77 System.out.println(Arrays.toString(getFrameLocation(t, -1))); in doTestOtherThreadWait() 82 System.out.println(Arrays.toString(getFrameLocation(t, i))); in doTestOtherThreadWait() [all …]
|
/art/test/680-sink-regression/src/ |
D | Main.java | 49 Main t = new Main(); in main() local 53 t.f = 0; in main() 55 x = t.doit(null); in main() 59 if (x != 1 || t.f != 0) { in main() 60 throw new Error("Main 1: x=" + x + " f=" + t.f); in main() 66 x = t.doit(n); in main() 70 if (x != -1 || t.f != 11) { in main() 71 throw new Error("Main 2: x=" + x + " f=" + t.f); in main() 77 x = t.doit(n); in main() 81 if (x != -1 || t.f != 1) { in main() [all …]
|
/art/test/597-deopt-busy-loop/src/ |
D | SimpleLoop.java | 29 for (int t = 0; t < threads.length; t++) { in main() 30 threads[t] = new Thread(new SimpleLoop(t)); in main() 31 threads[t].start(); in main() 33 for (Thread t : threads) { in main() 34 t.join(); in main()
|
D | SimdLoop.java | 32 for (int t = 0; t < threads.length; t++) { in main() 33 threads[t] = new Thread(new SimdLoop(t)); in main() 34 threads[t].start(); in main() 36 for (Thread t : threads) { in main() 37 t.join(); in main()
|
D | FloatLoop.java | 31 for (int t = 0; t < threads.length; t++) { in main() 32 threads[t] = new Thread(new FloatLoop(t)); in main() 33 threads[t].start(); in main() 35 for (Thread t : threads) { in main() 36 t.join(); in main()
|
/art/test/924-threads/src/art/ |
D | Test924.java | 35 Thread t = new Thread("TestThread") { in run() local 45 t.start(); in run() 46 t.join(); in run() 152 Thread t = mkThread.apply(r); in doStateTests() local 153 System.out.println("Thread type is " + t.getClass()); in doStateTests() 154 printThreadState(t); in doStateTests() 155 t.start(); in doStateTests() 162 waitForState(t, WAITING_INDEF); in doStateTests() 172 waitForState(t, WAITING_TIMED); in doStateTests() 185 } while (t.getState() != Thread.State.BLOCKED); in doStateTests() [all …]
|
/art/test/149-suspend-all-stress/src/ |
D | Main.java | 25 for (int t = 0; t < threads.length; t++) { in main() 26 threads[t] = new Thread(new Main()); in main() 27 threads[t].start(); in main() 29 for (Thread t : threads) { in main() 30 t.join(); in main()
|
/art/test/1928-exception-event-exception/src/art/ |
D | Test1928.java | 73 public BaseTestException(String e, Throwable t) { super(e, t); } in BaseTestException() argument 77 public TestException(String e, Throwable t) { super(e, t); } in TestException() argument 82 public TestExceptionNoRethrow(String e, Throwable t) { super(e, t); } in TestExceptionNoRethrow() argument 100 } catch (BaseTestException t) { in exceptionOccurred() 101 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in exceptionOccurred() 103 t.printStackTrace(System.out); in exceptionOccurred() 120 } catch (BaseTestException t) { in throwCatchBaseTestException() 121 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchBaseTestException() 123 t.printStackTrace(System.out); in throwCatchBaseTestException() 135 } catch (TestException t) { in throwCatchTestException() [all …]
|
/art/runtime/ |
D | intern_table_test.cc | 56 InternTable t; in TEST_F() local 57 EXPECT_EQ(0U, t.Size()); in TEST_F() 58 t.InternStrong(3, "foo"); in TEST_F() 62 t.InternWeak(foo.Get()); in TEST_F() 63 EXPECT_EQ(1U, t.Size()); in TEST_F() 64 t.InternStrong(3, "bar"); in TEST_F() 65 EXPECT_EQ(2U, t.Size()); in TEST_F() 75 InternTable t; in TEST_F() local 81 for (InternTable::Table::InternalTable& table : t.strong_interns_.tables_) { in TEST_F() 116 InternTable t; in TEST_F() local [all …]
|
/art/test/2003-double-virtual-structural/src/art/ |
D | Test2003.java | 116 public static void doTest(SubTransform t) { in doTest() argument 117 t.sayHi(); in doTest() 118 t.sayHi(); in doTest() 119 t.sayHi(); in doTest() 123 t.sayHi(); in doTest() 124 t.sayHi(); in doTest() 125 t.sayHi(); in doTest()
|
/art/test/004-UnsafeTest/src/ |
D | Main.java | 113 TestClass t = new TestClass(); in testGetAndPutAndCAS() local 118 check(unsafe.getInt(t, intOffset), 0, "Unsafe.getInt(Object, long) - initial"); in testGetAndPutAndCAS() 119 unsafe.putInt(t, intOffset, intValue); in testGetAndPutAndCAS() 120 check(t.intVar, intValue, "Unsafe.putInt(Object, long, int)"); in testGetAndPutAndCAS() 121 check(unsafe.getInt(t, intOffset), intValue, "Unsafe.getInt(Object, long)"); in testGetAndPutAndCAS() 126 check(unsafe.getLong(t, longOffset), 0, "Unsafe.getLong(Object, long) - initial"); in testGetAndPutAndCAS() 127 unsafe.putLong(t, longOffset, longValue); in testGetAndPutAndCAS() 128 check(t.longVar, longValue, "Unsafe.putLong(Object, long, long)"); in testGetAndPutAndCAS() 129 check(unsafe.getLong(t, longOffset), longValue, "Unsafe.getLong(Object, long)"); in testGetAndPutAndCAS() 134 check(unsafe.getObject(t, objectOffset), null, "Unsafe.getObject(Object, long) - initial"); in testGetAndPutAndCAS() [all …]
|
/art/test/597-deopt-invoke-stub/src/ |
D | Main.java | 36 for (int t = 0; t < threads.length; t++) { in main() 37 threads[t] = new Thread(new Main(t)); in main() 38 threads[t].start(); in main() 40 for (Thread t : threads) { in main() 41 t.join(); in main()
|
/art/test/597-deopt-new-string/src/ |
D | Main.java | 35 for (int t = 0; t < threads.length; t++) { in main() 36 threads[t] = new Thread(new Main(t)); in main() 37 threads[t].start(); in main() 39 for (Thread t : threads) { in main() 40 t.join(); in main()
|
/art/test/145-alloc-tracking-stress/src-art/ |
D | Main.java | 48 for (int t = 0; t < threads.length; t++) { in main() 49 threads[t] = new Thread(new Main(t)); in main() 50 threads[t].start(); in main() 52 for (Thread t : threads) { in main() 53 t.join(); in main()
|
/art/runtime/jni/ |
D | jni_id_manager.cc | 67 ObjPtr<mirror::PointerArray> GetIds(ObjPtr<mirror::Class> k, ArtType* t) in GetIds() argument 71 ret = t->IsStatic() ? k->GetStaticFieldIds() : k->GetInstanceFieldIds(); in GetIds() 73 ret = t->IsObsolete() ? nullptr : k->GetMethodIds(); in GetIds() 87 bool ShouldReturnPointer(ObjPtr<mirror::Class> klass, ArtType* t) 91 bool ShouldReturnPointer(ObjPtr<mirror::Class> klass, ArtMethod* t ATTRIBUTE_UNUSED) { in ShouldReturnPointer() 101 bool ShouldReturnPointer(ObjPtr<mirror::Class> klass, ArtField* t) { in ShouldReturnPointer() argument 106 ObjPtr<mirror::Object> arr = t->IsStatic() ? ext->GetStaticJFieldIDs() in ShouldReturnPointer() 115 bool EnsureIdsArray(Thread* self, ObjPtr<mirror::Class> k, ArtType* t) 163 size_t GetIdOffset(ObjPtr<mirror::Class> k, ArtType* t, PointerSize pointer_size) 176 std::string PrettyGeneric(ArtType t) REQUIRES_SHARED(Locks::mutator_lock_); [all …]
|
/art/test/ti-agent/ |
D | locals_helper.cc | 48 jthread t, in Java_art_Locals_SetLocalVariableObject() argument 52 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalObject(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableObject() 57 jthread t, in Java_art_Locals_SetLocalVariableDouble() argument 61 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalDouble(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableDouble() 66 jthread t, in Java_art_Locals_SetLocalVariableFloat() argument 70 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalFloat(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableFloat() 75 jthread t, in Java_art_Locals_SetLocalVariableLong() argument 79 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalLong(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableLong() 84 jthread t, in Java_art_Locals_SetLocalVariableInt() argument 88 JvmtiErrorToException(env, jvmti_env, jvmti_env->SetLocalInt(t, depth, slot, val)); in Java_art_Locals_SetLocalVariableInt() [all …]
|
/art/test/1929-exception-catch-exception/src/art/ |
D | Test1929.java | 77 public BaseTestException(String e, Throwable t) { super(e, t); } in BaseTestException() argument 81 public TestException(String e, Throwable t) { super(e, t); } in TestException() argument 86 public TestExceptionNoRethrow(String e, Throwable t) { super(e, t); } in TestExceptionNoRethrow() argument 102 } catch (BaseTestException t) { in exceptionOccurred() 103 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in exceptionOccurred() 105 t.printStackTrace(System.out); in exceptionOccurred() 140 } catch (BaseTestException t) { in throwCatchBaseTestException() 141 System.out.println("Caught " + t.getClass().getName() + ": \"" + t.getMessage() + "\""); in throwCatchBaseTestException() 143 t.printStackTrace(System.out); in throwCatchBaseTestException() 216 } catch (TestException t) { in throwCatchTestException() [all …]
|
/art/libdexfile/dex/ |
D | base64_test_util.h | 58 uint32_t t = 0, y = 0; in DecodeBase64() local 76 t = (t << 6) | c; in DecodeBase64() 78 tmp.push_back((t >> 16) & 255); in DecodeBase64() 80 tmp.push_back((t >> 8) & 255); in DecodeBase64() 83 tmp.push_back(t & 255); in DecodeBase64() 85 y = t = 0; in DecodeBase64()
|
/art/test/165-lock-owner-proxy/src/ |
D | Main.java | 37 for (int t = 0; t < threads.length; t++) { in main() 38 threads[t] = new Thread((t % 2 == 0) ? new ProxyRunner() : new SyncRunner()); in main() 40 for (Thread t : threads) { in main() 41 t.start(); in main() 45 for (Thread t : threads) { in main() 46 t.join(); in main()
|
/art/test/1951-monitor-enter-no-suspend/src/art/ |
D | Test1951.java | 30 Thread t = new Thread(Test1951::otherThreadStart); in run() local 31 t.setDaemon(true); in run() 32 t.start(); in run() 34 Suspension.suspend(t); in run() 48 Suspension.resume(t); in run() 50 t.join(1000); in run()
|
/art/test/1999-virtual-structural/src/art/ |
D | Test1999.java | 78 public static void doTest(SubTransform t) { in doTest() argument 79 t.sayHi(); in doTest() 80 t.sayHi(); in doTest() 81 t.sayHi(); in doTest() 83 t.sayHi(); in doTest()
|
/art/test/304-method-tracing/src/ |
D | Main.java | 36 for (Thread t : threads) { in main() 37 t.start(); in main() 40 for (Thread t : threads) { in main() 42 t.join(); in main() 44 System.out.println("Thread " + t.getName() + " has been interrupted"); in main()
|
/art/test/626-const-class-linking/src/ |
D | Main.java | 132 Thread t = new Thread() { in testRacyLoader() local 139 } catch (Throwable t) { in testRacyLoader() 140 results[my_index] = t; in testRacyLoader() 144 t.start(); in testRacyLoader() 145 threads[i] = t; in testRacyLoader() 147 for (Thread t : threads) { in testRacyLoader() 148 t.join(); in testRacyLoader() 168 Thread t = new Thread() { in testRacyLoader2() local 176 } catch (Throwable t) { in testRacyLoader2() 177 results[my_index] = t; in testRacyLoader2() [all …]
|
/art/test/044-proxy/src/ |
D | WrappedThrow.java | 49 } catch (Throwable t) { in main() 50 System.out.println("Got unexpected exception: " + t); in main() 58 } catch (Throwable t) { in main() 59 System.out.println("Got unexpected exception: " + t); in main() 67 } catch (Throwable t) { in main() 68 System.out.println("Got unexpected exception: " + t); in main() 79 } catch (Throwable t) { in main() 80 System.out.println("Got unexpected exception: " + t); in main() 88 } catch (Throwable t) { in main() 89 System.out.println("Got unexpected exception: " + t); in main() [all …]
|