Home
last modified time | relevance | path

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

123

/art/runtime/
Dhandle_wrapper.h29 class HandleWrapper : public MutableHandle<T> {
31 HandleWrapper(T** obj, const MutableHandle<T>& handle) in HandleWrapper()
32 : MutableHandle<T>(handle), obj_(obj) { in HandleWrapper()
38 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapper()
49 class HandleWrapperObjPtr : public MutableHandle<T> {
51 HandleWrapperObjPtr(ObjPtr<T>* obj, const MutableHandle<T>& handle) in HandleWrapperObjPtr()
52 : MutableHandle<T>(handle), obj_(obj) {} in HandleWrapperObjPtr()
57 *obj_ = MutableHandle<T>::Get(); in ~HandleWrapperObjPtr()
Dhandle.h137 class MutableHandle : public Handle<T> {
139 MutableHandle() { in MutableHandle() function
142 ALWAYS_INLINE MutableHandle(const MutableHandle<T>& handle)
145 ALWAYS_INLINE MutableHandle<T>& operator=(const MutableHandle<T>& handle)
148 ALWAYS_INLINE explicit MutableHandle(StackReference<T>* reference) in MutableHandle() function
169 explicit MutableHandle(const MutableHandle<S>& handle) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() function
174 explicit MutableHandle(StackReference<S>* reference) REQUIRES_SHARED(Locks::mutator_lock_) in MutableHandle() function
Dhandle_scope-inl.h84 inline MutableHandle<T> HandleScope::GetMutableHandle(size_t i) { in GetMutableHandle()
86 return MutableHandle<T>(&GetReferences()[i]); in GetMutableHandle()
99 inline MutableHandle<T> HandleScope::NewHandle(T* object) { in NewHandle()
104 inline MutableHandle<MirrorType> HandleScope::NewHandle( in NewHandle()
110 MutableHandle<MirrorType> h(GetMutableHandle<MirrorType>(pos)); in NewHandle()
206 inline MutableHandle<T> VariableSizedHandleScope::NewHandle(T* object) { in NewHandle()
211 inline MutableHandle<MirrorType> VariableSizedHandleScope::NewHandle(ObjPtr<MirrorType> ptr) { in NewHandle()
Dhandle_scope.h35 template<class T> class MutableHandle; variable
112 ALWAYS_INLINE MutableHandle<T> GetMutableHandle(size_t i) REQUIRES_SHARED(Locks::mutator_lock_);
118 ALWAYS_INLINE MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_);
129 ALWAYS_INLINE MutableHandle<MirrorType> NewHandle(ObjPtr<MirrorType> object)
235 MutableHandle<T> NewHandle(T* object) REQUIRES_SHARED(Locks::mutator_lock_);
238 MutableHandle<MirrorType> NewHandle(ObjPtr<MirrorType> ptr)
Dart_method-alloc-inl.h55 MutableHandle<mirror::Object> new_object = hs.NewHandle(GetDeclaringClass()->AllocObject(self));
Dimtable_test.cc49 MutableHandle<mirror::ClassLoader> h_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in LoadClasses()
Dinstrumentation.h47 template <typename T> class MutableHandle; variable
83 MutableHandle<mirror::Object>& return_value)
167 bool PopFramesTo(uintptr_t stack_pointer, /*in-out*/MutableHandle<mirror::Throwable>& exception)
591 MutableHandle<mirror::Throwable>& exception)
Dhandle_scope_test.cc36 static_assert(std::is_trivially_copyable<MutableHandle<mirror::Object>>::value,
Dclass_loader_context.cc810 MutableHandle<mirror::ObjectArray<mirror::ClassLoader>> libraries( in CreateClassLoaderInternal()
812 MutableHandle<mirror::ObjectArray<mirror::ClassLoader>> libraries_after( in CreateClassLoaderInternal()
853 MutableHandle<mirror::ClassLoader> parent = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateClassLoaderInternal()
1184 MutableHandle<mirror::ClassLoader> temp_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateInfoFromClassLoader()
1202 MutableHandle<mirror::ClassLoader> temp_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateInfoFromClassLoader()
Dvdex_file.cc489 MutableHandle<mirror::Class> source(hs.NewHandle<mirror::Class>(nullptr)); in ComputeClassStatus()
490 MutableHandle<mirror::Class> destination(hs.NewHandle<mirror::Class>(nullptr)); in ComputeClassStatus()
Dinstrumentation.cc69 MutableHandle<mirror::Object>& return_value) { in MethodExited()
129 MutableHandle<mirror::Throwable>& exception) { in ProcessMethodUnwindCallbacks()
1470 MutableHandle<mirror::Object>& return_value) const { in MethodExitEventImpl()
1505 MutableHandle<mirror::Object> ret(hs.NewHandle(return_value.GetL())); in MethodExitEventImpl()
/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/gc/
Dallocation_listener.h58 [[maybe_unused]] MutableHandle<mirror::Class> type, in PreObjectAllocated()
/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/runtime/native/
Djava_lang_invoke_MethodHandleImpl.cc43 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()
212 MutableHandle<mirror::String> name = hs.NewHandle<mirror::String>(nullptr); in Executable_getParameters0()
338 MutableHandle<mirror::Class> param(hs.NewHandle<mirror::Class>(nullptr)); in Executable_getParameterTypesInternal()
/art/test/692-vdex-inmem-loader/
Dvdex_inmem_loader.cc55 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesVerified()
151 MutableHandle<mirror::Class> h_class(hs.NewHandle<mirror::Class>(nullptr)); in Java_Main_areClassesPreverified()
/art/tools/art_verifier/
Dart_verifier.cc218 MutableHandle<mirror::Class> h_klass(scope.NewHandle<mirror::Class>(nullptr)); in ExecuteWithRuntime()
219 MutableHandle<mirror::DexCache> h_dex_cache(scope.NewHandle<mirror::DexCache>(nullptr)); in ExecuteWithRuntime()
/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.cc162 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[I")); in TEST_F()
164 MutableHandle<Array> a = hs.NewHandle( in TEST_F()
183 MutableHandle<Class> c = hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "[B")); in TEST_F()
185 MutableHandle<Array> a = hs.NewHandle( in TEST_F()
371 MutableHandle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1))); in TEST_F()
373 MutableHandle<Array> multi = hs.NewHandle(Array::CreateMultiArray(soa.Self(), int_class, dims)); in TEST_F()
Dclass_ext-inl.h48 MutableHandle<Object> new_arr(hs.NewHandle<Object>(nullptr)); in EnsureJniIdsArrayPresent()
/art/tools/tracefast-plugin/
Dtracefast.cc53 [[maybe_unused]] art::MutableHandle<art::mirror::Object>& return_value) override in MethodExited()
/art/runtime/verifier/
Dverifier_deps.cc713 MutableHandle<mirror::Class> source(hs.NewHandle<mirror::Class>(nullptr)); in VerifyDexFileAndUpdateStatus()
714 MutableHandle<mirror::Class> destination(hs.NewHandle<mirror::Class>(nullptr)); in VerifyDexFileAndUpdateStatus()

123