/art/runtime/ |
D | method_handles.h | 50 bool ConvertJValueCommon(Handle<mirror::MethodType> callsite_type, 51 Handle<mirror::MethodType> callee_type, 61 ALWAYS_INLINE bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, 62 Handle<mirror::MethodType> callee_type, 72 ALWAYS_INLINE bool ConvertReturnValue(Handle<mirror::MethodType> callsite_type, 73 Handle<mirror::MethodType> callee_type, 123 Handle<mirror::MethodType> callsite_type, 124 Handle<mirror::MethodType> callee_type, 132 Handle<mirror::MethodHandle> method_handle, 133 Handle<mirror::MethodType> callsite_type, [all …]
|
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 122 explicit Handle(StackReference<S>* reference) in Handle() function [all …]
|
D | method_handles_test.cc | 50 Handle<mirror::Class> parameter_type) in CreateVoidMethodType() 58 Handle<mirror::Class> void_class = hs.NewHandle(GetClassRoot(ClassRoot::kPrimitiveVoid, cl)); in CreateVoidMethodType() 63 Handle<mirror::Class> from, in TryConversion() 64 Handle<mirror::Class> to, in TryConversion() 68 Handle<mirror::MethodType> from_mt = hs.NewHandle(CreateVoidMethodType(self, from)); in TryConversion() 69 Handle<mirror::MethodType> to_mt = hs.NewHandle(CreateVoidMethodType(self, to)); in TryConversion() 84 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('B')); in TEST_F() 85 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('I')); in TEST_F() 96 Handle<mirror::Class> from = hs.NewHandle(cl->FindPrimitiveClass('C')); in TEST_F() 97 Handle<mirror::Class> to = hs.NewHandle(cl->FindPrimitiveClass('J')); in TEST_F() [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 | 50 Handle<mirror::ClassLoader> class_loader( in TEST_F() 53 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 55 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 60 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() 63 Handle<mirror::Class> proxy_class(hs.NewHandle( in TEST_F() 84 Handle<mirror::ClassLoader> class_loader( in TEST_F() 87 Handle<mirror::Class> I(hs.NewHandle( in TEST_F() 89 Handle<mirror::Class> J(hs.NewHandle( in TEST_F() 94 Handle<mirror::Class> proxyClass; in TEST_F() 96 std::vector<Handle<mirror::Class>> interfaces; in TEST_F() [all …]
|
D | method_handles-inl.h | 108 inline bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, in ConvertArgumentValue() 109 Handle<mirror::MethodType> callee_type, in ConvertArgumentValue() 131 inline bool ConvertArgumentValue(Handle<mirror::MethodType> callsite_type, in ConvertArgumentValue() 132 Handle<mirror::MethodType> callee_type, in ConvertArgumentValue() 142 inline bool ConvertReturnValue(Handle<mirror::MethodType> callsite_type, in ConvertReturnValue() 143 Handle<mirror::MethodType> callee_type, in ConvertReturnValue() 167 Handle<mirror::MethodType> callsite_type, in PerformConversions() 168 Handle<mirror::MethodType> callee_type, in PerformConversions() 174 Handle<mirror::ObjectArray<mirror::Class>> from_types(hs.NewHandle(callsite_type->GetPTypes())); in PerformConversions() 175 Handle<mirror::ObjectArray<mirror::Class>> to_types(hs.NewHandle(callee_type->GetPTypes())); in PerformConversions() [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 | class_linker.h | 84 template<class T> class Handle; variable 176 Handle<mirror::ClassLoader> class_loader, 192 Handle<mirror::ClassLoader> class_loader) 218 Handle<mirror::ClassLoader> class_loader, 259 Handle<mirror::DexCache> dex_cache) 285 Handle<mirror::DexCache> dex_cache, 286 Handle<mirror::ClassLoader> class_loader) 344 Handle<mirror::DexCache> dex_cache, 345 Handle<mirror::ClassLoader> class_loader, 360 Handle<mirror::DexCache> dex_cache, [all …]
|
D | transaction_test.cc | 42 Handle<mirror::ClassLoader> class_loader( in testTransactionAbort() 100 Handle<mirror::Class> h_klass( in TEST_F() 105 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 117 Handle<mirror::Class> h_klass( in TEST_F() 120 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 144 Handle<mirror::Class> h_klass( in TEST_F() 153 Handle<mirror::Array> h_obj = hs.NewHandle( in TEST_F() 171 Handle<mirror::ClassLoader> class_loader( in TEST_F() 175 Handle<mirror::Class> h_klass( in TEST_F() 231 Handle<mirror::Class> object_klass( in TEST_F() [all …]
|
D | var_handles.cc | 32 Handle<mirror::VarHandle> var_handle, in VarHandleInvokeAccessorWithConversions() 33 Handle<mirror::MethodType> callsite_type, in VarHandleInvokeAccessorWithConversions() 39 Handle<mirror::MethodType> accessor_type(hs.NewHandle( in VarHandleInvokeAccessorWithConversions() 63 Handle<mirror::VarHandle> var_handle, in VarHandleInvokeAccessor() 64 Handle<mirror::MethodType> callsite_type, in VarHandleInvokeAccessor()
|
D | class_loader_utils.h | 35 Handle<mirror::ClassLoader> class_loader) in IsInstanceOfBaseDexClassLoader() 44 Handle<mirror::ClassLoader> class_loader) in IsPathOrDexClassLoader() 56 Handle<mirror::ClassLoader> class_loader) in IsInMemoryDexClassLoader() 64 Handle<mirror::ClassLoader> class_loader) in IsDelegateLastClassLoader() 79 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexElements() 96 Handle<mirror::ObjectArray<mirror::Object>> dex_elements = in VisitClassLoaderDexElements() 121 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles() 164 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles()
|
D | method_handles.cc | 195 Handle<mirror::MethodType> callsite_type, in ConvertJValueCommon() 196 Handle<mirror::MethodType> callee_type, in ConvertJValueCommon() 236 Handle<mirror::Class> h_to(hs.NewHandle(to)); in ConvertJValueCommon() 237 Handle<mirror::Object> h_obj(hs.NewHandle(src_value.GetL())); in ConvertJValueCommon() 337 Handle<mirror::MethodType> callsite_type, in ConvertAndCopyArgumentsFromCallerFrame() 338 Handle<mirror::MethodType> callee_type, in ConvertAndCopyArgumentsFromCallerFrame() 405 static inline bool IsCallerTransformer(Handle<mirror::MethodType> callsite_type) in IsCallerTransformer() 420 Handle<mirror::MethodType> callsite_type, in MethodHandleInvokeMethod() 421 Handle<mirror::MethodType> target_type, in MethodHandleInvokeMethod() 422 Handle<mirror::MethodType> nominal_type, in MethodHandleInvokeMethod() [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, 113 ObjPtr<mirror::Object> GetAnnotationForClass(Handle<mirror::Class> klass, 114 Handle<mirror::Class> annotation_class) 116 ObjPtr<mirror::ObjectArray<mirror::Object>> GetAnnotationsForClass(Handle<mirror::Class> klass) 118 ObjPtr<mirror::ObjectArray<mirror::Class>> GetDeclaredClasses(Handle<mirror::Class> klass) 120 ObjPtr<mirror::Class> GetDeclaringClass(Handle<mirror::Class> klass) [all …]
|
/art/runtime/mirror/ |
D | method_type_test.cc | 52 Handle<mirror::ClassLoader> boot_class_loader = hs.NewHandle<mirror::ClassLoader>(nullptr); in CreateMethodType() 54 Handle<mirror::Class> return_clazz = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 60 Handle<mirror::ObjectArray<mirror::Class>> param_classes = hs.NewHandle( in CreateMethodType() 64 Handle<mirror::Class> param = hs.NewHandle(class_linker->FindClass( in CreateMethodType() 77 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 78 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 85 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 86 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("Integer", { "Integer" })); in TEST_F() 93 Handle<mirror::MethodType> mt1 = hs.NewHandle(CreateMethodType("String", { "Integer" })); in TEST_F() 94 Handle<mirror::MethodType> mt2 = hs.NewHandle(CreateMethodType("String", { "String" })); 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() 156 Handle<mirror::ObjectArray<mirror::Class>> from_types(hs.NewHandle(caller_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 157 Handle<mirror::ObjectArray<mirror::Class>> to_types(hs.NewHandle(callee_type->GetPTypes())); in CreateFromShadowFrameAndArgs() 169 Handle<mirror::Class> r_type(hs.NewHandle(callee_type->GetRType())); in CreateFromShadowFrameAndArgs() 175 Handle<mirror::ObjectArray<mirror::Object>> references(hs.NewHandle( in CreateFromShadowFrameAndArgs() [all …]
|
D | object_test.cc | 67 Handle<String> string( in AssertString() 112 Handle<ObjectArray<Object>> a1(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 256))); in TEST_F() 122 Handle<ObjectArray<Object>> oa(hs.NewHandle(AllocObjectArray<Object>(soa.Self(), 2))); in TEST_F() 133 Handle<Class> aioobe = hs.NewHandle( in TEST_F() 147 Handle<mirror::Class> klass(hs.NewHandle(oa->GetClass())); in TEST_F() 212 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TestPrimitiveArray() 223 Handle<Class> aioobe = hs.NewHandle( in TestPrimitiveArray() 260 Handle<PointerArray> a32 = in TEST_F() 277 Handle<PointerArray> a64 = in TEST_F() 304 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F() [all …]
|
D | method_type.cc | 40 Handle<Class> return_type, in Create() 41 Handle<ObjectArray<Class>> parameter_types) { in Create() 43 Handle<MethodType> mt( in Create() 61 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CloneWithoutLeadingParameter() 62 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CloneWithoutLeadingParameter() 64 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, dst_ptypes_count)); in CloneWithoutLeadingParameter() 84 Handle<Class> collector_class = hs.NewHandle(collector_array_class); in CollectTrailingArguments() 85 Handle<Class> dst_rtype = hs.NewHandle(method_type->GetRType()); in CollectTrailingArguments() 86 Handle<ObjectArray<Class>> src_ptypes = hs.NewHandle(method_type->GetPTypes()); in CollectTrailingArguments() 87 Handle<ObjectArray<Class>> dst_ptypes = hs.NewHandle(AllocatePTypesArray(self, start_index + 1)); in CollectTrailingArguments()
|
D | stack_trace_element.h | 24 template<class T> class Handle; variable 43 Handle<String> declaring_class, 44 Handle<String> method_name, 45 Handle<String> file_name,
|
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 …]
|
/art/compiler/driver/ |
D | dex_compilation_unit.h | 38 DexCompilationUnit(Handle<mirror::ClassLoader> class_loader, 46 Handle<mirror::DexCache> dex_cache, 47 Handle<mirror::Class> compiling_class = Handle<mirror::Class>()); 49 Handle<mirror::ClassLoader> GetClassLoader() const { in GetClassLoader() 113 Handle<mirror::DexCache> GetDexCache() const { in GetDexCache() 121 Handle<mirror::Class> GetCompilingClass() const { in GetCompilingClass() 161 const Handle<mirror::ClassLoader> class_loader_; 173 const Handle<mirror::DexCache> dex_cache_; 177 Handle<mirror::Class> compiling_class_;
|
/art/openjdkjvmti/ |
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)
|
D | ti_class_loader.cc | 64 art::Handle<art::mirror::ClassLoader> loader, in AddToClassLoader() 72 art::Handle<art::mirror::Object> java_dex_file_obj( in AddToClassLoader() 77 art::Handle<art::mirror::LongArray> old_cookie(hs.NewHandle(GetDexFileCookie(java_dex_file_obj))); in AddToClassLoader() 78 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 …]
|
/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/tools/tracefast-plugin/ |
D | tracefast.cc | 47 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodEntered() 53 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodExited() 61 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodExited() 69 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodUnwind() 75 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in DexPcMoved() 81 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in FieldRead() 88 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in FieldWritten() 92 art::Handle<art::mirror::Object> field_value ATTRIBUTE_UNUSED) in FieldWritten() 96 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in FieldWritten() 104 art::Handle<art::mirror::Throwable> exception_object ATTRIBUTE_UNUSED) in ExceptionThrown() [all …]
|
/art/runtime/verifier/ |
D | method_verifier.h | 123 Handle<mirror::DexCache> dex_cache, 124 Handle<mirror::ClassLoader> class_loader, 137 Handle<mirror::DexCache> dex_cache, 138 Handle<mirror::ClassLoader> class_loader) 254 Handle<mirror::DexCache> dex_cache, 255 Handle<mirror::ClassLoader> class_loader, 276 Handle<mirror::DexCache> dex_cache, 277 Handle<mirror::ClassLoader> class_loader, 299 Handle<mirror::DexCache> dex_cache, 300 Handle<mirror::ClassLoader> class_loader,
|