Searched refs:alignment (Results 1 – 11 of 11) sorted by relevance
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
D | DexRandomAccessFile.java | 298 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/ |
D | writer.h | 153 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/ |
D | bit_utils.h | 155 #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/ |
D | elf_builder.h | 658 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/ |
D | quick_entrypoints_arm.S | 406 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/ |
D | quick_entrypoints_mips.S | 126 # 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/ |
D | quick_entrypoints_mips64.S | 645 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/ |
D | assembler_x86.cc | 1597 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()
|
D | assembler_x86.h | 499 void Align(int alignment, int offset);
|
/art/compiler/utils/x86_64/ |
D | assembler_x86_64.cc | 2086 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()
|
D | assembler_x86_64.h | 627 void Align(int alignment, int offset);
|