/art/runtime/gc/ |
D | reference_queue_test.cc | 43 auto ref1(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 45 auto ref2(hs.NewHandle(ref_class->AllocObject(self)->AsReference())); in TEST_F() 82 auto ref1(hs.NewHandle(weak_ref_class->AllocObject(self)->AsReference())); in TEST_F() 84 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 | 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_handles_lookup.cc | 38 GetClassRoot<MethodHandlesLookup>()->AllocObject(self)); in Create()
|
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 | method_type.cc | 44 hs.NewHandle(ObjPtr<MethodType>::DownCast(GetClassRoot<MethodType>()->AllocObject(self)))); in Create()
|
D | object.cc | 162 ? heap->AllocObject(self, h_this->GetClass(), num_bytes, visitor) in Clone()
|
D | emulated_stack_frame.cc | 198 ObjPtr<EmulatedStackFrame>::DownCast(GetClassRoot<EmulatedStackFrame>()->AllocObject(self)))); in CreateFromShadowFrameAndArgs()
|
/art/runtime/ |
D | indirect_reference_table_test.cc | 68 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 70 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 72 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 74 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 285 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 287 Handle<mirror::Object> obj1 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 289 Handle<mirror::Object> obj2 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 291 Handle<mirror::Object> obj3 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 293 Handle<mirror::Object> obj4 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 495 Handle<mirror::Object> obj0 = hs.NewHandle(c->AllocObject(soa.Self())); in TEST_F()
|
D | handle_scope_test.cc | 100 inner.NewHandle(c->AllocObject(soa.Self())); in TEST_F() 106 ObjPtr<mirror::Object> o = c->AllocObject(soa.Self()); in TEST_F()
|
D | transaction_test.cc | 105 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 120 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 234 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 280 Handle<mirror::Object> h_instance(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 334 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 457 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 | 61 h_ref_class->AllocObject(self))); in CreateWeakReference()
|
D | runtime_callbacks_test.cc | 178 ScopedLocalRef<jobject> thread(env, env->AllocObject(WellKnownClasses::java_lang_Thread)); in TEST_F()
|
/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/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 | 227 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/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() 1556 jobject o = env->AllocObject(jc); in TestFields() 1936 Handle<mirror::Object> obj(hs.NewHandle(c->AllocObject(soa.Self()))); in TEST_F()
|
/art/tools/jvmti-agents/simple-force-redefine/ |
D | forceredefine.cc | 244 ScopedLocalRef<jobject> thread(env, env->AllocObject(thread_klass.get())); in CbVmInit()
|
/art/runtime/jni/ |
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() 1979 jobject o = env_->AllocObject(c); \ 2050 jobject o = env_->AllocObject(c); \ 2318 jthrowable exception = reinterpret_cast<jthrowable>(env_->AllocObject(exception_class)); in TEST_F() 2426 jobject object = env_->AllocObject(object_class); in TEST_F() 2541 jobject object = env_->AllocObject(object_class); in TEST_F()
|