Home
last modified time | relevance | path

Searched refs:switch_offset (Results 1 – 2 of 2) sorted by relevance

/aosp12/art/dexdump/
H A Ddexdump_cfg.cc51 int32_t switch_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in DumpMethodCFG() local
52 const uint16_t* switch_insns = insns + switch_offset; in DumpMethodCFG()
224 int32_t switch_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in DumpMethodCFG() local
226 const uint16_t* switch_insns = insns + switch_offset; in DumpMethodCFG()
/aosp12/art/runtime/verifier/
H A Dmethod_verifier.cc1494 int32_t switch_offset = insns[1] | (static_cast<int32_t>(insns[2]) << 16); in CheckSwitchTargets() local
1495 if (UNLIKELY(static_cast<int32_t>(cur_offset) + switch_offset < 0 || in CheckSwitchTargets()
1496 cur_offset + switch_offset + 2 > insn_count)) { in CheckSwitchTargets()
1498 << ", switch offset " << switch_offset in CheckSwitchTargets()
1503 const uint16_t* switch_insns = insns + switch_offset; in CheckSwitchTargets()
1507 << ", switch offset " << switch_offset; in CheckSwitchTargets()
1512 if (UNLIKELY(!GetInstructionFlags(cur_offset + switch_offset).IsOpcode())) { in CheckSwitchTargets()
1514 << ", switch offset " << switch_offset in CheckSwitchTargets()
1541 if (UNLIKELY(cur_offset + switch_offset + table_size > (uint32_t) insn_count)) { in CheckSwitchTargets()
1543 << ", switch offset " << switch_offset in CheckSwitchTargets()
[all …]