Home | History | Annotate | Download | only in arm

Lines Matching full:arrayref

29   static const ArrayRef<const uint8_t> kCallCode;
31 static const ArrayRef<const uint8_t> kNopCode;
41 bool Create2MethodsWithGap(const ArrayRef<const uint8_t>& method1_code,
42 const ArrayRef<const LinkerPatch>& method1_patches,
43 const ArrayRef<const uint8_t>& method3_code,
44 const ArrayRef<const LinkerPatch>& method3_patches,
61 ArrayRef<const uint8_t> method2_code(method2_raw_code);
62 AddCompiledMethod(MethodRef(2u), method2_code, ArrayRef<const LinkerPatch>());
96 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_);
102 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size());
133 const ArrayRef<const uint8_t> code(raw_code);
138 AddCompiledMethod(MethodRef(1u), code, ArrayRef<const LinkerPatch>(patches));
164 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
172 const ArrayRef<const uint8_t> Thumb2RelativePatcherTest::kCallCode(kCallRawCode);
178 const ArrayRef<const uint8_t> Thumb2RelativePatcherTest::kNopCode(kNopRawCode);
184 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
190 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
197 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(method1_patches));
201 AddCompiledMethod(MethodRef(2u), kCallCode, ArrayRef<const LinkerPatch>(method2_patches));
212 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(method1_expected_code)));
217 EXPECT_TRUE(CheckLinkedMethod(MethodRef(2u), ArrayRef<const uint8_t>(method2_expected_code)));
224 AddCompiledMethod(MethodRef(1u), kCallCode, ArrayRef<const LinkerPatch>(patches));
232 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
238 ArrayRef<const uint8_t> method1_code(method1_raw_code);
246 kNopCode, ArrayRef<const LinkerPatch>(),
252 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
258 ArrayRef<const uint8_t> method3_code(method3_raw_code);
265 bool thunk_in_gap = Create2MethodsWithGap(kNopCode, ArrayRef<const LinkerPatch>(),
272 EXPECT_TRUE(CheckLinkedMethod(MethodRef(3u), ArrayRef<const uint8_t>(expected_code)));
278 ArrayRef<const uint8_t> method1_code(method1_raw_code);
286 kNopCode, ArrayRef<const LinkerPatch>(),
300 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
307 ArrayRef<const uint8_t> method3_code(method3_raw_code);
314 bool thunk_in_gap = Create2MethodsWithGap(kNopCode, ArrayRef<const LinkerPatch>(),
326 EXPECT_TRUE(CheckLinkedMethod(MethodRef(3u), ArrayRef<const uint8_t>(expected_code)));