Lines Matching refs:dex

46 using dex::CallSiteIdItem;
47 using dex::ClassDef;
48 using dex::FieldId;
49 using dex::MapList;
50 using dex::MapItem;
51 using dex::MethodHandleItem;
52 using dex::MethodId;
53 using dex::ProtoId;
54 using dex::StringId;
55 using dex::TryItem;
56 using dex::TypeId;
57 using dex::TypeList;
59 static_assert(sizeof(dex::StringIndex) == sizeof(uint32_t), "StringIndex size is wrong");
60 static_assert(std::is_trivially_copyable<dex::StringIndex>::value, "StringIndex not trivial");
61 static_assert(sizeof(dex::TypeIndex) == sizeof(uint16_t), "TypeIndex size is wrong");
62 static_assert(std::is_trivially_copyable<dex::TypeIndex>::value, "TypeIndex not trivial");
213 const ClassDef* DexFile::FindClassDef(dex::TypeIndex type_idx) const { in FindClassDef()
244 const dex::TypeIndex class_idx = GetIndexForTypeId(declaring_klass); in FindFieldId()
245 const dex::StringIndex name_idx = GetIndexForStringId(name); in FindFieldId()
246 const dex::TypeIndex type_idx = GetIndexForTypeId(type); in FindFieldId()
279 const dex::TypeIndex class_idx = GetIndexForTypeId(declaring_klass); in FindMethodId()
280 const dex::StringIndex name_idx = GetIndexForStringId(name); in FindMethodId()
281 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId()
315 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
334 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
349 const TypeId* DexFile::FindTypeId(dex::StringIndex string_idx) const { in FindTypeId()
354 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
366 const ProtoId* DexFile::FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
367 const dex::TypeIndex* signature_type_idxs, in FindProtoId()
373 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId()
405 dex::TypeIndex* return_type_idx, in CreateTypeList()
406 std::vector<dex::TypeIndex>* param_type_idxs) const { in CreateTypeList()
443 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id); in CreateTypeList()
568 std::string DexFile::PrettyType(dex::TypeIndex type_idx) const { in PrettyType()
576 dex::ProtoIndex DexFile::GetProtoIndexForCallSite(uint32_t call_site_idx) const { in GetProtoIndexForCallSite()
582 return dex::ProtoIndex(it.GetJavaValue().i); in GetProtoIndexForCallSite()
670 namespace dex { namespace