/art/compiler/linker/x86/ |
relative_patcher_x86_test.cc | 51 static const uint8_t expected_code[] = { local 54 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 96 static const uint8_t expected_code[] = { local 101 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 124 static const uint8_t expected_code[] = { local 131 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
|
/art/compiler/linker/x86_64/ |
relative_patcher_x86_64_test.cc | 61 static const uint8_t expected_code[] = { local 64 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 106 static const uint8_t expected_code[] = { local 111 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 127 static const uint8_t expected_code[] = { local 132 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code)));
|
/art/compiler/linker/arm/ |
relative_patcher_thumb2_test.cc | 96 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_); 97 if (output_.size() < thunk_offset + expected_code.size()) { 99 << "thunk_offset + expected_code.size() == " << (thunk_offset + expected_code.size()); 102 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size()); 103 if (linked_code == expected_code) { 107 DumpDiff(expected_code, linked_code); 157 const uint8_t expected_code[] = { local 164 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 187 static const uint8_t expected_code[] = local 231 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >> 1) & 0xffu)); local 251 auto expected_code = GenNopsAndBl(3u, kBlPlusMax); local 271 auto expected_code = GenNopsAndBl(2u, kBlMinusMax); local 299 auto expected_code = GenNopsAndBl(2u, 0xf3ffd700 | ((diff >> 1) & 0xffu)); local 325 auto expected_code = GenNopsAndBl(3u, kBlPlus0 | ((diff >> 1) & 0xffu)); local [all...] |
/art/compiler/linker/arm64/ |
relative_patcher_arm64_test.cc | 121 ArrayRef<const uint8_t> expected_code(patcher->thunk_code_); 122 if (output_.size() < thunk_offset + expected_code.size()) { 124 << "thunk_offset + expected_code.size() == " << (thunk_offset + expected_code.size()); 127 ArrayRef<const uint8_t> linked_code(&output_[thunk_offset], expected_code.size()); 128 if (linked_code == expected_code) { 132 DumpDiff(expected_code, linked_code); 192 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); local 193 EXPECT_TRUE(CheckLinkedMethod(MethodRef(1u), ArrayRef<const uint8_t>(expected_code))); 226 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset) local 248 auto expected_code = GenNopsAndAdrpLdr(num_nops, method1_offset, target_offset); local 340 static const uint8_t expected_code[] = { local 384 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu)); local 409 auto expected_code = GenNopsAndBl(1u, kBlPlusMax); local 431 auto expected_code = GenNopsAndBl(0u, kBlMinusMax); local 461 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | (diff >> 2)); local 490 auto expected_code = GenNopsAndBl(1u, kBlPlus0 | (diff >> 2)); local [all...] |