Lines Matching refs:ptr
528 dex::u2* const begin = bytecode_.ptr<dex::u2>(0); in FixupSwitchOffsets()
530 dex::u2* ptr = begin; in FixupSwitchOffsets() local
531 while (ptr < end) { in FixupSwitchOffsets()
532 const auto opcode = dex::OpcodeFromBytecode(*ptr); in FixupSwitchOffsets()
533 const auto offset = ptr - begin; in FixupSwitchOffsets()
535 auto dex_instr = dex::DecodeInstruction(ptr); in FixupSwitchOffsets()
538 auto dex_instr = dex::DecodeInstruction(ptr); in FixupSwitchOffsets()
541 auto isize = dex::GetWidthFromBytecode(ptr); in FixupSwitchOffsets()
543 ptr += isize; in FixupSwitchOffsets()
545 SLICER_CHECK(ptr == end); in FixupSwitchOffsets()
553 auto payload = bytecode_.ptr<dex::PackedSwitchPayload>(payload_offset * 2); in FixupPackedSwitch()
570 auto payload = bytecode_.ptr<dex::SparseSwitchPayload>(payload_offset * 2); in FixupSparseSwitch()
591 dex::u2* instr = bytecode_.ptr<dex::u2>(fixup.offset * 2); in FixupLabels()
631 bytecode_.ptr<dex::u2>(0), bytecode_.size() / 2); in Encode()