Searched refs:thunk_size (Results 1 – 2 of 2) sorted by relevance
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 421 uint32_t thunk_size = MethodCallThunkSize(); in TestNopsAdrpInsn2AndUseHasThunk() local 422 ASSERT_EQ(thunk_offset + thunk_size, output_.size()); in TestNopsAdrpInsn2AndUseHasThunk() 423 ASSERT_EQ(thunk_size, expected_thunk_code.size()); in TestNopsAdrpInsn2AndUseHasThunk() 424 ArrayRef<const uint8_t> thunk_code(&output_[thunk_offset], thunk_size); in TestNopsAdrpInsn2AndUseHasThunk() 764 uint32_t thunk_size = MethodCallThunkSize(); in TEST_F() local 766 method_after_thunk_header_offset - thunk_size, kArm64CodeAlignment); in TEST_F() 767 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F() 1193 size_t thunk_size = CompileBakerOffsetThunk(/* base_reg */ 0, /* holder_reg */ 0).size(); in TEST_F() local 1195 1 * MB - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArm64CodeAlignment) in TEST_F() 1282 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 | 599 uint32_t thunk_size = MethodCallThunkSize(); in TEST_F() local 601 RoundDown(method_after_thunk_header_offset - thunk_size, kArmCodeAlignment); in TEST_F() 602 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F() 1000 size_t thunk_size = in TEST_F() local 1004 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmCodeAlignment) in TEST_F() 1103 size_t thunk_size = in TEST_F() local 1107 - RoundUp(thunk_size + sizeof(OatQuickMethodHeader), kArmCodeAlignment) in TEST_F()
|