Lines Matching refs:ref2
128 MethodReference ref2(dex_file, 2u);
130 EXPECT_EQ(0u, patcher_.GetOffset(ref2));
135 EXPECT_EQ(0u, patcher_.GetOffset(ref2));
140 EXPECT_EQ(0u, patcher_.GetOffset(ref2));
145 EXPECT_EQ(0u, patcher_.GetOffset(ref2));
148 patcher_.SetOffset(ref2, off2);
150 EXPECT_EQ(off2, patcher_.GetOffset(ref2));
155 EXPECT_EQ(off2 + adjustment2 - adjustment3, patcher_.GetOffset(ref2));
161 MethodReference ref2(dex_file, 2u);
177 uint32_t method2_offset_adjusted = patcher_.ReserveSpace(method2_offset, method, ref2);
179 ASSERT_TRUE(EqualRef(ref2, mock_->last_reserve_method_));