Searched refs:thunk_size (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 414 uint32_t thunk_size = MethodCallThunkSize(); in TestNopsAdrpInsn2AndUseHasThunk() local 415 ASSERT_EQ(thunk_offset + thunk_size, output_.size()); in TestNopsAdrpInsn2AndUseHasThunk() 416 ASSERT_EQ(thunk_size, expected_thunk_code.size()); in TestNopsAdrpInsn2AndUseHasThunk() 417 ArrayRef<const uint8_t> thunk_code(&output_[thunk_offset], thunk_size); in TestNopsAdrpInsn2AndUseHasThunk() 748 uint32_t thunk_size = MethodCallThunkSize(); in TEST_F() local 749 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArm64Alignment); in TEST_F() 750 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F() 1140 size_t thunk_size = CompileBakerOffsetThunk(/* base_reg */ 0, /* holder_reg */ 0).size(); in TEST_F() local 1142 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64Alignment) in TEST_F() 1229 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 | 577 uint32_t thunk_size = MethodCallThunkSize(); in TEST_F() local 578 uint32_t thunk_offset = RoundDown(method_after_thunk_header_offset - thunk_size, kArmAlignment); in TEST_F() 579 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F() 937 size_t thunk_size = in TEST_F() local 941 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F() 1037 size_t thunk_size = in TEST_F() local 1041 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmAlignment) in TEST_F()
|