Lines Matching refs:dex
45 using dex::CallSiteIdItem;
46 using dex::ClassDef;
47 using dex::FieldId;
48 using dex::MapList;
49 using dex::MapItem;
50 using dex::MethodHandleItem;
51 using dex::MethodId;
52 using dex::ProtoId;
53 using dex::StringId;
54 using dex::TryItem;
55 using dex::TypeId;
56 using dex::TypeList;
58 static_assert(sizeof(dex::StringIndex) == sizeof(uint32_t), "StringIndex size is wrong");
59 static_assert(std::is_trivially_copyable<dex::StringIndex>::value, "StringIndex not trivial");
60 static_assert(sizeof(dex::TypeIndex) == sizeof(uint16_t), "TypeIndex size is wrong");
61 static_assert(std::is_trivially_copyable<dex::TypeIndex>::value, "TypeIndex not trivial");
212 const ClassDef* DexFile::FindClassDef(dex::TypeIndex type_idx) const { in FindClassDef()
243 const dex::TypeIndex class_idx = GetIndexForTypeId(declaring_klass); in FindFieldId()
244 const dex::StringIndex name_idx = GetIndexForStringId(name); in FindFieldId()
245 const dex::TypeIndex type_idx = GetIndexForTypeId(type); in FindFieldId()
278 const dex::TypeIndex class_idx = GetIndexForTypeId(declaring_klass); in FindMethodId()
279 const dex::StringIndex name_idx = GetIndexForStringId(name); in FindMethodId()
280 const dex::ProtoIndex proto_idx = GetIndexForProtoId(signature); in FindMethodId()
314 const StringId& str_id = GetStringId(dex::StringIndex(mid)); in FindStringId()
333 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
348 const TypeId* DexFile::FindTypeId(dex::StringIndex string_idx) const { in FindTypeId()
353 const TypeId& type_id = GetTypeId(dex::TypeIndex(mid)); in FindTypeId()
365 const ProtoId* DexFile::FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
366 const dex::TypeIndex* signature_type_idxs, in FindProtoId()
372 const dex::ProtoIndex proto_idx = static_cast<dex::ProtoIndex>(mid); in FindProtoId()
404 dex::TypeIndex* return_type_idx, in CreateTypeList()
405 std::vector<dex::TypeIndex>* param_type_idxs) const { in CreateTypeList()
442 dex::TypeIndex type_idx = GetIndexForTypeId(*type_id); in CreateTypeList()
567 std::string DexFile::PrettyType(dex::TypeIndex type_idx) const { in PrettyType()
575 dex::ProtoIndex DexFile::GetProtoIndexForCallSite(uint32_t call_site_idx) const { in GetProtoIndexForCallSite()
581 return dex::ProtoIndex(it.GetJavaValue().i); in GetProtoIndexForCallSite()
669 namespace dex { namespace