Searched refs:alignment (Results 1 - 11 of 11) sorted by relevance
/art/tools/dexfuzz/src/dexfuzz/rawdex/ |
H A D | DexRandomAccessFile.java | 28 * and also provides word-alignment functions. 296 * @param alignment N to align to. 298 public void alignForwards(int alignment) throws IOException { argument 300 long mask = alignment - 1; 302 int extra = alignment - (int) (offset & mask); 309 * @param alignment N to align to. 311 public void alignBackwards(int alignment) throws IOException { argument 313 long mask = alignment - 1;
|
/art/runtime/base/ |
H A D | bit_utils.h | 155 #define CHECK_ALIGNED(value, alignment) \ 156 CHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value) 158 #define DCHECK_ALIGNED(value, alignment) \ 159 DCHECK(::art::IsAligned<alignment>(value)) << reinterpret_cast<const void*>(value) 161 #define DCHECK_ALIGNED_PARAM(value, alignment) \ 162 DCHECK(::art::IsAlignedParam(value, alignment)) << reinterpret_cast<const void*>(value)
|
/art/compiler/dwarf/ |
H A D | writer.h | 153 void Pad(int alignment) { argument 154 DCHECK_NE(alignment, 0); 155 data_->resize(RoundUp(data_->size(), alignment), 0);
|
/art/compiler/ |
H A D | elf_builder.h | 658 Elf_Off alignment = header->sh_addralign > 0 ? header->sh_addralign : 1; local 663 header->sh_offset = RoundUp(file_offset, alignment); 668 header->sh_addr = RoundUp(load_address, alignment);
|
/art/runtime/arch/arm/ |
H A D | quick_entrypoints_arm.S | 406 mov sp, r4 @ 16B alignment ourselves. 970 sub sp, sp, #8 // Stack alignment. 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 1367 * on long strings (but preserve incoming alignment)
|
/art/runtime/arch/mips/ |
H A 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/ |
H A 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/ |
H A D | assembler_x86.cc | 1597 void X86Assembler::Align(int alignment, int offset) { argument 1598 CHECK(IsPowerOfTwo(alignment)); 1600 while (((offset + buffer_.GetPosition()) & (alignment-1)) != 0) {
|
H A D | assembler_x86.h | 499 void Align(int alignment, int offset);
|
/art/compiler/utils/x86_64/ |
H A D | assembler_x86_64.h | 627 void Align(int alignment, int offset); 830 // Write this 64-bit value as two 32-bit words for alignment reasons
|
H A D | assembler_x86_64.cc | 2086 void X86_64Assembler::Align(int alignment, int offset) { argument 2087 CHECK(IsPowerOfTwo(alignment)); 2089 while (((offset + buffer_.GetPosition()) & (alignment-1)) != 0) {
|
Completed in 233 milliseconds