/art/runtime/mirror/ |
D | method_type_test.cc | 44 Handle<mirror::ClassLoader> boot_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in FindClass() 63 Handle<mirror::Class> return_clazz = hs.NewHandle(FindClass(self, class_linker, return_type)); in CreateMethodType() 68 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle( in CreateMethodType() 84 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 85 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 92 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 93 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("Integer", { "Integer" })); in TEST_F() 100 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 101 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "String" })); in TEST_F() 108 Handle<mirror::MethodType> mt1 = hs.NewHandle( in TEST_F() [all …]
|
D | emulated_stack_frame.cc | 78 EmulatedStackFrameAccessor(Handle<mirror::ObjectArray<mirror::Object>> references, in EmulatedStackFrameAccessor() 79 Handle<mirror::ByteArray> stack_frame, in EmulatedStackFrameAccessor() 136 Handle<mirror::ObjectArray<mirror::Object>> references_; 137 Handle<mirror::ByteArray> stack_frame_; 148 Handle<mirror::MethodType> caller_type, in CreateFromShadowFrameAndArgs() 149 Handle<mirror::MethodType> callee_type, in CreateFromShadowFrameAndArgs() 155 Handle<mirror::ObjectArray<mirror::Class>> p_types(hs.NewHandle(callee_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 161 Handle<mirror::Class> r_type(hs.NewHandle(callee_type->GetRType())); in CreateFromShadowFrameAndArgs() 167 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle( in CreateFromShadowFrameAndArgs() 174 Handle<ByteArray> stack_frame(hs.NewHandle(ByteArray::Alloc(self, frame_size))); in CreateFromShadowFrameAndArgs() [all …]
|
D | object_test.cc | 71 Handle<String> string( in AssertString() 116 Handle<ObjectArray<Object>> a1(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 256))); in TEST_F() 126 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() 137 Handle<Class> aioobe = hs.NewHandle( in TEST_F() 151 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); in TEST_F() 216 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TestPrimitiveArray() 227 Handle<Class> aioobe = hs.NewHandle( in TestPrimitiveArray() 264 Handle<PointerArray> a32 = in TEST_F() 281 Handle<PointerArray> a64 = in TEST_F() 308 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F() [all …]
|
D | stack_frame_info.h | 27 template<class T> class Handle; variable 37 void AssignFields(Handle<Class> declaring_class, 38 Handle<MethodType> method_type, 39 Handle<String> method_name, 40 Handle<String> file_name,
|
D | dex_cache_test.cc | 51 Handle<DexCache> dex_cache( in TEST_F() 68 Handle<DexCache> dex_cache( in TEST_F() 80 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F() 82 Handle<mirror::Class> klass1 = in TEST_F() 85 Handle<mirror::Class> klass2 = in TEST_F() 107 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F() 110 Handle<mirror::Class> method_types( in TEST_F() 128 Handle<mirror::DexCache> dex_cache = hs.NewHandle( in TEST_F() 133 Handle<mirror::MethodType> method1_type = hs.NewHandle( in TEST_F() 138 Handle<mirror::MethodType> method2_type = hs.NewHandle( in TEST_F()
|
D | method_type.cc | 42 Handle<Class> return_type, in Create() 43 Handle<ObjectArray<Class>> parameter_types) { in Create() 58 Handle<mirror::Class> return_type = method_type.GetRTypeHandle(); in Create() 64 Handle<mirror::ObjectArray<mirror::Class>> method_params = hs.NewHandle( in Create() 82 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter() 83 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CloneWithoutLeadingParameter() 85 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, dst_ptypes_count)); in CloneWithoutLeadingParameter() 105 Handle<Class> collector_class = hs.NewHandle(collector_array_class); in CollectTrailingArguments() 106 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CollectTrailingArguments() 107 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments() [all …]
|
D | method_type.h | 47 Handle<mirror::Class> GetRTypeHandle() const REQUIRES_SHARED(Locks::mutator_lock_); 59 Handle<Class> return_type, 60 Handle<ObjectArray<Class>> param_types) 117 std::is_same_v<PTypesType, Handle<ObjectArray<Class>>>); 123 using HandlePTypesAccessor = PTypesAccessor<Handle<ObjectArray<Class>>>; 137 static HandlePTypesAccessor NewHandlePTypes(Handle<MethodType> method_type, HandleScopeType* hs) 145 static ObjPtrPTypesAccessor GetPTypes(Handle<MethodType> method_type) 152 static ObjPtr<mirror::Class> GetRType(Handle<MethodType> method_type) 159 static size_t NumberOfVRegs(Handle<mirror::MethodType> method_type) 166 static std::string PrettyDescriptor(Handle<MethodType> method_type)
|
D | stack_frame_info.cc | 30 void StackFrameInfo::AssignFields(Handle<Class> declaring_class, in AssignFields() 31 Handle<MethodType> method_type, in AssignFields() 32 Handle<String> method_name, in AssignFields() 33 Handle<String> file_name, in AssignFields()
|
D | stack_trace_element.h | 25 template<class T> class Handle; variable 46 Handle<String> declaring_class, 47 Handle<String> method_name, 48 Handle<String> file_name,
|
/art/runtime/ |
D | handle.h | 34 template<class T> class Handle; variable 40 template<typename T> using HandleArrayIter = ArrayIter<T, Handle<ObjectArray<T>>>; 41 template<typename T> using ConstHandleArrayIter = ArrayIter<T, const Handle<ObjectArray<T>>>; 49 class Handle : public ValueObject { 51 Handle() : reference_(nullptr) { in Handle() function 54 ALWAYS_INLINE Handle(const Handle<T>& handle) = default; 56 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default; 60 ALWAYS_INLINE Handle(const Handle<Type>& other) : reference_(other.reference_) { in Handle() function 63 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() function 117 explicit Handle(StackReference<S>* reference) in Handle() function [all …]
|
D | method_handles_test.cc | 49 static bool TryConversion(Handle<mirror::Class> from, Handle<mirror::Class> to, JValue* value) in TryConversion() 76 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B')); in TEST_F() 77 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() 88 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() 89 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F() 101 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() 102 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('F')); in TEST_F() 113 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B')); in TEST_F() 114 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() 127 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('S')); in TEST_F() [all …]
|
D | proxy_test.cc | 43 Handle<mirror::ClassLoader> class_loader( in TEST_F() 46 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 48 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 53 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() 56 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F() 77 Handle<mirror::ClassLoader> class_loader( in TEST_F() 80 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 82 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 87 Handle<mirror::Class> proxyClass; in TEST_F() 89 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() [all …]
|
D | intern_table_test.cc | 41 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 42 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 43 Handle<mirror::String> foo_3( in TEST_F() 45 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 65 Handle<mirror::String> foo( in TEST_F() 128 Handle<mirror::String> hello( in TEST_F() 130 Handle<mirror::String> world( in TEST_F() 132 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F() 133 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F() 149 Handle<mirror::String> still_here( in TEST_F() [all …]
|
D | method_handles.h | 137 Handle<mirror::MethodType> method_type, 138 Handle<mirror::MethodType> callee_type, 144 Handle<mirror::MethodHandle> method_handle, 145 Handle<mirror::MethodType> callsite_type, 152 Handle<mirror::MethodHandle> method_handle, 153 Handle<mirror::MethodType> callsite_type, 159 Handle<mirror::MethodHandle> method_handle, 160 Handle<mirror::EmulatedStackFrame> stack_frame)
|
D | class_loader_utils.h | 35 inline bool IsInstanceOfBaseDexClassLoader(Handle<mirror::ClassLoader> class_loader) in IsInstanceOfBaseDexClassLoader() 42 inline bool IsPathOrDexClassLoader(Handle<mirror::ClassLoader> class_loader) in IsPathOrDexClassLoader() 50 inline bool IsInMemoryDexClassLoader(Handle<mirror::ClassLoader> class_loader) in IsInMemoryDexClassLoader() 56 inline bool IsDelegateLastClassLoader(Handle<mirror::ClassLoader> class_loader) in IsDelegateLastClassLoader() 70 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexElements() 84 Handle<mirror::ObjectArray<mirror::Object>> dex_elements = in VisitClassLoaderDexElements() 109 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles() 123 Handle<mirror::LongArray> long_array = in VisitClassLoaderDexFiles() 152 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles()
|
D | object_lock.h | 31 EXPORT ObjectLock(Thread* self, Handle<T> object) REQUIRES_SHARED(Locks::mutator_lock_); 43 Handle<T> const obj_; 51 ObjectTryLock(Thread* self, Handle<T> object) REQUIRES_SHARED(Locks::mutator_lock_); 61 Handle<T> const obj_;
|
D | well_known_classes.cc | 421 Handle<mirror::Class> d_s_bdcl = in InitFieldsAndMethodsOnly() 423 Handle<mirror::Class> d_s_dlcl = in InitFieldsAndMethodsOnly() 425 Handle<mirror::Class> d_s_dcl = in InitFieldsAndMethodsOnly() 427 Handle<mirror::Class> d_s_df = in InitFieldsAndMethodsOnly() 429 Handle<mirror::Class> d_s_dpl = in InitFieldsAndMethodsOnly() 431 Handle<mirror::Class> d_s_dpl_e = in InitFieldsAndMethodsOnly() 433 Handle<mirror::Class> d_s_imdcl = in InitFieldsAndMethodsOnly() 435 Handle<mirror::Class> d_s_pcl = in InitFieldsAndMethodsOnly() 437 Handle<mirror::Class> d_s_vmr = in InitFieldsAndMethodsOnly() 439 Handle<mirror::Class> j_i_fd = in InitFieldsAndMethodsOnly() [all …]
|
D | class_linker.h | 57 template<class T> class Handle; variable 194 Handle<mirror::ClassLoader> class_loader, 210 Handle<mirror::ClassLoader> class_loader) 236 Handle<mirror::ClassLoader> class_loader, 277 Handle<mirror::DexCache> dex_cache) 303 Handle<mirror::DexCache> dex_cache, 304 Handle<mirror::ClassLoader> class_loader) 367 Handle<mirror::DexCache> dex_cache, 368 Handle<mirror::ClassLoader> class_loader, 380 Handle<mirror::DexCache> dex_cache, [all …]
|
D | transaction_test.cc | 42 Handle<mirror::ClassLoader> class_loader( in testTransactionAbort() 99 Handle<mirror::Class> h_klass( in TEST_F() 104 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 116 Handle<mirror::Class> h_klass( in TEST_F() 119 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 143 Handle<mirror::Class> h_klass( in TEST_F() 152 Handle<mirror::Array> h_obj = hs.NewHandle( in TEST_F() 170 Handle<mirror::ClassLoader> class_loader( in TEST_F() 174 Handle<mirror::Class> h_klass( in TEST_F() 230 Handle<mirror::Class> object_klass( in TEST_F() [all …]
|
/art/runtime/dex/ |
D | dex_file_annotations.h | 39 Handle<mirror::Class> annotation_class) 45 bool IsFieldAnnotationPresent(ArtField* field, Handle<mirror::Class> annotation_class) 52 Handle<mirror::Class> annotation_class) 64 Handle<mirror::Class> annotation_class) 78 Handle<mirror::Class> annotation_class, 129 ObjPtr<mirror::Object> GetAnnotationForClass(Handle<mirror::Class> klass, 130 Handle<mirror::Class> annotation_class) 132 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForClass(Handle<mirror::Class> klass) 134 ObjPtr<mirror::ObjectArray<mirror::Class>> GetDeclaredClasses(Handle<mirror::Class> klass) 136 ObjPtr<mirror::Class> GetDeclaringClass(Handle<mirror::Class> klass) [all …]
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 39 DexCompilationUnit(Handle<mirror::ClassLoader> class_loader, 47 Handle<mirror::DexCache> dex_cache, 48 Handle<mirror::Class> compiling_class = Handle<mirror::Class>()); 50 Handle<mirror::ClassLoader> GetClassLoader() const { in GetClassLoader() 114 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() 122 Handle<mirror::Class> GetCompilingClass() const { in GetCompilingClass() 162 const Handle<mirror::ClassLoader> class_loader_; 174 const Handle<mirror::DexCache> dex_cache_; 178 Handle<mirror::Class> compiling_class_;
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 65 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() 73 art::Handle<art::mirror::Object> java_dex_file_obj( in AddToClassLoader() 78 art::Handle<art::mirror::LongArray> old_cookie(hs.NewHandle(GetDexFileCookie(java_dex_file_obj))); in AddToClassLoader() 79 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( in AddToClassLoader() 105 art::Handle<art::mirror::Object> java_dex_file_obj) { in GetDexFileCookie() 118 art::Handle<art::mirror::LongArray> cookie, in AllocateNewDexFileCookie() 123 art::Handle<art::mirror::LongArray> new_cookie( in AllocateNewDexFileCookie() 140 art::Handle<art::mirror::ClassLoader> loader) { in GetDexElementList() 143 art::Handle<art::mirror::Class> base_dex_loader_class = in GetDexElementList() 153 art::Handle<art::mirror::Class> loader_class(hs.NewHandle(loader->GetClass())); in GetDexElementList() [all …]
|
D | ti_class_loader.h | 47 template <class MirrorType> class Handle; variable 61 art::Handle<art::mirror::ClassLoader> loader, 69 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader) 76 art::Handle<art::mirror::ClassLoader> loader, 81 art::Handle<art::mirror::Object> java_dex_file) REQUIRES_SHARED(art::Locks::mutator_lock_); 85 art::Handle<art::mirror::LongArray> old_dex_file_cookie, 94 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader)
|
/art/dex2oat/driver/ |
D | compiler_driver-inl.h | 37 Handle<mirror::DexCache> dex_cache, in ResolveClass() 38 Handle<mirror::ClassLoader> class_loader, in ResolveClass() 55 Handle<mirror::DexCache> dex_cache, in ResolveCompilingMethodsClass() 56 Handle<mirror::ClassLoader> class_loader, in ResolveCompilingMethodsClass() 66 Handle<mirror::DexCache> dex_cache, in ResolveField() 67 Handle<mirror::ClassLoader> class_loader, in ResolveField()
|
/art/runtime/verifier/ |
D | reg_type.h | 201 Handle<mirror::Class> GetClassHandle() const REQUIRES_SHARED(Locks::mutator_lock_) { in GetClassHandle() 311 RegType(Handle<mirror::Class> klass, in RegType() 330 const Handle<mirror::Class> klass_; 359 ConflictType(Handle<mirror::Class> klass, in ConflictType() 380 UndefinedType(Handle<mirror::Class> klass, in UndefinedType() 390 PrimitiveType(Handle<mirror::Class> klass, 399 Cat1Type(Handle<mirror::Class> klass, 413 IntegerType(Handle<mirror::Class> klass, in IntegerType() 430 BooleanType(Handle<mirror::Class> klass, in BooleanType() 447 ByteType(Handle<mirror::Class> klass, in ByteType() [all …]
|