Home
last modified time | relevance | path

Searched defs:expected_code (Results 1 – 5 of 5) sorted by relevance

/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc51 static const uint8_t expected_code[] = { in TEST_F() local
100 static const uint8_t expected_code[] = { in TEST_F() local
130 static const uint8_t expected_code[] = { in TEST_F() local
162 static const uint8_t expected_code[] = { in TEST_F() local
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64_test.cc71 static const uint8_t expected_code[] = { in TEST_F() local
120 static const uint8_t expected_code[] = { in TEST_F() local
143 static const uint8_t expected_code[] = { in TEST_F() local
167 static const uint8_t expected_code[] = { in TEST_F() local
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc100 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_); in CheckThunk() local
197 const uint8_t expected_code[] = { in CheckPcRelativePatch() local
214 static const uint8_t expected_code[] = { in TEST_F() local
258 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); in TEST_F() local
287 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
310 auto expected_code = GenNopsAndBl(3u, kBlPlusMax); in TEST_F() local
332 auto expected_code = GenNopsAndBl(2u, kBlMinusMax); in TEST_F() local
362 auto expected_code = GenNopsAndBl(2u, 0xf3ffd700 | ((diff >> 1) & 0xffu)); in TEST_F() local
390 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc131 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_); in CheckThunk() local
218 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr() local
242 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset); in TestNopsAdrpAdd() local
293 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUse() local
314 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUseHasThunk() local
463 static const uint8_t expected_code[] = { in TEST_F() local
507 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); in TEST_F() local
538 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); in TEST_F() local
567 auto expected_code = GenNopsAndBl(1u, kBlPlusMax); in TEST_F() local
591 auto expected_code = GenNopsAndBl(0u, kBlMinusMax); in TEST_F() local
[all …]
/art/compiler/linker/
Drelative_patcher_test.h184 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod()
211 void DumpDiff(const ArrayRef<const uint8_t>& expected_code, in DumpDiff()