Home
last modified time | relevance | path

Searched refs:CodeAlignmentSize (Results 1 – 8 of 8) sorted by relevance

/art/compiler/linker/
Dmulti_oat_relative_patcher.cc42 start_size_code_alignment_ = relative_patcher_->CodeAlignmentSize(); in StartOatFile()
47 uint32_t MultiOatRelativePatcher::CodeAlignmentSize() const { in CodeAlignmentSize() function in art::linker::MultiOatRelativePatcher
48 DCHECK_GE(relative_patcher_->CodeAlignmentSize(), start_size_code_alignment_); in CodeAlignmentSize()
49 return relative_patcher_->CodeAlignmentSize() - start_size_code_alignment_; in CodeAlignmentSize()
Drelative_patcher_test.h98 uint32_t CodeAlignmentSize(uint32_t header_offset_to_align) { in CodeAlignmentSize() function
114 uint32_t alignment_size = CodeAlignmentSize(offset); in Link()
143 uint32_t alignment_size = CodeAlignmentSize(offset); in Link()
Drelative_patcher.h73 uint32_t CodeAlignmentSize() const { in CodeAlignmentSize() function
Dmulti_oat_relative_patcher.h123 uint32_t CodeAlignmentSize() const;
Dmulti_oat_relative_patcher_test.cc236 EXPECT_EQ(method2_alignment_size, patcher_.CodeAlignmentSize()); in TEST_F()
253 EXPECT_EQ(method3_alignment_size, patcher_.CodeAlignmentSize()); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc112 kTrampolineSize + CodeAlignmentSize(kTrampolineSize) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
135 chunk_size - CodeAlignmentSize(chunk_start) - sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
141 DCHECK_EQ(CodeAlignmentSize(gap_end), CodeAlignmentSize(chunk_start)); in Create2MethodsWithGap()
156 uint32_t header_offset = thunk_end + CodeAlignmentSize(thunk_end); in Create2MethodsWithGap()
386 kTrampolineSize + CodeAlignmentSize(kTrampolineSize) + sizeof(OatQuickMethodHeader); in TestAdrpInsn2Ldr()
436 kTrampolineSize + CodeAlignmentSize(kTrampolineSize) + sizeof(OatQuickMethodHeader); in TestAdrpInsn2Add()
692 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F()
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc145 kTrampolineSize + CodeAlignmentSize(kTrampolineSize) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
155 method1_end + CodeAlignmentSize(method1_end) + sizeof(OatQuickMethodHeader); in Create2MethodsWithGap()
177 uint32_t header_offset = thunk_end + CodeAlignmentSize(thunk_end); in Create2MethodsWithGap()
499 DCHECK_EQ(thunk_offset + thunk_size + CodeAlignmentSize(thunk_offset + thunk_size), in TEST_F()
/art/compiler/
Doat_writer.cc97 inline uint32_t CodeAlignmentSize(uint32_t header_offset, const CompiledMethod& compiled_method) { in CodeAlignmentSize() function
1035 offset_ += CodeAlignmentSize(offset_, *compiled_method); in NewQuickCodeOffset()
1345 uint32_t alignment_size = CodeAlignmentSize(offset_, *compiled_method); in VisitMethod()
2615 size_code_alignment_ += relative_patcher_->CodeAlignmentSize(); in WriteCodeDexFiles()