Lines Matching refs:offset
64 try_block_begin->offset = tryBlock.start_addr; in DissasembleTryBlocks()
68 try_block_end->offset = tryBlock.start_addr + tryBlock.insn_count; in DissasembleTryBlocks()
123 dbg_header->offset = 0; in DissasembleDebugInfo()
130 annotation->offset = 0; in DissasembleDebugInfo()
139 annotation->offset = 0; in DissasembleDebugInfo()
233 annotation->offset = address; in DissasembleDebugInfo()
248 dex::u4 offset = ptr - begin; in DissasembleBytecode() local
253 instr = DecodePackedSwitch(ptr, offset); in DissasembleBytecode()
257 instr = DecodeSparseSwitch(ptr, offset); in DissasembleBytecode()
261 instr = DecodeArrayData(ptr, offset); in DissasembleBytecode()
265 instr = DecodeBytecode(ptr, offset); in DissasembleBytecode()
269 instr->offset = offset; in DissasembleBytecode()
299 return a->offset < b->offset; in MergeInstructions()
307 (*extraIt)->offset == (*instrIt)->offset) { in MergeInstructions()
359 dex::u4 offset) { in DecodePackedSwitch() argument
363 SLICER_CHECK(offset % 2 == 0); in DecodePackedSwitch()
364 auto& instr = packed_switches_[offset].instr; in DecodePackedSwitch()
385 dex::u4 offset) { in DecodeSparseSwitch() argument
389 SLICER_CHECK(offset % 2 == 0); in DecodeSparseSwitch()
390 auto& instr = sparse_switches_[offset].instr; in DecodeSparseSwitch()
414 ArrayData* CodeIr::DecodeArrayData(const dex::u2* ptr, dex::u4 offset) { in DecodeArrayData() argument
417 SLICER_CHECK(offset % 2 == 0); in DecodeArrayData()
451 Bytecode* CodeIr::DecodeBytecode(const dex::u2* ptr, dex::u4 offset) { in DecodeBytecode() argument
485 auto label = GetLabel(offset + dex::s4(dex_instr.vA)); in DecodeBytecode()
492 dex::u4 targetOffset = offset + dex::s4(dex_instr.vB); in DecodeBytecode()
501 base_offset = offset; in DecodeBytecode()
506 base_offset = offset; in DecodeBytecode()
522 auto label = GetLabel(offset + dex::s4(dex_instr.vC)); in DecodeBytecode()
628 Label* CodeIr::GetLabel(dex::u4 offset) { in GetLabel() argument
629 auto& p = labels_[offset]; in GetLabel()
631 p = Alloc<Label>(offset); in GetLabel()