Home
last modified time | relevance | path

Searched refs:alignment (Results 1 – 11 of 11) sorted by relevance

/art/tools/dexfuzz/src/dexfuzz/rawdex/
DDexRandomAccessFile.java298 public void alignForwards(int alignment) throws IOException { in alignForwards() argument
300 long mask = alignment - 1; in alignForwards()
302 int extra = alignment - (int) (offset & mask); in alignForwards()
311 public void alignBackwards(int alignment) throws IOException { in alignBackwards() argument
313 long mask = alignment - 1; in alignBackwards()
/art/compiler/dwarf/
Dwriter.h153 void Pad(int alignment) { in Pad() argument
154 DCHECK_NE(alignment, 0); in Pad()
155 data_->resize(RoundUp(data_->size(), alignment), 0); in Pad()
/art/runtime/base/
Dbit_utils.h155 #define CHECK_ALIGNED(value, alignment) \ argument
156 CHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value)
158 #define DCHECK_ALIGNED(value, alignment) \ argument
159 DCHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value)
161 #define DCHECK_ALIGNED_PARAM(value, alignment) \ argument
162 DCHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value)
/art/compiler/
Delf_builder.h658 Elf_Off alignment = header->sh_addralign > 0 ? header->sh_addralign : 1; in Write() local
663 header->sh_offset = RoundUp(file_offset, alignment); in Write()
668 header->sh_addr = RoundUp(load_address, alignment); in Write()
/art/runtime/arch/arm/
Dquick_entrypoints_arm.S406 mov sp, r4 @ 16B alignment ourselves.
1057 sub sp, #8 @ space for return value argument. Note: AAPCS stack alignment is 8B, no
1316 push {r4, r7-r12, lr} @ 8 words - keep alignment
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S126 # 2 words for alignment and bottom word will hold Method*
520 sll $sp, $t0, 4 # so we have to ensure ART 16B alignment ourselves.
/art/runtime/arch/mips64/
Dquick_entrypoints_mips64.S645 daddiu $t3, $a2, 24 # add 8 for ArtMethod* and 16 for stack alignment
748 daddiu $t3, $a2, 24 # add 8 for ArtMethod* and 16 for stack alignment
/art/compiler/utils/x86/
Dassembler_x86.cc1597 void X86Assembler::Align(int alignment, int offset) { in Align() argument
1598 CHECK(IsPowerOfTwo(alignment)); in Align()
1600 while (((offset + buffer_.GetPosition()) & (alignment-1)) != 0) { in Align()
Dassembler_x86.h499 void Align(int alignment, int offset);
/art/compiler/utils/x86_64/
Dassembler_x86_64.cc2086 void X86_64Assembler::Align(int alignment, int offset) { in Align() argument
2087 CHECK(IsPowerOfTwo(alignment)); in Align()
2089 while (((offset + buffer_.GetPosition()) & (alignment-1)) != 0) { in Align()
Dassembler_x86_64.h627 void Align(int alignment, int offset);