Lines Matching refs:ptr

71     const dex::u1* ptr =  in DissasembleTryBlocks()  local
72 ir_code->catch_handlers.ptr<dex::u1>() + tryBlock.handler_off; in DissasembleTryBlocks()
73 int catchCount = dex::ReadSLeb128(&ptr); in DissasembleTryBlocks()
79 dex::u4 type_index = dex::ReadULeb128(&ptr); in DissasembleTryBlocks()
84 dex::u4 address = dex::ReadULeb128(&ptr); in DissasembleTryBlocks()
96 dex::u4 address = dex::ReadULeb128(&ptr); in DissasembleTryBlocks()
145 const dex::u1* ptr = ir_debug_info->data.ptr<dex::u1>(); in DissasembleDebugInfo() local
147 while ((opcode = *ptr++) != dex::DBG_END_SEQUENCE) { in DissasembleDebugInfo()
153 address += dex::ReadULeb128(&ptr); in DissasembleDebugInfo()
158 line += dex::ReadSLeb128(&ptr); in DissasembleDebugInfo()
166 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DissasembleDebugInfo()
169 dex::u4 name_index = dex::ReadULeb128(&ptr) - 1; in DissasembleDebugInfo()
173 dex::u4 type_index = dex::ReadULeb128(&ptr) - 1; in DissasembleDebugInfo()
181 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DissasembleDebugInfo()
184 dex::u4 name_index = dex::ReadULeb128(&ptr) - 1; in DissasembleDebugInfo()
188 dex::u4 type_index = dex::ReadULeb128(&ptr) - 1; in DissasembleDebugInfo()
192 dex::u4 sig_index = dex::ReadULeb128(&ptr) - 1; in DissasembleDebugInfo()
200 annotation->operands.push_back(Alloc<VReg>(dex::ReadULeb128(&ptr))); in DissasembleDebugInfo()
215 dex::u4 name_index = dex::ReadULeb128(&ptr) - 1; in DissasembleDebugInfo()
242 const dex::u2* ptr = begin; in DissasembleBytecode() local
244 while (ptr < end) { in DissasembleBytecode()
245 auto isize = dex::GetWidthFromBytecode(ptr); in DissasembleBytecode()
248 dex::u4 offset = ptr - begin; in DissasembleBytecode()
251 switch (*ptr) { in DissasembleBytecode()
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()
271 ptr += isize; in DissasembleBytecode()
273 SLICER_CHECK(ptr == end); in DissasembleBytecode()
371 const dex::u2* ptr) { in FixupPackedSwitch() argument
374 auto dex_packed_switch = reinterpret_cast<const dex::PackedSwitchPayload*>(ptr); in FixupPackedSwitch()
397 const dex::u2* ptr) { in FixupSparseSwitch() argument
400 auto dex_sparse_switch = reinterpret_cast<const dex::SparseSwitchPayload*>(ptr); in FixupSparseSwitch()
414 ArrayData* CodeIr::DecodeArrayData(const dex::u2* ptr, dex::u4 offset) { in DecodeArrayData() argument
415 auto dex_array_data = reinterpret_cast<const dex::ArrayData*>(ptr); in DecodeArrayData()
420 instr->data = slicer::MemView(ptr, dex::GetWidthFromBytecode(ptr) * 2); in DecodeArrayData()
451 Bytecode* CodeIr::DecodeBytecode(const dex::u2* ptr, dex::u4 offset) { in DecodeBytecode() argument
452 auto dex_instr = dex::DecodeInstruction(ptr); in DecodeBytecode()