/art/runtime/ |
D | handle_wrapper.h | 28 class HandleWrapper : public MutableHandle<T> { 30 HandleWrapper(T** obj, const MutableHandle<T>& handle) in HandleWrapper() 31 : MutableHandle<T>(handle), obj_(obj) { in HandleWrapper() 37 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapper() 48 class HandleWrapperObjPtr : public MutableHandle<T> { 50 HandleWrapperObjPtr(ObjPtr<T>* obj, const MutableHandle<T>& handle) in HandleWrapperObjPtr() 51 : MutableHandle<T>(handle), obj_(obj) {} in HandleWrapperObjPtr() 56 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapperObjPtr()
|
D | handle.h | 116 class MutableHandle : public Handle<T> { 118 MutableHandle() { in MutableHandle() function 121 ALWAYS_INLINE MutableHandle(const MutableHandle<T>& handle) 124 ALWAYS_INLINE MutableHandle<T>& operator=(const MutableHandle<T>& handle) 127 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() function 148 explicit MutableHandle(const MutableHandle<S>& handle) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() function 153 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() function
|
D | handle_scope.h | 35 template<class T> class MutableHandle; variable 113 ALWAYS_INLINE MutableHandle<mirror::Object> GetMutableHandle(size_t i) 176 ALWAYS_INLINE MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_); 187 ALWAYS_INLINE MutableHandle<MirrorType> NewHandle(ObjPtr<MirrorType> object) 203 ALWAYS_INLINE MutableHandle<T> GetHandle(size_t i) REQUIRES_SHARED(Locks::mutator_lock_) { in GetHandle() 205 return MutableHandle<T>(&GetReferences()[i]); in GetHandle() 246 MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_); 249 MutableHandle<MirrorType> NewHandle(ObjPtr<MirrorType> ptr)
|
D | handle_scope-inl.h | 88 inline MutableHandle<mirror::Object> HandleScope::GetMutableHandle(size_t i) { in GetMutableHandle() 90 return MutableHandle<mirror::Object>(&GetReferences()[i]); in GetMutableHandle() 120 inline MutableHandle<T> FixedSizeHandleScope<kNumReferences>::NewHandle(T* object) { in NewHandle() 122 MutableHandle<T> h(GetHandle<T>(pos_)); in NewHandle() 128 inline MutableHandle<MirrorType> FixedSizeHandleScope<kNumReferences>::NewHandle( in NewHandle() 197 MutableHandle<T> VariableSizedHandleScope::NewHandle(T* object) { in NewHandle() 205 inline MutableHandle<MirrorType> VariableSizedHandleScope::NewHandle(ObjPtr<MirrorType> ptr) { in NewHandle()
|
D | imtable_test.cc | 49 MutableHandle<mirror::ClassLoader> h_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in LoadClasses()
|
D | handle_scope_test.cc | 36 static_assert(std::is_trivially_copyable<MutableHandle<mirror::Object>>::value,
|
D | module_exclusion_test.cc | 57 MutableHandle<mirror::DexCache> dex_cache = hs.NewHandle<mirror::DexCache>(nullptr); in DoTest()
|
D | instrumentation.h | 41 template <typename T> class MutableHandle; variable 166 bool PopFramesTo(uint32_t desired_pops, /*in-out*/MutableHandle<mirror::Throwable>& exception)
|
D | class_loader_context.cc | 718 MutableHandle<mirror::ObjectArray<mirror::ClassLoader>> libraries( in CreateClassLoaderInternal() 741 MutableHandle<mirror::ClassLoader> parent = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateClassLoaderInternal() 1087 MutableHandle<mirror::ClassLoader> temp_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateInfoFromClassLoader()
|
D | common_runtime_test.cc | 359 MutableHandle<mirror::Object> h(handle_scope->NewHandle<mirror::Object>( in FillHeap()
|
D | class_linker.cc | 2021 MutableHandle<mirror::ClassLoader> image_class_loader(hs.NewHandle( in AddImageSpace() 2711 MutableHandle<mirror::ClassLoader> temp_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in FindClassInSharedLibraries() 3235 MutableHandle<mirror::Class> h_new_class = hs.NewHandle<mirror::Class>(nullptr); in DefineClass() 4124 MutableHandle<mirror::Class> component_type(hs.NewHandle(FindClass(self, descriptor + 1, in CreateArrayClass() 4556 MutableHandle<mirror::Class> supertype(hs.NewHandle(klass->GetSuperClass())); in VerifyClass() 4576 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClass() 4853 MutableHandle<mirror::Class> temp_klass(hs.NewHandle( in CreateProxyClass() 4946 MutableHandle<mirror::Class> klass = hs.NewHandle<mirror::Class>(nullptr); in CreateProxyClass() 5296 MutableHandle<mirror::Class> handle_scope_iface(hs_iface.NewHandle<mirror::Class>(nullptr)); in InitializeClass() 5440 MutableHandle<mirror::Class> handle_super_iface(hs.NewHandle<mirror::Class>(nullptr)); in InitializeDefaultInterfaceRecursive() [all …]
|
D | quick_exception_handler.cc | 198 MutableHandle<mirror::Throwable> exception_ref(hs.NewHandle(exception)); in FindCatch()
|
D | instrumentation.cc | 113 MutableHandle<mirror::Throwable>& exception) { in PopFramesTo() 1498 MutableHandle<mirror::Object> res(hs.NewHandle<mirror::Object>(nullptr)); in PopInstrumentationStackFrame()
|
/art/compiler/optimizing/ |
D | reference_type_propagation.h | 67 MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_) { in NewHandle() 72 MutableHandle<T> NewHandle(ObjPtr<T> object) REQUIRES_SHARED(Locks::mutator_lock_) { in NewHandle()
|
/art/runtime/native/ |
D | java_lang_reflect_Executable.cc | 169 MutableHandle<mirror::ObjectArray<mirror::String>> names = in Executable_getParameters0() 171 MutableHandle<mirror::IntArray> access_flags = hs.NewHandle<mirror::IntArray>(nullptr); in Executable_getParameters0() 218 MutableHandle<mirror::String> name = hs.NewHandle<mirror::String>(nullptr); in Executable_getParameters0() 219 MutableHandle<mirror::Object> parameter = hs.NewHandle<mirror::Object>(nullptr); in Executable_getParameters0() 362 MutableHandle<mirror::Class> param(hs.NewHandle<mirror::Class>(nullptr)); in Executable_getParameterTypesInternal()
|
D | java_lang_invoke_MethodHandleImpl.cc | 47 MutableHandle<mirror::Object> h_object(hs.NewHandle<mirror::Object>(nullptr)); in MethodHandleImpl_getMemberInternal()
|
/art/runtime/gc/space/ |
D | space_create_test.cc | 102 MutableHandle<mirror::Object> ptr1(hs.NewHandle(Alloc(space, in TEST_P() 120 MutableHandle<mirror::Object> ptr3(hs.NewHandle(AllocWithGrowth(space, in TEST_P() 236 MutableHandle<mirror::Object> ptr1(hs.NewHandle(Alloc(space, in TEST_P() 254 MutableHandle<mirror::Object> ptr3(hs.NewHandle(AllocWithGrowth(space, in TEST_P()
|
/art/test/692-vdex-inmem-loader/ |
D | vdex_inmem_loader.cc | 54 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesVerified() 148 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesPreverified()
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 68 /*out*/ MutableHandle<mirror::ObjectArray<mirror::String>>* names, 69 /*out*/ MutableHandle<mirror::IntArray>* access_flags) REQUIRES_SHARED(Locks::mutator_lock_);
|
/art/runtime/mirror/ |
D | object_test.cc | 158 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F() 160 MutableHandle<Array> a = hs.NewHandle( in TEST_F() 179 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[B")); in TEST_F() 181 MutableHandle<Array> a = hs.NewHandle( in TEST_F() 324 MutableHandle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1))); in TEST_F() 326 MutableHandle<Array> multi = hs.NewHandle(Array::CreateMultiArray(soa.Self(), int_class, dims)); in TEST_F()
|
D | array.cc | 101 MutableHandle<mirror::Class> array_class( in CreateMultiArray()
|
/art/tools/art_verifier/ |
D | art_verifier.cc | 220 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in ExecuteWithRuntime()
|
/art/runtime/jdwp/ |
D | jdwp_event.cc | 129 MutableHandle<mirror::Class> locationClass; /* ClassOnly */ 130 MutableHandle<mirror::Class> exceptionClass; /* ExceptionOnly */ 133 MutableHandle<mirror::Object> thisPtr; /* InstanceOnly */
|
/art/runtime/verifier/ |
D | verifier_deps.cc | 951 MutableHandle<mirror::Class> source(hs.NewHandle<mirror::Class>(nullptr)); in VerifyAssignability() 952 MutableHandle<mirror::Class> destination(hs.NewHandle<mirror::Class>(nullptr)); in VerifyAssignability() 989 MutableHandle<mirror::Class> cls(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClasses()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 678 MutableHandle<mirror::DexCache> dex_cache(hs.NewHandle<mirror::DexCache>(nullptr)); in ResolveConstStrings() 798 MutableHandle<mirror::DexCache> dex_cache(hs.NewHandle<mirror::DexCache>(nullptr)); in InitializeTypeCheckBitstrings() 824 MutableHandle<mirror::Class> cls(hs.NewHandle<mirror::Class>(nullptr)); in EnsureVerifiedOrVerifyAtRuntime() 2355 MutableHandle<mirror::Class> super_klass(hs.NewHandle<mirror::Class>(klass->GetSuperClass())); in PreResolveTypes()
|