/art/runtime/ |
D | intern_table_test.cc | 33 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 34 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 35 Handle<mirror::String> foo_3( in TEST_F() 37 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 55 Handle<mirror::String> foo( in TEST_F() 103 Handle<mirror::String> hello( in TEST_F() 105 Handle<mirror::String> world( in TEST_F() 107 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F() 108 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F() 124 Handle<mirror::String> still_here( in TEST_F() [all …]
|
D | handle.h | 29 template<class T> class Handle; variable 102 class Handle : public ConstHandle<T> { 104 Handle() { in Handle() function 107 ALWAYS_INLINE Handle(const Handle<T>& handle) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) in Handle() function 111 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) 117 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) in Handle() function 123 StackReference<mirror::Object>* ref = Handle<T>::GetReference(); in Assign() 130 explicit Handle(const Handle<S>& handle) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) in Handle() function 135 explicit Handle(StackReference<S>* reference) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) in Handle() function 148 class NullHandle : public Handle<T> { [all …]
|
D | class_linker.h | 76 Handle<mirror::ClassLoader> class_loader) 83 Handle<mirror::ClassLoader> class_loader) 100 Handle<mirror::ClassLoader> class_loader, 145 Handle<mirror::DexCache> dex_cache) 168 Handle<mirror::DexCache> dex_cache, 169 Handle<mirror::ClassLoader> class_loader) 179 Handle<mirror::DexCache> dex_cache, 180 Handle<mirror::ClassLoader> class_loader, 181 Handle<mirror::ArtMethod> referrer, 205 Handle<mirror::DexCache> dex_cache, [all …]
|
D | handle_scope.h | 86 Handle<mirror::Object> GetHandle(size_t i) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) in GetHandle() 89 return Handle<mirror::Object>(&references_[i]); in GetHandle() 148 class HandleWrapper : public Handle<T> { 150 HandleWrapper(T** obj, const Handle<T>& handle) in HandleWrapper() 151 : Handle<T>(handle), obj_(obj) { in HandleWrapper() 155 *obj_ = Handle<T>::Get(); in ~HandleWrapper() 170 ALWAYS_INLINE Handle<T> NewHandle(T* object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in NewHandle() 172 Handle<T> h(GetHandle<T>(pos_)); in NewHandle() 181 Handle<T> h(GetHandle<T>(pos_)); in NewHandleWrapper() 194 ALWAYS_INLINE Handle<T> GetHandle(size_t i) in GetHandle() [all …]
|
D | proxy_test.cc | 113 Handle<mirror::ClassLoader> class_loader( in TEST_F() 116 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 118 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 126 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F() 147 Handle<mirror::ClassLoader> class_loader( in TEST_F() 150 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 152 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 157 Handle<mirror::Class> proxyClass; in TEST_F() 169 Handle<mirror::ObjectArray<mirror::ArtField>> instance_fields( in TEST_F() 173 Handle<mirror::ObjectArray<mirror::ArtField>> static_fields( in TEST_F() [all …]
|
D | transaction_test.cc | 32 Handle<mirror::Class> h_klass( in TEST_F() 38 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 51 Handle<mirror::Class> h_klass( in TEST_F() 54 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 79 Handle<mirror::Class> h_klass( in TEST_F() 89 Handle<mirror::Array> h_obj( in TEST_F() 106 Handle<mirror::ClassLoader> class_loader( in TEST_F() 110 Handle<mirror::Class> h_klass( in TEST_F() 164 Handle<mirror::Class> object_klass( in TEST_F() 167 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() [all …]
|
D | class_linker-inl.h | 49 Handle<mirror::ClassLoader> class_loader(hs.NewHandle((*element_class)->GetClassLoader())); in FindArrayClass() 65 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveString() 81 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveType() 82 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType() 97 Handle<mirror::DexCache> dex_cache(hs.NewHandle(dex_cache_ptr)); in ResolveType() 98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveType() 126 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveMethod() 127 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveMethod() 148 Handle<mirror::DexCache> dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in ResolveField() 149 Handle<mirror::ClassLoader> class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in ResolveField()
|
D | monitor_test.cc | 46 Handle<mirror::String> object_; 47 Handle<mirror::String> second_object_; 48 Handle<mirror::String> watchdog_object_; 61 std::vector<Handle<mirror::Object>>* handles) in FillHeap() 67 Handle<mirror::Class> c((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 70 Handle<mirror::Class> ca((*hsp)->NewHandle(class_linker->FindSystemClass(self, in FillHeap() 76 Handle<mirror::Object> h((*hsp)->NewHandle<mirror::Object>( in FillHeap() 95 Handle<mirror::Object> h = (*hsp)->NewHandle<mirror::Object>(c->AllocObject(self)); in FillHeap() 310 std::vector<Handle<mirror::Object>> handles; in CommonWaitSetup()
|
D | object_lock.h | 31 ObjectLock(Thread* self, Handle<T> object) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_); 43 Handle<T> const obj_;
|
D | quick_exception_handler.cc | 45 CatchBlockStackVisitor(Thread* self, Context* context, Handle<mirror::Throwable>* exception, in CatchBlockStackVisitor() 83 bool HandleTryItems(Handle<mirror::ArtMethod> method) in HandleTryItems() 92 Handle<mirror::Class> to_find(hs.NewHandle((*exception_)->GetClass())); in HandleTryItems() 109 Handle<mirror::Throwable>* exception_; 127 Handle<mirror::Throwable> exception_ref(hs.NewHandle(exception)); in FindCatch() 208 Handle<mirror::DexCache> h_dex_cache(hs.NewHandle(declaring_class->GetDexCache())); in HandleDeoptimization() 209 Handle<mirror::ClassLoader> h_class_loader(hs.NewHandle(declaring_class->GetClassLoader())); in HandleDeoptimization() 210 Handle<mirror::ArtMethod> h_method(hs.NewHandle(m)); in HandleDeoptimization()
|
D | field_helper.h | 28 explicit FieldHelper(Handle<mirror::ArtField> f) : field_(f) {} in FieldHelper() 46 Handle<mirror::ArtField> field_;
|
D | class_linker.cc | 211 Handle<mirror::Class> java_lang_Class(hs.NewHandle(down_cast<mirror::Class*>( in InitWithoutImage() 226 Handle<mirror::Class> class_array_class(hs.NewHandle( in InitWithoutImage() 231 Handle<mirror::Class> java_lang_Object(hs.NewHandle( in InitWithoutImage() 239 Handle<mirror::Class> object_array_class(hs.NewHandle( in InitWithoutImage() 244 Handle<mirror::Class> char_class(hs.NewHandle( in InitWithoutImage() 248 Handle<mirror::Class> char_array_class(hs.NewHandle( in InitWithoutImage() 255 Handle<mirror::Class> java_lang_String(hs.NewHandle( in InitWithoutImage() 262 Handle<mirror::Class> java_lang_ref_Reference(hs.NewHandle( in InitWithoutImage() 295 Handle<mirror::Class> int_array_class(hs.NewHandle( in InitWithoutImage() 304 Handle<mirror::Class> java_lang_DexCache(hs.NewHandle( in InitWithoutImage() [all …]
|
D | class_linker_test.cc | 107 Handle<mirror::ClassLoader> loader(hs.NewHandle(class_loader)); in AssertArrayClass() 108 Handle<mirror::Class> array( in AssertArrayClass() 117 void AssertArrayClass(const std::string& array_descriptor, Handle<mirror::Class> array) in AssertArrayClass() 186 void AssertClass(const std::string& descriptor, Handle<mirror::Class> klass) in AssertClass() 327 Handle<mirror::Class> klass( in AssertDexFileClass() 627 Handle<mirror::ClassLoader> class_loader( in TEST_F() 699 Handle<mirror::ClassLoader> class_loader( in TEST_F() 768 Handle<mirror::LongArray> long_array(hs.NewHandle(mirror::LongArray::Alloc(soa.Self(), 0))); in TEST_F() 773 Handle<mirror::DoubleArray> double_array(hs.NewHandle(mirror::DoubleArray::Alloc(soa.Self(), 0))); in TEST_F() 778 Handle<mirror::IntArray> int_array(hs.NewHandle(mirror::IntArray::Alloc(soa.Self(), 0))); in TEST_F() [all …]
|
/art/runtime/mirror/ |
D | stack_trace_element.h | 26 template<class T> class Handle; variable 50 static StackTraceElement* Alloc(Thread* self, Handle<String> declaring_class, 51 Handle<String> method_name, Handle<String> file_name, 72 void Init(Handle<String> declaring_class, Handle<String> method_name, Handle<String> file_name,
|
D | stack_trace_element.cc | 42 StackTraceElement* StackTraceElement::Alloc(Thread* self, Handle<String> declaring_class, in Alloc() 43 Handle<String> method_name, Handle<String> file_name, in Alloc() 58 void StackTraceElement::Init(Handle<String> declaring_class, Handle<String> method_name, in Init() 59 Handle<String> file_name, int32_t line_number) { in Init()
|
D | array.cc | 44 Handle<Class> array_class, int current_dimension, in RecursiveCreateMultiArray() 45 Handle<mirror::IntArray> dimensions) in RecursiveCreateMultiArray() 49 Handle<Array> new_array( in RecursiveCreateMultiArray() 61 Handle<mirror::Class> h_component_type(hs.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray() 75 Array* Array::CreateMultiArray(Thread* self, Handle<Class> element_class, in CreateMultiArray() 76 Handle<IntArray> dimensions) { in CreateMultiArray() 97 Handle<mirror::Class> array_class( in CreateMultiArray()
|
D | object_test.cc | 62 Handle<String> string( in AssertString() 119 Handle<ObjectArray<Object>> a1( in TEST_F() 130 Handle<ObjectArray<Object>> oa( in TEST_F() 156 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); in TEST_F() 168 Handle<Array> a( in TEST_F() 191 Handle<Array> a( in TEST_F() 293 Handle<Class> c(hs.NewHandle(class_linker_->FindSystemClass(soa.Self(), "I"))); in TEST_F() 294 Handle<IntArray> dims(hs.NewHandle(IntArray::Alloc(soa.Self(), 1))); in TEST_F() 332 Handle<mirror::ClassLoader> loader(hs.NewHandle(soa.Decode<ClassLoader*>(class_loader))); in TEST_F() 360 Handle<CharArray> char_array(hs.NewHandle(CharArray::Alloc(soa.Self(), 0))); in TEST_F() [all …]
|
D | class.cc | 82 Handle<mirror::Throwable> old_exception(hs.NewHandle(self->GetException(&old_throw_location))); in SetStatus() 84 Handle<mirror::Object> old_throw_this_object(hs.NewHandle(old_throw_location.GetThis())); in SetStatus() 85 Handle<mirror::ArtMethod> old_throw_method(hs.NewHandle(old_throw_location.GetMethod())); in SetStatus() 166 String* Class::ComputeName(Handle<Class> h_this) { in ComputeName() 216 Handle<mirror::Class> h_this(hs.NewHandle(this)); in DumpClass() 217 Handle<mirror::Class> h_super(hs.NewHandle(GetSuperClass())); in DumpClass() 625 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const StringPiece& name, in FindStaticField() 641 Handle<mirror::Class> interface(hs.NewHandle(GetDirectInterface(self, h_k, i))); in FindStaticField() 651 ArtField* Class::FindStaticField(Thread* self, Handle<Class> klass, const DexCache* dex_cache, in FindStaticField() 665 Handle<mirror::Class> interface(hs.NewHandle(GetDirectInterface(self, h_k, i))); in FindStaticField() [all …]
|
/art/compiler/dex/ |
D | mir_field_info.cc | 47 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 48 Handle<mirror::ClassLoader> class_loader( in Resolve() 50 Handle<mirror::Class> referrer_class(hs.NewHandle( in Resolve() 94 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 95 Handle<mirror::ClassLoader> class_loader( in Resolve() 97 Handle<mirror::Class> referrer_class(hs.NewHandle( in Resolve()
|
D | mir_method_info.cc | 49 Handle<mirror::DexCache> dex_cache(hs.NewHandle(compiler_driver->GetDexCache(mUnit))); in Resolve() 50 Handle<mirror::ClassLoader> class_loader( in Resolve() 52 Handle<mirror::Class> referrer_class(hs.NewHandle( in Resolve()
|
/art/runtime/verifier/ |
D | method_verifier.h | 40 template<class T> class Handle; variable 144 static FailureKind VerifyClass(const DexFile* dex_file, Handle<mirror::DexCache> dex_cache, 145 Handle<mirror::ClassLoader> class_loader, 152 Handle<mirror::DexCache> dex_cache, 153 Handle<mirror::ClassLoader> class_loader, 206 MethodVerifier(const DexFile* dex_file, Handle<mirror::DexCache>* dex_cache, in MethodVerifier() 207 Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def, in MethodVerifier() 244 MethodVerifier(const DexFile* dex_file, Handle<mirror::DexCache>* dex_cache, 245 Handle<mirror::ClassLoader>* class_loader, const DexFile::ClassDef* class_def, 269 Handle<mirror::DexCache> dex_cache, [all …]
|
/art/runtime/arch/ |
D | stub_test.cc | 612 Handle<mirror::String> obj( in TEST_F() 637 Handle<mirror::String> obj2(hs.NewHandle( in TEST_F() 685 Handle<mirror::String> obj( in TestUnlockObject() 723 Handle<mirror::String> objects[kNumberOfLocks]; in TestUnlockObject() 834 Handle<mirror::Class> c( in TEST_F() 836 Handle<mirror::Class> c2( in TEST_F() 887 Handle<mirror::Class> c( in TEST_F() 889 Handle<mirror::Class> ca( in TEST_F() 893 Handle<mirror::ObjectArray<mirror::Object>> array( in TEST_F() 897 Handle<mirror::String> str_obj( in TEST_F() [all …]
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 44 const ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveCompilingMethodsClass() 45 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit) { in ResolveCompilingMethodsClass() 61 const ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveField() 62 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveField() 168 ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in ResolveMethod() 169 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in ResolveMethod() 210 ScopedObjectAccess& soa, Handle<mirror::DexCache> dex_cache, in IsFastInvoke() 211 Handle<mirror::ClassLoader> class_loader, const DexCompilationUnit* mUnit, in IsFastInvoke() 272 Handle<mirror::DexCache> target_dex_cache( in IsFastInvoke()
|
/art/compiler/ |
D | common_compiler_test.h | 37 template<class T> class Handle; variable 66 void CompileDirectMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name, 70 void CompileVirtualMethod(Handle<mirror::ClassLoader> class_loader, const char* class_name,
|
/art/runtime/gc/ |
D | heap_test.cc | 48 Handle<mirror::Class> c( in TEST_F() 52 Handle<mirror::ObjectArray<mirror::Object>> array(hs.NewHandle( in TEST_F()
|