Lines Matching refs:other_dexfile
65 uint32_t MethodHelper::FindDexMethodIndexInOtherDexFile(const DexFile& other_dexfile) in FindDexMethodIndexInOtherDexFile() argument
69 if (dexfile == &other_dexfile) { in FindDexMethodIndexInOtherDexFile()
75 other_dexfile.FindStringId(mid_declaring_class_descriptor); in FindDexMethodIndexInOtherDexFile()
78 other_dexfile.FindTypeId(other_dexfile.GetIndexForStringId(*other_descriptor)); in FindDexMethodIndexInOtherDexFile()
81 const DexFile::StringId* other_name = other_dexfile.FindStringId(mid_name); in FindDexMethodIndexInOtherDexFile()
85 bool success = other_dexfile.CreateTypeList( in FindDexMethodIndexInOtherDexFile()
90 other_dexfile.FindProtoId(other_return_type_idx, other_param_type_idxs); in FindDexMethodIndexInOtherDexFile()
92 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
95 return other_dexfile.GetIndexForMethodId(*other_mid); in FindDexMethodIndexInOtherDexFile()
105 uint32_t MethodHelper::FindDexMethodIndexInOtherDexFile(const DexFile& other_dexfile, in FindDexMethodIndexInOtherDexFile() argument
112 const DexFile::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile()
113 DCHECK_STREQ(dexfile->GetMethodName(mid), other_dexfile.GetMethodName(name_and_sig_mid)); in FindDexMethodIndexInOtherDexFile()
114 DCHECK_EQ(dexfile->GetMethodSignature(mid), other_dexfile.GetMethodSignature(name_and_sig_mid)); in FindDexMethodIndexInOtherDexFile()
115 if (dexfile == &other_dexfile) { in FindDexMethodIndexInOtherDexFile()
120 other_dexfile.FindStringId(mid_declaring_class_descriptor); in FindDexMethodIndexInOtherDexFile()
123 other_dexfile.FindTypeId(other_dexfile.GetIndexForStringId(*other_descriptor)); in FindDexMethodIndexInOtherDexFile()
125 const DexFile::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
126 *other_type_id, other_dexfile.GetStringId(name_and_sig_mid.name_idx_), in FindDexMethodIndexInOtherDexFile()
127 other_dexfile.GetProtoId(name_and_sig_mid.proto_idx_)); in FindDexMethodIndexInOtherDexFile()
129 return other_dexfile.GetIndexForMethodId(*other_mid); in FindDexMethodIndexInOtherDexFile()