Home
last modified time | relevance | path

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

/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc72 static const uint8_t expected_code[] = { in TEST_F() local
121 static const uint8_t expected_code[] = { in TEST_F() local
145 static const uint8_t expected_code[] = { in TEST_F() local
169 static const uint8_t expected_code[] = { in TEST_F() local
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc52 static const uint8_t expected_code[] = { in TEST_F() local
101 static const uint8_t expected_code[] = { in TEST_F() local
132 static const uint8_t expected_code[] = { in TEST_F() local
164 static const uint8_t expected_code[] = { in TEST_F() local
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc263 const std::vector<uint8_t> expected_code = CompileMethodCallThunk(); in CheckThunk() local
418 const uint8_t expected_code[] = { in CheckPcRelativePatch() local
435 static const uint8_t expected_code[] = { in TEST_F() local
479 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); in TEST_F() local
513 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
538 auto expected_code = GenNopsAndBl(3u, kBlPlusMax); in TEST_F() local
562 auto expected_code = GenNopsAndBl(2u, kBlMinusMax); in TEST_F() local
608 auto expected_code = in TEST_F() local
642 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
702 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
[all …]
/art/dex2oat/linker/riscv64/
Drelative_patcher_riscv64_test.cc134 auto expected_code = in TestNopsAuipcAddi() local
159 auto expected_code = in TestNopsAuipcLwu() local
184 auto expected_code = in TestNopsAuipcLd() local
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc229 const std::vector<uint8_t> expected_code = CompileMethodCallThunk(); in CheckThunk() local
318 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr() local
342 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset); in TestNopsAdrpAdd() local
385 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUse() local
407 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUseHasThunk() local
600 const std::vector<uint8_t> expected_code = RawCode({kBlPlus0}); in TEST_F() local
640 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); in TEST_F() local
673 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); in TEST_F() local
702 auto expected_code = GenNopsAndBl(1u, kBlPlusMax); in TEST_F() local
726 auto expected_code = GenNopsAndBl(0u, kBlMinusMax); in TEST_F() local
[all …]
/art/dex2oat/linker/
Drelative_patcher_test.h227 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod()
253 void DumpDiff(const ArrayRef<const uint8_t>& expected_code, in DumpDiff()