Searched refs:thunk_size (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 415 uint32_t thunk_size = MethodCallThunkSize(); in TestNopsAdrpInsn2AndUseHasThunk() local 416 ASSERT_EQ(thunk_offset + thunk_size, output_.size()); in TestNopsAdrpInsn2AndUseHasThunk() 417 ASSERT_EQ(thunk_size, expected_thunk_code.size()); in TestNopsAdrpInsn2AndUseHasThunk() 418 ArrayRef<const uint8_t> thunk_code(&output_[thunk_offset], thunk_size); in TestNopsAdrpInsn2AndUseHasThunk() 749 uint32_t thunk_size = MethodCallThunkSize(); in TEST_F() local 750 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F() 751 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F() 1171 size_t thunk_size = CompileBakerOffsetThunk(/* base_reg */ 0, /* holder_reg */ 0).size(); in TEST_F() local 1173 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F() 1260 size_t thunk_size = CompileBakerOffsetThunk(/* base_reg */ 0, /* holder_reg */ 0).size(); in TEST_F() local [all …]
|
/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 578 uint32_t thunk_size = MethodCallThunkSize(); in TEST_F() local 579 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArmAlignment); in TEST_F() 580 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F() 967 size_t thunk_size = in TEST_F() local 971 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F() 1067 size_t thunk_size = in TEST_F() local 1071 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
|