Home
last modified time | relevance | path

Searched defs:expected_code (Results 1 – 5 of 5) 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.cc250 const std::vector<uint8_t> expected_code = CompileMethodCallThunk(); in CheckThunk() local
397 const uint8_t expected_code[] = { in CheckPcRelativePatch() local
414 static const uint8_t expected_code[] = { in TEST_F() local
458 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); in TEST_F() local
492 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
517 auto expected_code = GenNopsAndBl(3u, kBlPlusMax); in TEST_F() local
541 auto expected_code = GenNopsAndBl(2u, kBlMinusMax); in TEST_F() local
586 auto expected_code = in TEST_F() local
620 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
680 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 1) & 0xffu)); in TEST_F() local
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc223 const std::vector<uint8_t> expected_code = CompileMethodCallThunk(); in CheckThunk() local
312 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); in TestNopsAdrpLdr() local
336 auto expected_code = GenNopsAndAdrpAdd(num_nops, method1_offset, string_offset); in TestNopsAdrpAdd() local
379 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUse() local
401 auto expected_code = GenNopsAndAdrpAndUse(num_nops, method1_offset, target_offset, use_insn); in TestNopsAdrpInsn2AndUseHasThunk() local
586 const std::vector<uint8_t> expected_code = RawCode({kBlPlus0}); in TEST_F() local
626 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); in TEST_F() local
659 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); in TEST_F() local
688 auto expected_code = GenNopsAndBl(1u, kBlPlusMax); in TEST_F() local
712 auto expected_code = GenNopsAndBl(0u, kBlMinusMax); in TEST_F() local
[all …]
/art/dex2oat/linker/
Drelative_patcher_test.h216 bool CheckLinkedMethod(MethodReference method_ref, const ArrayRef<const uint8_t>& expected_code) { in CheckLinkedMethod()
242 void DumpDiff(const ArrayRef<const uint8_t>& expected_code, in DumpDiff()