Lines Matching refs:def
348 ArtClassDefinition def; in RedefineClasses() local
349 res = def.Init(env, definitions[i]); in RedefineClasses()
353 def_vector.push_back(std::move(def)); in RedefineClasses()
383 for (const ArtClassDefinition& def : definitions) { in RedefineClassesDirect() local
385 if (def.IsModified()) { in RedefineClassesDirect()
386 jvmtiError res = r.AddRedefinition(env, def); in RedefineClassesDirect()
395 jvmtiError Redefiner::AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) { in AddRedefinition() argument
398 if ((ret = GetClassLocation(env, def.GetClass(), &original_dex_location))) { in AddRedefinition()
404 if ((ret = env->GetClassSignature(def.GetClass(), &signature_ptr, &generic_ptr_unused)) != OK) { in AddRedefinition()
411 def.GetDexData(), in AddRedefinition()
415 os << "Failed to create anonymous mmap for modified dex file of class " << def.GetName() in AddRedefinition()
432 os << "Unable to load modified dex file for " << def.GetName() << ": " << *error_msg_; in AddRedefinition()
438 def.GetClass(), in AddRedefinition()
441 def.GetNewOriginalDexFile())); in AddRedefinition()
695 const art::DexFile::ClassDef& def = dex_file_->GetClassDef(0); in CheckClass() local
700 if (def.GetJavaAccessFlags() != (current_class->GetAccessFlags() & art::kAccValidClassFlags)) { in CheckClass()
708 DCHECK_NE(def.class_idx_, art::dex::TypeIndex::Invalid()) << "Invalid type index"; in CheckClass()
709 const char* descriptor = dex_file_->StringByTypeIdx(def.class_idx_); in CheckClass()
720 if (def.superclass_idx_ != art::dex::TypeIndex::Invalid()) { in CheckClass()
725 const char* super_descriptor = dex_file_->StringByTypeIdx(def.superclass_idx_); in CheckClass()
732 const art::DexFile::TypeList* interfaces = dex_file_->GetInterfacesList(def); in CheckClass()