Lines Matching refs:offset
126 bytecode->offset = offset_; in Visit()
212 if (label->offset != kInvalidOffset) { in Visit()
213 assert(label->offset <= offset_); in Visit()
214 A = label->offset - offset_; in Visit()
229 if (label->offset != kInvalidOffset) { in Visit()
231 assert(label->offset <= offset_); in Visit()
232 A = label->offset - offset_; in Visit()
247 if (label->offset != kInvalidOffset) { in Visit()
248 assert(label->offset <= offset_); in Visit()
249 B = label->offset - offset_; in Visit()
266 if (label->offset != kInvalidOffset) { in Visit()
267 assert(label->offset <= offset_); in Visit()
268 C = label->offset - offset_; in Visit()
284 if (label->offset != kInvalidOffset) { in Visit()
285 assert(label->offset <= offset_); in Visit()
286 B = label->offset - offset_; in Visit()
440 packed_switch->offset = offset_; in Visit()
464 sparse_switch->offset = offset_; in Visit()
487 array_data->offset = offset_; in Visit()
503 label->offset = offset_; in Visit()
508 dbg_header->offset = offset_; in Visit()
513 dbg_annotation->offset = offset_; in Visit()
518 try_begin->offset = offset_; in Visit()
523 try_end->offset = offset_; in Visit()
533 const auto offset = ptr - begin; in FixupSwitchOffsets() local
536 FixupPackedSwitch(offset, offset + dex::s4(dex_instr.vB)); in FixupSwitchOffsets()
539 FixupSparseSwitch(offset, offset + dex::s4(dex_instr.vB)); in FixupSwitchOffsets()
560 assert(label->offset != kInvalidOffset); in FixupPackedSwitch()
561 payload->targets[i] = label->offset - base_offset; in FixupPackedSwitch()
579 assert(label->offset != kInvalidOffset); in FixupSparseSwitch()
580 targets[i] = label->offset - base_offset; in FixupSparseSwitch()
586 dex::u4 label_offset = fixup.label->offset; in FixupLabels()
588 assert(label_offset > fixup.offset); in FixupLabels()
589 dex::u4 rel_offset = label_offset - fixup.offset; in FixupLabels()
591 dex::u2* instr = bytecode_.ptr<dex::u2>(fixup.offset * 2); in FixupLabels()
615 instr->offset = kInvalidOffset; in Encode()