/art/runtime/dex/ |
D | dex_file_annotations.h | 38 mirror::Object* GetAnnotationForField(ArtField* field, Handle<mirror::Class> annotation_class) 44 bool IsFieldAnnotationPresent(ArtField* field, Handle<mirror::Class> annotation_class) 50 mirror::Object* GetAnnotationForMethod(ArtMethod* method, Handle<mirror::Class> annotation_class) 62 Handle<mirror::Class> annotation_class) 76 Handle<mirror::Class> annotation_class, 88 mirror::Object* GetAnnotationForClass(Handle<mirror::Class> klass, 89 Handle<mirror::Class> annotation_class) 91 mirror::ObjectArray<mirror::Object>* GetAnnotationsForClass(Handle<mirror::Class> klass) 93 mirror::ObjectArray<mirror::Class>* GetDeclaredClasses(Handle<mirror::Class> klass) 95 mirror::Class* GetDeclaringClass(Handle<mirror::Class> klass) [all …]
|
/art/runtime/ |
D | handle.h | 34 template<class T> class Handle; variable 41 class Handle : public ValueObject { 43 Handle() : reference_(nullptr) { in Handle() function 46 ALWAYS_INLINE Handle(const Handle<T>& handle) = default; 48 ALWAYS_INLINE Handle<T>& operator=(const Handle<T>& handle) = default; 50 ALWAYS_INLINE explicit Handle(StackReference<T>* reference) : reference_(reference) { in Handle() function 95 explicit Handle(StackReference<S>* reference) in Handle() function 99 explicit Handle(const Handle<S>& handle) in Handle() function 107 template<class S> friend class Handle; variable 115 class MutableHandle : public Handle<T> { [all …]
|
D | method_handles_test.cc | 48 Handle<mirror::Class> parameter_type) in CreateVoidMethodType() 57 Handle<mirror::Class> void_class = hs.NewHandle(cl->FindPrimitiveClass('V')); in CreateVoidMethodType() 62 Handle<mirror::Class> from, in TryConversion() 63 Handle<mirror::Class> to, in TryConversion() 67 Handle<mirror::MethodType> from_mt = hs.NewHandle(CreateVoidMethodType(self, from)); in TryConversion() 68 Handle<mirror::MethodType> to_mt = hs.NewHandle(CreateVoidMethodType(self, to)); in TryConversion() 83 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B')); in TEST_F() 84 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() 95 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() 96 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F() [all …]
|
D | method_handles-inl.h | 34 inline bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, in ConvertArgumentValue() 35 Handle<mirror::MethodType> callee_type, in ConvertArgumentValue() 57 inline bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, in ConvertArgumentValue() 58 Handle<mirror::MethodType> callee_type, in ConvertArgumentValue() 68 inline bool ConvertReturnValue(Handle<mirror::MethodType> callsite_type, in ConvertReturnValue() 69 Handle<mirror::MethodType> callee_type, in ConvertReturnValue() 93 Handle<mirror::MethodType> callsite_type, in PerformConversions() 94 Handle<mirror::MethodType> callee_type, in PerformConversions() 100 Handle<mirror::ObjectArray<mirror::Class>> from_types(hs.NewHandle(callsite_type->GetPTypes())); in PerformConversions() 101 Handle<mirror::ObjectArray<mirror::Class>> to_types(hs.NewHandle(callee_type->GetPTypes())); in PerformConversions() [all …]
|
D | method_handles.h | 49 bool ConvertJValueCommon(Handle<mirror::MethodType> callsite_type, 50 Handle<mirror::MethodType> callee_type, 60 ALWAYS_INLINE bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, 61 Handle<mirror::MethodType> callee_type, 71 ALWAYS_INLINE bool ConvertReturnValue(Handle<mirror::MethodType> callsite_type, 72 Handle<mirror::MethodType> callee_type, 122 Handle<mirror::MethodType> callsite_type, 123 Handle<mirror::MethodType> callee_type, 197 Handle<mirror::MethodHandle> method_handle, 198 Handle<mirror::MethodType> callsite_type, [all …]
|
D | intern_table_test.cc | 36 Handle<mirror::String> foo_1(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 37 Handle<mirror::String> foo_2(hs.NewHandle(intern_table.InternStrong(3, "foo"))); in TEST_F() 38 Handle<mirror::String> foo_3( in TEST_F() 40 Handle<mirror::String> bar(hs.NewHandle(intern_table.InternStrong(3, "bar"))); in TEST_F() 60 Handle<mirror::String> foo( in TEST_F() 120 Handle<mirror::String> hello( in TEST_F() 122 Handle<mirror::String> world( in TEST_F() 124 Handle<mirror::String> s0(hs.NewHandle(t.InternWeak(hello.Get()))); in TEST_F() 125 Handle<mirror::String> s1(hs.NewHandle(t.InternWeak(world.Get()))); in TEST_F() 141 Handle<mirror::String> still_here( in TEST_F() [all …]
|
D | proxy_test.cc | 37 Handle<mirror::ClassLoader> class_loader( in TEST_F() 40 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 42 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 50 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F() 71 Handle<mirror::ClassLoader> class_loader( in TEST_F() 74 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 76 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 81 Handle<mirror::Class> proxyClass; in TEST_F() 100 Handle<mirror::Class> interfacesFieldClass( in TEST_F() 103 Handle<mirror::Class> throwsFieldClass( in TEST_F() [all …]
|
D | class_linker.h | 72 template<class T> class Handle; variable 177 Handle<mirror::ClassLoader> class_loader, 195 Handle<mirror::ClassLoader> class_loader) 221 Handle<mirror::ClassLoader> class_loader, 251 Handle<mirror::DexCache> dex_cache) 278 Handle<mirror::DexCache> dex_cache, 279 Handle<mirror::ClassLoader> class_loader) 339 Handle<mirror::DexCache> dex_cache, 340 Handle<mirror::ClassLoader> class_loader, 355 Handle<mirror::DexCache> dex_cache, [all …]
|
D | object_lock.h | 31 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 | method_handles.cc | 192 Handle<mirror::MethodType> callsite_type, in ConvertJValueCommon() 193 Handle<mirror::MethodType> callee_type, in ConvertJValueCommon() 233 Handle<mirror::Class> h_to(hs.NewHandle(to)); in ConvertJValueCommon() 234 Handle<mirror::Object> h_obj(hs.NewHandle(src_value.GetL())); in ConvertJValueCommon() 334 Handle<mirror::MethodType> callsite_type, in ConvertAndCopyArgumentsFromCallerFrame() 335 Handle<mirror::MethodType> callee_type, in ConvertAndCopyArgumentsFromCallerFrame() 402 static inline bool IsCallerTransformer(Handle<mirror::MethodType> callsite_type) in IsCallerTransformer() 417 Handle<mirror::MethodType> callsite_type, in MethodHandleInvokeMethod() 418 Handle<mirror::MethodType> target_type, in MethodHandleInvokeMethod() 527 Handle<mirror::EmulatedStackFrame> emulated_stack_frame( in MethodHandleInvokeMethod() [all …]
|
D | class_loader_utils.h | 34 Handle<mirror::ClassLoader> class_loader) in IsPathOrDexClassLoader() 45 Handle<mirror::ClassLoader> class_loader) in IsDelegateLastClassLoader() 60 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexElements() 77 Handle<mirror::ObjectArray<mirror::Object>> dex_elements = in VisitClassLoaderDexElements() 104 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles() 147 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles()
|
D | cha.h | 125 void UpdateAfterLoadingOf(Handle<mirror::Class> klass) REQUIRES_SHARED(Locks::mutator_lock_); 133 void InitSingleImplementationFlag(Handle<mirror::Class> klass, 145 Handle<mirror::Class> klass, 158 Handle<mirror::Class> klass,
|
/art/runtime/mirror/ |
D | method_type_test.cc | 50 Handle<mirror::ClassLoader> boot_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateMethodType() 52 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 58 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle( in CreateMethodType() 62 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 75 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 76 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 83 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 84 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("Integer", { "Integer" })); in TEST_F() 91 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 92 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "String" })); in TEST_F() [all …]
|
D | emulated_stack_frame.cc | 74 EmulatedStackFrameAccessor(Handle<mirror::ObjectArray<mirror::Object>> references, in EmulatedStackFrameAccessor() 75 Handle<mirror::ByteArray> stack_frame, in EmulatedStackFrameAccessor() 132 Handle<mirror::ObjectArray<mirror::Object>> references_; 133 Handle<mirror::ByteArray> stack_frame_; 144 Handle<mirror::MethodType> caller_type, in CreateFromShadowFrameAndArgs() 145 Handle<mirror::MethodType> callee_type, in CreateFromShadowFrameAndArgs() 152 Handle<mirror::ObjectArray<mirror::Class>> from_types(hs.NewHandle(caller_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 153 Handle<mirror::ObjectArray<mirror::Class>> to_types(hs.NewHandle(callee_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 165 Handle<mirror::Class> r_type(hs.NewHandle(callee_type->GetRType())); in CreateFromShadowFrameAndArgs() 172 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle( in CreateFromShadowFrameAndArgs() [all …]
|
D | dex_cache_test.cc | 46 Handle<DexCache> dex_cache( in TEST_F() 69 Handle<DexCache> dex_cache( in TEST_F() 84 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F() 98 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F() 100 Handle<mirror::Class> klass1 = in TEST_F() 103 Handle<mirror::Class> klass2 = in TEST_F() 125 Handle<mirror::ClassLoader> class_loader(hs.NewHandle( in TEST_F() 128 Handle<mirror::Class> method_types( in TEST_F() 146 Handle<mirror::DexCache> dex_cache = hs.NewHandle( in TEST_F() 151 Handle<mirror::MethodType> method1_type = hs.NewHandle( in TEST_F() [all …]
|
D | stack_trace_element.h | 25 template<class T> class Handle; variable 50 Handle<String> declaring_class, 51 Handle<String> method_name, 52 Handle<String> file_name,
|
D | method_handles_lookup.cc | 48 MethodHandlesLookup* MethodHandlesLookup::Create(Thread* const self, Handle<Class> lookup_class) in Create() 53 Handle<MethodHandlesLookup> mhl( in Create() 68 Handle<Class> klass, in FindConstructor() 69 Handle<MethodType> method_type) { in FindConstructor()
|
D | array.cc | 45 Handle<Class> array_class, int current_dimension, in RecursiveCreateMultiArray() 46 Handle<mirror::IntArray> dimensions) in RecursiveCreateMultiArray() 50 Handle<Array> new_array( in RecursiveCreateMultiArray() 63 Handle<mirror::Class> h_component_type(hs2.NewHandle(array_class->GetComponentType())); in RecursiveCreateMultiArray() 77 Array* Array::CreateMultiArray(Thread* self, Handle<Class> element_class, in CreateMultiArray() 78 Handle<IntArray> dimensions) { in CreateMultiArray()
|
/art/openjdkjvmti/ |
D | ti_class_loader.cc | 62 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() 70 art::Handle<art::mirror::Object> java_dex_file_obj( in AddToClassLoader() 75 art::Handle<art::mirror::LongArray> old_cookie(hs.NewHandle(GetDexFileCookie(java_dex_file_obj))); in AddToClassLoader() 76 art::Handle<art::mirror::LongArray> cookie(hs.NewHandle( in AddToClassLoader() 104 art::Handle<art::mirror::Object> java_dex_file_obj) { in GetDexFileCookie() 117 art::Handle<art::mirror::LongArray> cookie, in AllocateNewDexFileCookie() 122 art::Handle<art::mirror::LongArray> new_cookie( in AllocateNewDexFileCookie() 139 art::Handle<art::mirror::ClassLoader> loader) { in GetDexElementList() 142 art::Handle<art::mirror::Class> in GetDexElementList() 153 art::Handle<art::mirror::Class> loader_class(hs.NewHandle(loader->GetClass())); in GetDexElementList() [all …]
|
D | ti_class_loader.h | 74 art::Handle<art::mirror::ClassLoader> loader, 82 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader) 89 art::Handle<art::mirror::ClassLoader> loader, 94 art::Handle<art::mirror::Object> java_dex_file) REQUIRES_SHARED(art::Locks::mutator_lock_); 98 art::Handle<art::mirror::LongArray> old_dex_file_cookie, 107 art::Thread* self, art::Handle<art::mirror::ClassLoader> loader)
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 38 DexCompilationUnit(Handle<mirror::ClassLoader> class_loader, 46 Handle<mirror::DexCache> dex_cache); 48 Handle<mirror::ClassLoader> GetClassLoader() const { in GetClassLoader() 112 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() 121 const Handle<mirror::ClassLoader> class_loader_; 133 const Handle<mirror::DexCache> dex_cache_;
|
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() 104 Handle<mirror::DexCache> dex_cache, in ResolveMethod() 105 Handle<mirror::ClassLoader> class_loader, in ResolveMethod()
|
/art/compiler/optimizing/ |
D | inliner.h | 138 /*out*/Handle<mirror::ObjectArray<mirror::Class>>* inline_cache) 147 /*out*/Handle<mirror::ObjectArray<mirror::Class>>* inline_cache) 156 /*out*/Handle<mirror::ObjectArray<mirror::Class>> inline_cache) 161 const Handle<mirror::ObjectArray<mirror::Class>>& classes) 170 Handle<mirror::ObjectArray<mirror::Class>> classes) 176 Handle<mirror::ObjectArray<mirror::Class>> classes) 181 Handle<mirror::ObjectArray<mirror::Class>> classes) 232 Handle<mirror::Class> klass,
|
D | reference_type_propagation.h | 34 Handle<mirror::ClassLoader> class_loader, 35 Handle<mirror::DexCache> hint_dex_cache, 99 Handle<mirror::ClassLoader> class_loader_; 104 Handle<mirror::DexCache> hint_dex_cache_;
|
/art/compiler/ |
D | compiler.h | 38 template<class T> class Handle; variable 68 Handle<mirror::ClassLoader> class_loader, 70 Handle<mirror::DexCache> dex_cache) const = 0; 75 Handle<mirror::DexCache> dex_cache) const = 0;
|