/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 96 explicit Handle(StackReference<S>* reference) in Handle() function 100 explicit Handle(const Handle<S>& handle) in Handle() function 108 template<class S> friend class Handle; variable 116 class MutableHandle : public Handle<T> { [all …]
|
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 | 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 | class_linker.h | 82 template<class T> class Handle; variable 150 Handle<mirror::ClassLoader> class_loader, 168 Handle<mirror::ClassLoader> class_loader) 194 Handle<mirror::ClassLoader> class_loader, 235 Handle<mirror::DexCache> dex_cache) 261 Handle<mirror::DexCache> dex_cache, 262 Handle<mirror::ClassLoader> class_loader) 320 Handle<mirror::DexCache> dex_cache, 321 Handle<mirror::ClassLoader> class_loader, 336 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 | transaction_test.cc | 37 Handle<mirror::ClassLoader> class_loader( in testTransactionAbort() 95 Handle<mirror::Class> h_klass( in TEST_F() 100 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 112 Handle<mirror::Class> h_klass( in TEST_F() 115 Handle<mirror::Object> h_obj(hs.NewHandle(h_klass->AllocObject(soa.Self()))); in TEST_F() 139 Handle<mirror::Class> h_klass( in TEST_F() 148 Handle<mirror::Array> h_obj( in TEST_F() 165 Handle<mirror::ClassLoader> class_loader( in TEST_F() 169 Handle<mirror::Class> h_klass( in TEST_F() 225 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 IsPathOrDexClassLoader() 47 Handle<mirror::ClassLoader> class_loader) in IsInMemoryDexClassLoader() 55 Handle<mirror::ClassLoader> class_loader) in IsDelegateLastClassLoader() 70 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexElements() 87 Handle<mirror::ObjectArray<mirror::Object>> dex_elements = in VisitClassLoaderDexElements() 113 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles() 156 Handle<mirror::ClassLoader> class_loader, in VisitClassLoaderDexFiles()
|
D | method_handles.cc | 194 Handle<mirror::MethodType> callsite_type, in ConvertJValueCommon() 195 Handle<mirror::MethodType> callee_type, in ConvertJValueCommon() 235 Handle<mirror::Class> h_to(hs.NewHandle(to)); in ConvertJValueCommon() 236 Handle<mirror::Object> h_obj(hs.NewHandle(src_value.GetL())); in ConvertJValueCommon() 336 Handle<mirror::MethodType> callsite_type, in ConvertAndCopyArgumentsFromCallerFrame() 337 Handle<mirror::MethodType> callee_type, in ConvertAndCopyArgumentsFromCallerFrame() 404 static inline bool IsCallerTransformer(Handle<mirror::MethodType> callsite_type) in IsCallerTransformer() 419 Handle<mirror::MethodType> callsite_type, in MethodHandleInvokeMethod() 420 Handle<mirror::MethodType> target_type, in MethodHandleInvokeMethod() 529 Handle<mirror::EmulatedStackFrame> emulated_stack_frame( 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() 211 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TestPrimitiveArray() 222 Handle<Class> aioobe = hs.NewHandle( in TestPrimitiveArray() 261 Handle<ArrayT> a = hs.NewHandle(ArrayT::Alloc(soa.Self(), 2)); in TEST_F() 272 Handle<Class> aioobe = hs.NewHandle( in TEST_F() 292 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 | 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 | 24 template<class T> class Handle; variable 43 Handle<String> declaring_class, 44 Handle<String> method_name, 45 Handle<String> file_name,
|
D | var_handle_test.cc | 48 Handle<FieldVarHandle> fvh = hs.NewHandle( in CreateFieldVarHandle() 50 Handle<Class> var_type = hs.NewHandle(art_field->ResolveType()); in CreateFieldVarHandle() 55 Handle<Class> declaring_type = hs.NewHandle(art_field->GetDeclaringClass()); in CreateFieldVarHandle() 67 Handle<Class> array_class, in CreateArrayElementVarHandle() 71 Handle<ArrayElementVarHandle> vh = hs.NewHandle( in CreateArrayElementVarHandle() 77 Handle<Class> var_type = hs.NewHandle(array_class->GetComponentType()); in CreateArrayElementVarHandle() 78 Handle<Class> index_type = hs.NewHandle(class_linker->FindPrimitiveClass('I')); in CreateArrayElementVarHandle() 85 Handle<Class> view_array_class, in CreateByteArrayViewVarHandle() 90 Handle<ByteArrayViewVarHandle> bvh = hs.NewHandle( in CreateByteArrayViewVarHandle() 96 Handle<Class> var_type = hs.NewHandle(view_array_class->GetComponentType()); in CreateByteArrayViewVarHandle() [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/tools/tracefast-plugin/ |
D | tracefast.cc | 46 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodEntered() 52 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodExited() 55 art::Handle<art::mirror::Object> return_value ATTRIBUTE_UNUSED) in MethodExited() 59 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodExited() 66 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in MethodUnwind() 72 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in DexPcMoved() 78 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in FieldRead() 85 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in FieldWritten() 89 art::Handle<art::mirror::Object> field_value ATTRIBUTE_UNUSED) in FieldWritten() 93 art::Handle<art::mirror::Object> this_object ATTRIBUTE_UNUSED, in FieldWritten() [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()
|