Lines Matching refs:DexFile
64 uint32_t DexFile::CalculateChecksum() const { in CalculateChecksum()
68 uint32_t DexFile::CalculateChecksum(const uint8_t* begin, size_t size) { in CalculateChecksum()
69 const uint32_t non_sum_bytes = OFFSETOF_MEMBER(DexFile::Header, signature_); in CalculateChecksum()
73 uint32_t DexFile::ChecksumMemoryRange(const uint8_t* begin, size_t size) { in ChecksumMemoryRange()
77 int DexFile::GetPermissions() const { in GetPermissions()
82 bool DexFile::IsReadOnly() const { in IsReadOnly()
87 bool DexFile::EnableWrite() const { in EnableWrite()
92 bool DexFile::DisableWrite() const { in DisableWrite()
97 DexFile::DexFile(const uint8_t* base, in DexFile() function in art::DexFile
138 DexFile::~DexFile() { in ~DexFile()
145 bool DexFile::Init(std::string* error_msg) { in Init()
152 bool DexFile::CheckMagicAndVersion(std::string* error_msg) const { in CheckMagicAndVersion()
176 void DexFile::InitializeSectionsFromMapList() { in InitializeSectionsFromMapList()
208 uint32_t DexFile::Header::GetVersion() const { in GetVersion()
213 const ClassDef* DexFile::FindClassDef(dex::TypeIndex type_idx) const { in FindClassDef()
228 std::optional<uint32_t> DexFile::GetCodeItemOffset(const ClassDef &class_def, in GetCodeItemOffset()
240 uint32_t DexFile::FindCodeItemOffset(const dex::ClassDef &class_def, in FindCodeItemOffset()
247 const FieldId* DexFile::FindFieldId(const TypeId& declaring_klass, in FindFieldId()
282 const MethodId* DexFile::FindMethodId(const TypeId& declaring_klass, in FindMethodId()
292 const MethodId* DexFile::FindMethodIdByIndex(dex::TypeIndex class_idx, in FindMethodIdByIndex()
327 const StringId* DexFile::FindStringId(const char* string) const { in FindStringId()
346 const TypeId* DexFile::FindTypeId(const char* string) const { in FindTypeId()
366 const TypeId* DexFile::FindTypeId(dex::StringIndex string_idx) const { in FindTypeId()
383 const ProtoId* DexFile::FindProtoId(dex::TypeIndex return_type_idx, in FindProtoId()
421 bool DexFile::CreateTypeList(std::string_view signature, in CreateTypeList()
471 int32_t DexFile::FindTryItem(const TryItem* try_items, uint32_t tries_size, uint32_t address) { in FindTryItem()
494 int32_t DexFile::ReadSignedInt(const uint8_t* ptr, int zwidth) { in ReadSignedInt()
505 uint32_t DexFile::ReadUnsignedInt(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedInt()
517 int64_t DexFile::ReadSignedLong(const uint8_t* ptr, int zwidth) { in ReadSignedLong()
528 uint64_t DexFile::ReadUnsignedLong(const uint8_t* ptr, int zwidth, bool fill_on_right) { in ReadUnsignedLong()
539 void DexFile::AppendPrettyMethod(uint32_t method_idx, in AppendPrettyMethod()
570 std::string DexFile::PrettyField(uint32_t field_idx, bool with_type) const { in PrettyField()
586 std::string DexFile::PrettyType(dex::TypeIndex type_idx) const { in PrettyType()
594 dex::ProtoIndex DexFile::GetProtoIndexForCallSite(uint32_t call_site_idx) const { in GetProtoIndexForCallSite()
605 std::ostream& operator<<(std::ostream& os, const DexFile& dex_file) { in operator <<()
613 EncodedArrayValueIterator::EncodedArrayValueIterator(const DexFile& dex_file, in EncodedArrayValueIterator()
641 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next()
645 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next()
649 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, false); in Next()
653 jval_.i = DexFile::ReadSignedInt(ptr_, value_arg); in Next()
656 jval_.j = DexFile::ReadSignedLong(ptr_, value_arg); in Next()
659 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, true); in Next()
662 jval_.j = DexFile::ReadUnsignedLong(ptr_, value_arg, true); in Next()
668 jval_.i = DexFile::ReadUnsignedInt(ptr_, value_arg, false); in Next()