• Home
  • Raw
  • Download

Lines Matching refs:h_this

116 ObjPtr<ClassExt> Class::EnsureExtDataPresent(Handle<Class> h_this, Thread* self) {  in EnsureExtDataPresent()  argument
117 ObjPtr<ClassExt> existing(h_this->GetExtData()); in EnsureExtDataPresent()
137 set = h_this->CasFieldObject<true>(ext_offset, in EnsureExtDataPresent()
143 set = h_this->CasFieldObject<false>(ext_offset, in EnsureExtDataPresent()
149 ObjPtr<ClassExt> ret(set ? new_ext.Get() : h_this->GetExtData()); in EnsureExtDataPresent()
150 DCHECK(!set || h_this->GetExtData() == new_ext.Get()); in EnsureExtDataPresent()
212 void Class::SetStatus(Handle<Class> h_this, ClassStatus new_status, Thread* self) { in SetStatus() argument
213 ClassStatus old_status = h_this->GetStatus(); in SetStatus()
217 CheckSetStatus(self, h_this, new_status, old_status); in SetStatus()
220 CHECK(!h_this->IsErroneous()) in SetStatus()
222 << h_this->PrettyClass() in SetStatus()
226 LOG(ERROR) << "Setting " << h_this->PrettyDescriptor() << " to erroneous."; in SetStatus()
232 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in SetStatus()
242 h_this->SetStatusInternal(new_status); in SetStatus()
247 if (new_status == ClassStatus::kVisiblyInitialized && !h_this->IsVariableSize()) { in SetStatus()
248 DCHECK_EQ(h_this->GetObjectSizeAllocFastPath(), std::numeric_limits<uint32_t>::max()); in SetStatus()
250 if (!h_this->IsFinalizable()) { in SetStatus()
251 h_this->SetObjectSizeAllocFastPath(RoundUp(h_this->GetObjectSize(), kObjectAlignment)); in SetStatus()
256 CHECK(h_this->WasVerificationAttempted()) << h_this->PrettyClassAndClassLoader(); in SetStatus()
266 if (h_this->IsTemp()) { in SetStatus()
269 CHECK_LT(new_status, ClassStatus::kResolved) << h_this->PrettyDescriptor(); in SetStatus()
271 h_this->NotifyAll(self); in SetStatus()
280 h_this->NotifyAll(self); in SetStatus()
345 ObjPtr<String> Class::ComputeName(Handle<Class> h_this) { in ComputeName() argument
346 ObjPtr<String> name = h_this->GetName(); in ComputeName()
351 const char* descriptor = h_this->GetDescriptor(&temp); in ComputeName()
376 h_this->SetName(name); in ComputeName()
395 Handle<Class> h_this(hs.NewHandle(this)); in DumpClass() local
417 ObjPtr<Class> interface = GetDirectInterface(self, h_this.Get(), i); in DumpClass()
430 os << " vtable (" << h_this->NumVirtualMethods() << " entries, " in DumpClass()
434 h_this->GetVirtualMethodDuringLinking(i, image_pointer_size)).c_str()); in DumpClass()
436 os << " direct methods (" << h_this->NumDirectMethods() << " entries):\n"; in DumpClass()
437 for (size_t i = 0; i < h_this->NumDirectMethods(); ++i) { in DumpClass()
439 h_this->GetDirectMethod(i, image_pointer_size)).c_str()); in DumpClass()
441 if (h_this->NumStaticFields() > 0) { in DumpClass()
442 os << " static fields (" << h_this->NumStaticFields() << " entries):\n"; in DumpClass()
443 if (h_this->IsResolved()) { in DumpClass()
444 for (size_t i = 0; i < h_this->NumStaticFields(); ++i) { in DumpClass()
446 ArtField::PrettyField(h_this->GetStaticField(i)).c_str()); in DumpClass()
452 if (h_this->NumInstanceFields() > 0) { in DumpClass()
453 os << " instance fields (" << h_this->NumInstanceFields() << " entries):\n"; in DumpClass()
454 if (h_this->IsResolved()) { in DumpClass()
455 for (size_t i = 0; i < h_this->NumInstanceFields(); ++i) { in DumpClass()
457 ArtField::PrettyField(h_this->GetInstanceField(i)).c_str()); in DumpClass()
1325 ObjPtr<Class> Class::CopyOf(Handle<Class> h_this, in CopyOf() argument
1336 CopyClassVisitor visitor(self, &h_this, new_length, sizeof(Class), imt, pointer_size); in CopyOf()
1553 int32_t Class::GetInnerClassFlags(Handle<Class> h_this, int32_t default_value) { in GetInnerClassFlags() argument
1554 if (h_this->IsProxyClass() || h_this->GetDexCache() == nullptr) { in GetInnerClassFlags()
1558 if (!annotations::GetInnerClassFlags(h_this, &flags)) { in GetInnerClassFlags()
1659 bool Class::EnsureMethodIds(Handle<Class> h_this) { in EnsureMethodIds() argument
1662 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureMethodIds()
1667 return ext->EnsureJMethodIDsArrayPresent(h_this->NumMethods()); in EnsureMethodIds()
1678 bool Class::EnsureStaticFieldIds(Handle<Class> h_this) { in EnsureStaticFieldIds() argument
1681 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureStaticFieldIds()
1686 return ext->EnsureStaticJFieldIDsArrayPresent(h_this->NumStaticFields()); in EnsureStaticFieldIds()
1696 bool Class::EnsureInstanceFieldIds(Handle<Class> h_this) { in EnsureInstanceFieldIds() argument
1699 ObjPtr<ClassExt> ext(EnsureExtDataPresent(h_this, self)); in EnsureInstanceFieldIds()
1704 return ext->EnsureInstanceJFieldIDsArrayPresent(h_this->NumInstanceFields()); in EnsureInstanceFieldIds()