/art/runtime/gc/ |
D | reference_queue_test.cc | 42 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 44 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 81 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() 83 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
|
D | heap-inl.h | 129 return AllocObject</*kInstrumented*/true>(self, in AllocObjectWithAllocator()
|
/art/runtime/ |
D | indirect_reference_table_test.cc | 66 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 68 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 70 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 72 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 284 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 286 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 288 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 290 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 292 Handle<mirror::Object> obj4 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 493 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
|
D | handle_scope_test.cc | 99 inner.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 105 ObjPtr<mirror::Object> o = c->AllocObject(soa.Self()); in TEST_F()
|
D | transaction_test.cc | 102 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 119 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 236 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 284 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 338 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 455 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
|
D | class_table_test.cc | 82 Handle<mirror::Object> obj_X = hs.NewHandle(h_X->AllocObject(soa.Self())); in TEST_F()
|
D | reference_table_test.cc | 56 h_ref_class->AllocObject(self))); in CreateWeakReference()
|
D | jni_internal_test.cc | 676 TEST_F(JniInternalTest, AllocObject) { in TEST_F() argument 679 jobject o = env_->AllocObject(c); in TEST_F() 938 jstring s = reinterpret_cast<jstring>(env_->AllocObject(c)); in TEST_F() 1795 jobject o = env_->AllocObject(c); in TEST_F() 1824 jobject o = env_->AllocObject(c); in TEST_F() 2099 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F() 2188 jobject object = env_->AllocObject(object_class); in TEST_F() 2303 jobject object = env_->AllocObject(object_class); in TEST_F()
|
D | monitor_test.cc | 97 MutableHandle<mirror::Object> h = (*hsp)->NewHandle<mirror::Object>(c->AllocObject(self)); in FillHeap()
|
D | runtime_callbacks_test.cc | 160 ScopedLocalRef<jobject> thread(env, env->AllocObject(WellKnownClasses::java_lang_Thread)); in TEST_F()
|
/art/runtime/mirror/ |
D | call_site.cc | 30 hs.NewHandle(ObjPtr<CallSite>::DownCast(StaticClass()->AllocObject(self)))); in Create()
|
D | method.cc | 57 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(StaticClass()->AllocObject(self)); in CreateFromArtMethod() 109 ObjPtr<Constructor> ret = ObjPtr<Constructor>::DownCast(StaticClass()->AllocObject(self)); in CreateFromArtMethod()
|
D | stack_trace_element.cc | 49 ObjPtr<StackTraceElement>::DownCast(GetStackTraceElement()->AllocObject(self)); in Alloc()
|
D | method_handle_impl.cc | 71 hs.NewHandle(ObjPtr<MethodHandleImpl>::DownCast(StaticClass()->AllocObject(self)))); in Create()
|
D | field-inl.h | 50 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(StaticClass()->AllocObject(self))); in CreateFromArtField()
|
D | method_handles_lookup.cc | 54 hs.NewHandle(ObjPtr<MethodHandlesLookup>::DownCast(StaticClass()->AllocObject(self)))); in Create()
|
D | class_ext.cc | 106 return down_cast<ClassExt*>(dalvik_system_ClassExt_.Read()->AllocObject(self).Ptr()); in Alloc()
|
D | method_type.cc | 33 hs.NewHandle(ObjPtr<MethodType>::DownCast(StaticClass()->AllocObject(self)))); in Create()
|
D | object.cc | 162 copy = heap->AllocObject<true>(self, GetClass(), num_bytes, visitor); in Clone()
|
D | emulated_stack_frame.cc | 197 ObjPtr<EmulatedStackFrame>::DownCast(StaticClass()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 606 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 608 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 610 jstring s3 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 612 jstring s4 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 631 jstring s5 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 634 jstring s6 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
|
/art/runtime/native/ |
D | java_lang_reflect_Constructor.cc | 112 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self()); in Constructor_newInstance0()
|
D | java_lang_reflect_Executable.cc | 158 parameter.Assign(parameter_class->AllocObject(self)); in Executable_getParameters0()
|
/art/test/931-agent-thread/ |
D | agent_thread.cc | 104 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in Java_art_Test931_testAgentThread()
|
/art/runtime/arch/ |
D | stub_test.cc | 836 Handle<mirror::Object> obj(hs.NewHandle(klass_obj->AllocObject(soa.Self()))); in TEST_F() 839 Handle<mirror::Object> array_list(hs.NewHandle(klass_array_list->AllocObject(soa.Self()))); in TEST_F() 912 TEST_F(StubTest, AllocObject) { in TEST_F() argument 1006 Handle<mirror::Object> h = hsp->NewHandle(c->AllocObject(soa.Self())); in TEST_F() 1680 jobject o = env->AllocObject(jc); in TestFields() 2060 Handle<mirror::Object> obj(hs.NewHandle(c->AllocObject(soa.Self()))); in TEST_F()
|