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

/art/tools/dexfuzz/src/dexfuzz/rawdex/
H A DDexRandomAccessFile.java28 * 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 Dbit_utils.h155 #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 Dwriter.h153 void Pad(int alignment) { argument
154 DCHECK_NE(alignment, 0);
155 data_->resize(RoundUp(data_->size(), alignment), 0);
/art/compiler/
H A Delf_builder.h658 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 Dquick_entrypoints_arm.S406 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 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/
H A 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/
H A Dassembler_x86.cc1597 void X86Assembler::Align(int alignment, int offset) { argument
1598 CHECK(IsPowerOfTwo(alignment));
1600 while (((offset + buffer_.GetPosition()) & (alignment-1)) != 0) {
H A Dassembler_x86.h499 void Align(int alignment, int offset);
/art/compiler/utils/x86_64/
H A Dassembler_x86_64.h627 void Align(int alignment, int offset);
830 // Write this 64-bit value as two 32-bit words for alignment reasons
H A Dassembler_x86_64.cc2086 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