/art/runtime/mirror/ |
D | art_field-inl.h | 39 inline Class* ArtField::GetDeclaringClass() { in GetDeclaringClass() function 51 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlags() 56 DCHECK(GetDeclaringClass()->IsResolved() || GetDeclaringClass()->IsErroneous()); in GetOffset() 61 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetOffsetDuringLinking() 67 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get32() 77 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set32() 87 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Get64() 97 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in Set64() 107 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in GetObj() 117 DCHECK(!IsStatic() || (object == GetDeclaringClass()) || !Runtime::Current()->IsStarted()); in SetObj() [all …]
|
D | art_method-inl.h | 50 inline Class* ArtMethod::GetDeclaringClass() { in GetDeclaringClass() function 63 DCHECK(GetDeclaringClass()->IsIdxLoaded() || GetDeclaringClass()->IsErroneous()); in GetAccessFlags() 68 DCHECK(GetDeclaringClass()->IsResolved() || GetDeclaringClass()->IsErroneous()); in GetMethodIndex() 81 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in GetDexMethodIndex() 93 if (method != nullptr && !method->GetDeclaringClass()->IsErroneous()) { in GetDexCacheResolvedMethod() 161 Class* methods_class = GetDeclaringClass(); in CheckIncompatibleClassChange() 167 return IsConstructor() || IsStatic() || GetDeclaringClass()->IsInterface(); in CheckIncompatibleClassChange() 169 Class* methods_class = GetDeclaringClass(); in CheckIncompatibleClassChange() 498 return GetInterfaceMethodIfProxy()->GetDeclaringClass()->GetSourceFile(); in GetDeclaringClassSourceFile() 502 return GetInterfaceMethodIfProxy()->GetDeclaringClass()->GetDexClassDefIndex(); in GetClassDefIndex() [all …]
|
D | art_field.cc | 46 DCHECK(GetDeclaringClass()->IsLoaded() || GetDeclaringClass()->IsErroneous()); in SetOffset()
|
D | art_method.cc | 68 if (GetDeclaringClass()->IsInterface()) { in GetInvokeType() 108 Class* declaring_class = GetDeclaringClass(); in FindOverriddenMethod() 121 Runtime::Current()->GetClassLinker()->FindMethodForProxy(GetDeclaringClass(), this)); in FindOverriddenMethod() 126 IfTable* iftable = GetDeclaringClass()->GetIfTable(); in FindOverriddenMethod()
|
D | stack_trace_element.h | 34 String* GetDeclaringClass() SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetDeclaringClass() function
|
/art/runtime/entrypoints/portable/ |
D | portable_field_entrypoints.cc | 34 field->Set32<false>(field->GetDeclaringClass(), new_value); in art_portable_set32_static_from_code() 41 field->Set32<false>(field->GetDeclaringClass(), new_value); in art_portable_set32_static_from_code() 54 field->Set64<false>(field->GetDeclaringClass(), new_value); in art_portable_set64_static_from_code() 61 field->Set64<false>(field->GetDeclaringClass(), new_value); in art_portable_set64_static_from_code() 75 field->SetObj<false>(field->GetDeclaringClass(), new_value); in art_portable_set_obj_static_from_code() 82 field->SetObj<false>(field->GetDeclaringClass(), new_value); in art_portable_set_obj_static_from_code() 93 return field->Get32(field->GetDeclaringClass()); in art_portable_get32_static_from_code() 98 return field->Get32(field->GetDeclaringClass()); in art_portable_get32_static_from_code() 108 return field->Get64(field->GetDeclaringClass()); in art_portable_get64_static_from_code() 113 return field->Get64(field->GetDeclaringClass()); in art_portable_get64_static_from_code() [all …]
|
D | portable_trampoline_entrypoints.cc | 215 if (method->IsStatic() && !method->GetDeclaringClass()->IsInitialized()) { in artPortableToInterpreterBridge() 217 Handle<mirror::Class> h_class(hs.NewHandle(method->GetDeclaringClass())); in artPortableToInterpreterBridge() 401 Handle<mirror::Class> called_class(hs.NewHandle(called->GetDeclaringClass())); in artPortableResolutionTrampoline() 445 DCHECK(called->GetDeclaringClass()->IsInitializing()); in artPortableResolutionTrampoline()
|
/art/runtime/entrypoints/quick/ |
D | quick_field_entrypoints.cc | 35 return field->Get32(field->GetDeclaringClass()); in artGet32StaticFromCode() 40 return field->Get32(field->GetDeclaringClass()); in artGet32StaticFromCode() 52 return field->Get64(field->GetDeclaringClass()); in artGet64StaticFromCode() 57 return field->Get64(field->GetDeclaringClass()); in artGet64StaticFromCode() 70 return field->GetObj(field->GetDeclaringClass()); in artGetObjStaticFromCode() 76 return field->GetObj(field->GetDeclaringClass()); in artGetObjStaticFromCode() 159 field->Set32<false>(field->GetDeclaringClass(), new_value); in artSet32StaticFromCode() 166 field->Set32<false>(field->GetDeclaringClass(), new_value); in artSet32StaticFromCode() 180 field->Set64<false>(field->GetDeclaringClass(), new_value); in artSet64StaticFromCode() 187 field->Set64<false>(field->GetDeclaringClass(), new_value); in artSet64StaticFromCode() [all …]
|
/art/runtime/entrypoints/ |
D | entrypoint_utils-inl.h | 62 mirror::Class* referrer = method->GetDeclaringClass(); in CheckObjectAlloc() 196 mirror::Class* referrer = method->GetDeclaringClass(); in CheckArrayAlloc() 245 mirror::Class* referrer = method->GetDeclaringClass(); in AllocArrayFromCodeResolved() 280 mirror::Class* fields_class = resolved_field->GetDeclaringClass(); in FindFieldFromCode() 286 mirror::Class* referring_class = referrer->GetDeclaringClass(); in FindFieldFromCode() 382 mirror::Class* methods_class = resolved_method->GetDeclaringClass(); in FindMethodFromCode() 383 mirror::Class* referring_class = (*referrer)->GetDeclaringClass(); in FindMethodFromCode() 403 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodFromCode() 411 mirror::Class* super_class = (*referrer)->GetDeclaringClass()->GetSuperClass(); in FindMethodFromCode() 418 ThrowNoSuchMethodError(type, resolved_method->GetDeclaringClass(), in FindMethodFromCode() [all …]
|
D | entrypoint_utils.cc | 69 mirror::Class* referrer_klass = referrer->GetDeclaringClass(); in CheckFilledNewArrayAlloc() 292 if (mh_interface_method.GetMethod()->GetDeclaringClass()->IsInterface()) { in InvokeProxyInvocationHandler() 297 DCHECK(mh_interface_method.GetMethod()->GetDeclaringClass()->IsObjectClass()); in InvokeProxyInvocationHandler()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 46 result->SetL(visitor.caller->GetDeclaringClass()); in UnstartedRuntimeJni() 143 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 154 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 161 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 168 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 175 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 182 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 195 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 203 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() 212 soa.AddLocalReference<jclass>(method->GetDeclaringClass())); in InterpreterJni() [all …]
|
/art/runtime/ |
D | field_helper.cc | 29 if (UNLIKELY(field_->GetDeclaringClass()->IsProxyClass())) { in GetType() 44 return field_->GetDeclaringClass()->GetDescriptor(&declaring_class_descriptor_); in GetDeclaringClassDescriptor()
|
D | class_linker-inl.h | 61 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveString() 79 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveType() 92 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveType() 124 mirror::Class* declaring_class = (*referrer)->GetDeclaringClass(); in ResolveMethod() 144 mirror::Class* declaring_class = referrer->GetDeclaringClass(); in ResolveField()
|
D | common_throws.cc | 233 << PrettyDescriptor(interface_method->GetDeclaringClass()) in ThrowIncompatibleClassChangeErrorClassForInterfaceDispatch() 319 mirror::DexCache* dex_cache = throw_location.GetMethod()->GetDeclaringClass()->GetDexCache(); in ThrowNoSuchMethodError() 324 throw_location.GetMethod()->GetDeclaringClass(), msg.str().c_str()); in ThrowNoSuchMethodError() 351 mirror::DexCache* dex_cache = throw_location.GetMethod()->GetDeclaringClass()->GetDexCache(); in ThrowNullPointerExceptionForMethodAccess() 360 mirror::DexCache* dex_cache = method->GetDeclaringClass()->GetDexCache(); in ThrowNullPointerExceptionForMethodAccess() 497 *throw_location.GetMethod()->GetDeclaringClass()->GetDexCache()->GetDexFile(); in ThrowNullPointerExceptionFromDexPC()
|
D | dex_file.cc | 1203 … case kBoolean: field->SetBoolean<kTransactionActive>(field->GetDeclaringClass(), jval_.z); break; in ReadValueToField() 1204 case kByte: field->SetByte<kTransactionActive>(field->GetDeclaringClass(), jval_.b); break; in ReadValueToField() 1205 case kShort: field->SetShort<kTransactionActive>(field->GetDeclaringClass(), jval_.s); break; in ReadValueToField() 1206 case kChar: field->SetChar<kTransactionActive>(field->GetDeclaringClass(), jval_.c); break; in ReadValueToField() 1207 case kInt: field->SetInt<kTransactionActive>(field->GetDeclaringClass(), jval_.i); break; in ReadValueToField() 1208 case kLong: field->SetLong<kTransactionActive>(field->GetDeclaringClass(), jval_.j); break; in ReadValueToField() 1209 case kFloat: field->SetFloat<kTransactionActive>(field->GetDeclaringClass(), jval_.f); break; in ReadValueToField() 1210 case kDouble: field->SetDouble<kTransactionActive>(field->GetDeclaringClass(), jval_.d); break; in ReadValueToField() 1211 case kNull: field->SetObject<kTransactionActive>(field->GetDeclaringClass(), NULL); break; in ReadValueToField() 1215 field->SetObject<kTransactionActive>(field->GetDeclaringClass(), resolved); in ReadValueToField() [all …]
|
D | exception_test.cc | 228 trace_array->Get(0)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F() 235 trace_array->Get(1)->GetDeclaringClass()->ToModifiedUtf8().c_str()); in TEST_F()
|
D | method_helper-inl.h | 67 mirror::Class* declaringClass = method->GetDeclaringClass(); in ResolveString()
|
/art/runtime/native/ |
D | java_lang_reflect_Method.cc | 39 CHECK(proxy_method->GetDeclaringClass()->IsProxyClass()); in Method_getExceptionTypesNative() 40 mirror::Class* proxy_class = proxy_method->GetDeclaringClass(); in Method_getExceptionTypesNative()
|
D | dalvik_system_VMStack.cc | 84 return soa.AddLocalReference<jobject>(visitor.caller->GetDeclaringClass()->GetClassLoader()); in VMStack_getCallingClassLoader() 95 mirror::Class* c = GetMethod()->GetDeclaringClass(); in VMStack_getClosestUserClassLoader() 125 return soa.AddLocalReference<jclass>(visitor.caller->GetDeclaringClass()); in VMStack_getStackClass2()
|
D | java_lang_reflect_Constructor.cc | 41 Handle<mirror::Class> c(hs.NewHandle(m->GetDeclaringClass())); in Constructor_newInstance()
|
/art/compiler/driver/ |
D | compiler_driver-inl.h | 85 mirror::Class* declaring_class = resolved_field->GetDeclaringClass(); in GetResolvedFieldDexFileLocation() 99 mirror::Class* fields_class = resolved_field->GetDeclaringClass(); in IsFastInstanceField() 113 mirror::Class* fields_class = resolved_field->GetDeclaringClass(); in IsFastStaticField() 192 mirror::Class* declaring_class = resolved_method->GetDeclaringClass(); in GetResolvedMethodDexFileLocation() 219 mirror::Class* methods_class = resolved_method->GetDeclaringClass(); in IsFastInvoke() 320 mirror::Class* methods_class = resolved_method->GetDeclaringClass(); in NeedsClassInitialization()
|
/art/compiler/sea_ir/types/ |
D | type_inference.h | 70 const Type& GetDeclaringClass() { in GetDeclaringClass() function
|
/art/runtime/entrypoints/interpreter/ |
D | interpreter_entrypoints.cc | 34 mirror::Class* declaringClass = method->GetDeclaringClass(); in artInterpreterToCompiledCodeBridge()
|
/art/runtime/verifier/ |
D | method_verifier.cc | 1203 RegType& declaring_class = GetDeclaringClass(); in SetTypesFromSignature() 1765 << GetDeclaringClass(); in CodeFlowVerifyInstruction() 2375 mirror::Class* called_interface = abs_method->GetDeclaringClass(); in CodeFlowVerifyInstruction() 2967 RegType& referrer = GetDeclaringClass(); in ResolveClassAndCheckAccess() 3055 RegType& referrer = GetDeclaringClass(); in ResolveMethodAndCheckAccess() 3099 if (!referrer.CanAccessMember(res_method->GetDeclaringClass(), res_method->GetAccessFlags())) { in ResolveMethodAndCheckAccess() 3185 mirror::Class* klass = res_method->GetDeclaringClass(); in VerifyInvocationArgsFromIterator() 3313 RegType& super = GetDeclaringClass().GetSuperClass(®_types_); in VerifyInvocationArgs() 3424 mirror::Class* klass = res_method->GetDeclaringClass(); in VerifyInvokeVirtualQuickArgs() 3681 } else if (!GetDeclaringClass().CanAccessMember(field->GetDeclaringClass(), in GetStaticField() [all …]
|
/art/compiler/ |
D | image_writer.cc | 359 mirror::Class* declaring_class = art_method->GetDeclaringClass(); in AssignImageBinSlot() 679 if (method != NULL && !IsImageClass(method->GetDeclaringClass())) { in PruneNonImageClasses() 685 if (field != NULL && !IsImageClass(field->GetDeclaringClass())) { in PruneNonImageClasses() 1087 …(!method->IsStatic() || method->IsConstructor() || method->GetDeclaringClass()->IsInitialized())) { in GetQuickCode() 1090 (!method->IsStatic() || method->GetDeclaringClass()->IsInitialized())) { in GetQuickCode() 1098 CHECK(!method->GetDeclaringClass()->IsInitialized()); in GetQuickCode() 1186 orig->GetDeclaringClass()->IsInitialized())) { in FixupMethod() 1189 (!orig->IsStatic() || orig->GetDeclaringClass()->IsInitialized())) { in FixupMethod() 1198 CHECK(!orig->GetDeclaringClass()->IsInitialized()); in FixupMethod()
|