Home
last modified time | relevance | path

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

123

/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.h142 class MutableHandle : public Handle<T> {
144 MutableHandle() { in MutableHandle() function
147 ALWAYS_INLINE MutableHandle(const MutableHandle<T>& handle)
150 ALWAYS_INLINE MutableHandle<T>& operator=(const MutableHandle<T>& handle)
153 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() function
174 explicit MutableHandle(const MutableHandle<S>& handle) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() function
179 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()
247 MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_);
250 MutableHandle<MirrorType> NewHandle(ObjPtr<MirrorType> ptr)
Dhandle_scope-inl.h90 inline MutableHandle<mirror::Object> HandleScope::GetMutableHandle(size_t i) { in GetMutableHandle()
92 return MutableHandle<mirror::Object>(&GetReferences()[i]); in GetMutableHandle()
122 inline MutableHandle<T> FixedSizeHandleScope<kNumReferences>::NewHandle(T* object) { in NewHandle()
127 inline MutableHandle<MirrorType> FixedSizeHandleScope<kNumReferences>::NewHandle( in NewHandle()
130 MutableHandle<MirrorType> h(GetHandle<MirrorType>(pos_)); in NewHandle()
200 inline 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,
Dinstrumentation.h43 template <typename T> class MutableHandle; variable
88 MutableHandle<mirror::Object>& return_value)
175 bool PopFramesTo(uintptr_t stack_pointer, /*in-out*/MutableHandle<mirror::Throwable>& exception)
Dmodule_exclusion_test.cc59 MutableHandle<mirror::DexCache> dex_cache = hs.NewHandle<mirror::DexCache>(nullptr); in DoTest()
Dinstrumentation.cc66 MutableHandle<mirror::Object>& return_value) { in MethodExited()
121 MutableHandle<mirror::Throwable>& exception) { in PopFramesTo()
1224 MutableHandle<mirror::Object>& return_value) const { in MethodExitEventImpl()
1255 MutableHandle<mirror::Object> ret(hs.NewHandle(return_value.GetL())); in MethodExitEventImpl()
1553 MutableHandle<mirror::Object> res(hs.NewHandle<mirror::Object>(nullptr)); in PopInstrumentationStackFrame()
Dclass_loader_context.cc794 MutableHandle<mirror::ObjectArray<mirror::ClassLoader>> libraries( in CreateClassLoaderInternal()
817 MutableHandle<mirror::ClassLoader> parent = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateClassLoaderInternal()
1159 MutableHandle<mirror::ClassLoader> temp_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateInfoFromClassLoader()
/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/gc/
Dallocation_listener.h58 MutableHandle<mirror::Class> type ATTRIBUTE_UNUSED, in PreObjectAllocated()
/art/openjdkjvmti/
Dalloc_manager.h44 template <typename T> class MutableHandle; variable
65 art::MutableHandle<art::mirror::Class> type,
Dalloc_manager.cc100 art::MutableHandle<art::mirror::Class> type, in PreObjectAllocated()
/art/runtime/native/
Djava_lang_invoke_MethodHandleImpl.cc47 MutableHandle<mirror::Object> h_object(hs.NewHandle<mirror::Object>(nullptr)); in MethodHandleImpl_getMemberInternal()
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()
/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/
Darray.cc101 MutableHandle<mirror::Class> array_class( in CreateMultiArray()
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()
367 MutableHandle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1))); in TEST_F()
369 MutableHandle<Array> multi = hs.NewHandle(Array::CreateMultiArray(soa.Self(), int_class, dims)); in TEST_F()
Dclass_ext-inl.h49 MutableHandle<Object> new_arr(hs.NewHandle<Object>(nullptr)); in EnsureJniIdsArrayPresent()
/art/tools/art_verifier/
Dart_verifier.cc220 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in ExecuteWithRuntime()
/art/tools/tracefast-plugin/
Dtracefast.cc57 art::MutableHandle<art::mirror::Object>& return_value ATTRIBUTE_UNUSED) in MethodExited()
/art/runtime/verifier/
Dverifier_deps.cc964 MutableHandle<mirror::Class> source(hs.NewHandle<mirror::Class>(nullptr)); in VerifyAssignability()
965 MutableHandle<mirror::Class> destination(hs.NewHandle<mirror::Class>(nullptr)); in VerifyAssignability()
1002 MutableHandle<mirror::Class> cls(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClasses()

123