/art/runtime/gc/ |
D | reference_queue_test.cc | 48 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 50 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 87 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() 89 auto ref2(hs.NewHandle(finalizer_ref_class->AllocObject(self)->AsReference())); in TEST_F()
|
/art/runtime/mirror/ |
D | method.cc | 31 ObjPtr<Method> ret = ObjPtr<Method>::DownCast(GetClassRoot<Method>()->AllocObject(self)); in CreateFromArtMethod() 47 ObjPtr<Constructor>::DownCast(GetClassRoot<Constructor>()->AllocObject(self)); in CreateFromArtMethod()
|
D | method_handles_lookup.cc | 37 GetClassRoot<MethodHandlesLookup>()->AllocObject(self)); in Create()
|
D | stack_trace_element.cc | 36 ObjPtr<StackTraceElement>::DownCast(GetClassRoot<StackTraceElement>()->AllocObject(self)); in Alloc()
|
D | class-alloc-inl.h | 77 inline ObjPtr<Object> Class::AllocObject(Thread* self) { in AllocObject() function
|
D | method_handle_impl.cc | 52 GetClassRoot<MethodHandleImpl>()->AllocObject(self)))); in Create()
|
D | field.cc | 77 auto ret = hs.NewHandle(ObjPtr<Field>::DownCast(GetClassRoot<Field>()->AllocObject(self))); in CreateFromArtField()
|
D | class_ext.cc | 118 return ObjPtr<ClassExt>::DownCast(GetClassRoot<ClassExt>()->AllocObject(self)); in Alloc()
|
D | emulated_stack_frame.cc | 187 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
|
D | object.cc | 166 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone()
|
/art/runtime/jni/ |
D | local_reference_table_test.cc | 74 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest() 76 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest() 78 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest() 80 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicTest() 309 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest() 311 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest() 313 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest() 315 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest() 317 Handle<mirror::Object> obj4 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicHolesTest() 520 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in BasicResizeTest() [all …]
|
D | jni_internal_test.cc | 676 TEST_F(JniInternalTest, AllocObject) { in TEST_F() argument 679 jobject o = env_->AllocObject(c); in TEST_F() 1005 jstring s = reinterpret_cast<jstring>(env_->AllocObject(c)); in TEST_F() 1993 jobject o = env_->AllocObject(c); \ 2064 jobject o = env_->AllocObject(c); \ 2332 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F() 2440 jobject object = env_->AllocObject(object_class); in TEST_F() 2555 jobject object = env_->AllocObject(object_class); in TEST_F()
|
/art/runtime/ |
D | indirect_reference_table_test.cc | 71 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 73 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 75 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 77 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
|
D | handle_scope_test.cc | 107 inner.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 112 ObjPtr<mirror::Object> o = c->AllocObject(soa.Self()); in TEST_F()
|
D | art_method-alloc-inl.h | 55 MutableHandle<mirror::Object> new_object = hs.NewHandle(GetDeclaringClass()->AllocObject(self));
|
D | transaction_test.cc | 104 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() 233 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 279 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 333 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 508 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F()
|
D | class_table_test.cc | 87 Handle<mirror::Object> obj_X = hs.NewHandle(h_X->AllocObject(soa.Self())); in TEST_F()
|
D | reference_table_test.cc | 66 h_ref_class->AllocObject(self))); in CreateWeakReference()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 646 jstring s1 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 648 jstring s2 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 650 jstring s3 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 652 jstring s4 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 671 jstring s5 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject() 674 jstring s6 = reinterpret_cast<jstring>(env->AllocObject(c)); in Java_Main_testNewStringObject()
|
/art/runtime/interpreter/ |
D | unstarted_runtime_test.h | 95 hs.NewHandle(boot_cp_class->AllocObject(self)->AsClassLoader()); in GetBootClassLoader()
|
/art/runtime/native/ |
D | java_lang_reflect_Constructor.cc | 111 movable ? c->AllocObject(soa.Self()) : c->AllocNonMovableObject(soa.Self()); in Constructor_newInstance0()
|
/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/test/1919-vminit-thread-start-timing/ |
D | vminit.cc | 89 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CreateAgentThread()
|
/art/runtime/arch/ |
D | stub_test.cc | 707 Handle<mirror::Object> obj(hs.NewHandle(klass_obj->AllocObject(soa.Self()))); in TEST_F() 710 Handle<mirror::Object> array_list(hs.NewHandle(klass_array_list->AllocObject(soa.Self()))); in TEST_F() 783 TEST_F(StubTest, AllocObject) { in TEST_F() argument 877 Handle<mirror::Object> h = hsp->NewHandle(c->AllocObject(soa.Self())); in TEST_F() 1555 jobject o = env->AllocObject(jc); in TestFields() 1937 Handle<mirror::Object> obj(hs.NewHandle(c->AllocObject(soa.Self()))); in TEST_F()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 242 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CbVmInit()
|