Lines Matching refs:u2
235 static u4 ReadU4(const u2* ptr) { return ptr[0] | (u4(ptr[1]) << 16); } in ReadU4()
237 static void WriteU4(u2* ptr, u4 val) { in WriteU4()
640 data.Push<dex::u2>(ir_type->index); in WriteTypeList()
822 void Writer::WriteInstructions(slicer::ArrayView<const dex::u2> instructions) { in WriteInstructions()
826 dex::u2* ptr = dex_->code.ptr<dex::u2>(offset); in WriteInstructions()
827 dex::u2* const end = ptr + instructions.size(); in WriteInstructions()
832 dex::u2* idx = &ptr[1]; in WriteInstructions()
862 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
863 *idx = dex::u2(new_index); in WriteInstructions()
871 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
872 *idx = dex::u2(new_index); in WriteInstructions()
879 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
880 *idx = dex::u2(new_index); in WriteInstructions()
887 SLICER_CHECK(dex::u2(new_index) == new_index); in WriteInstructions()
888 *idx = dex::u2(new_index); in WriteInstructions()
910 std::map<dex::u2, dex::u2> handlers_offset_map; in WriteTryBlocks()
949 dex::u2 new_Handler_offset = handlers_offset_map[dex_try.handler_off]; in WriteTryBlocks()