Searched refs:kMethodCodeSize (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 707 constexpr size_t kMethodCodeSize = 8u; in TestBakerFieldWide() local 714 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerFieldWide() 728 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TestBakerFieldWide() 736 ASSERT_EQ(kMethodCodeSize, expected_code.size()) << "bne=0x" << std::hex << bne; in TestBakerFieldWide() 802 constexpr size_t kMethodCodeSize = 6u; in TestBakerFieldNarrow() local 812 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerFieldNarrow() 826 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArmAlignment); in TestBakerFieldNarrow() 837 ASSERT_EQ(kMethodCodeSize, expected_code.size()) << "bne=0x" << std::hex << bne; in TestBakerFieldNarrow() 1109 constexpr size_t kMethodCodeSize = 8u; in TEST_F() local 1115 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TEST_F() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 1048 constexpr size_t kMethodCodeSize = 8u; in TestBakerField() local 1055 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TestBakerField() 1068 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TestBakerField() 1077 ASSERT_EQ(kMethodCodeSize, expected_code.size()); in TestBakerField() 1301 constexpr size_t kMethodCodeSize = 8u; in TEST_F() local 1307 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TEST_F() 1318 uint32_t thunk_offset = GetMethodOffset(method_idx) + RoundUp(kMethodCodeSize, kArm64Alignment); in TEST_F() 1325 ASSERT_EQ(kMethodCodeSize, expected_code.size()); in TEST_F() 1377 constexpr size_t kMethodCodeSize = 8u; in TEST_F() local 1384 ASSERT_EQ(kMethodCodeSize, raw_code.size()); in TEST_F() [all …]
|