Home
last modified time | relevance | path

Searched refs:MutableHandle (Results 1 – 25 of 46) sorted by relevance

12

/art/runtime/
Dhandle_wrapper.h28 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()
Dhandle.h116 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
Dhandle_scope.h35 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)
Dhandle_scope-inl.h88 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()
Dimtable_test.cc49 MutableHandle<mirror::ClassLoader> h_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in LoadClasses()
Dhandle_scope_test.cc36 static_assert(std::is_trivially_copyable<MutableHandle<mirror::Object>>::value,
Dmodule_exclusion_test.cc57 MutableHandle<mirror::DexCache> dex_cache = hs.NewHandle<mirror::DexCache>(nullptr); in DoTest()
Dinstrumentation.h41 template <typename T> class MutableHandle; variable
166 bool PopFramesTo(uint32_t desired_pops, /*in-out*/MutableHandle<mirror::Throwable>& exception)
Dclass_loader_context.cc718 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()
Dcommon_runtime_test.cc359 MutableHandle<mirror::Object> h(handle_scope->NewHandle<mirror::Object>( in FillHeap()
Dclass_linker.cc2021 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 …]
Dquick_exception_handler.cc198 MutableHandle<mirror::Throwable> exception_ref(hs.NewHandle(exception)); in FindCatch()
Dinstrumentation.cc113 MutableHandle<mirror::Throwable>& exception) { in PopFramesTo()
1498 MutableHandle<mirror::Object> res(hs.NewHandle<mirror::Object>(nullptr)); in PopInstrumentationStackFrame()
/art/compiler/optimizing/
Dreference_type_propagation.h67 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/
Djava_lang_reflect_Executable.cc169 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()
Djava_lang_invoke_MethodHandleImpl.cc47 MutableHandle<mirror::Object> h_object(hs.NewHandle<mirror::Object>(nullptr)); in MethodHandleImpl_getMemberInternal()
/art/runtime/gc/space/
Dspace_create_test.cc102 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/
Dvdex_inmem_loader.cc54 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/
Ddex_file_annotations.h68 /*out*/ MutableHandle<mirror::ObjectArray<mirror::String>>* names,
69 /*out*/ MutableHandle<mirror::IntArray>* access_flags) REQUIRES_SHARED(Locks::mutator_lock_);
/art/runtime/mirror/
Dobject_test.cc158 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()
Darray.cc101 MutableHandle<mirror::Class> array_class( in CreateMultiArray()
/art/tools/art_verifier/
Dart_verifier.cc220 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in ExecuteWithRuntime()
/art/runtime/jdwp/
Djdwp_event.cc129 MutableHandle<mirror::Class> locationClass; /* ClassOnly */
130 MutableHandle<mirror::Class> exceptionClass; /* ExceptionOnly */
133 MutableHandle<mirror::Object> thisPtr; /* InstanceOnly */
/art/runtime/verifier/
Dverifier_deps.cc951 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/
Dcompiler_driver.cc678 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()

12