Home
last modified time | relevance | path

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

/dalvik/dexgen/src/com/android/dexgen/dex/file/
DSection.java36 private final int alignment; field in Section
53 public static void validateAlignment(int alignment) { in validateAlignment() argument
54 if ((alignment <= 0) || in validateAlignment()
55 (alignment & (alignment - 1)) != 0) { in validateAlignment()
69 public Section(String name, DexFile file, int alignment) { in Section() argument
74 validateAlignment(alignment); in Section()
78 this.alignment = alignment; in Section()
98 return alignment; in getAlignment()
133 int mask = alignment - 1; in setFileOffset()
264 out.alignTo(alignment); in align()
DOffsettedItem.java28 private final int alignment; field in OffsettedItem
70 public OffsettedItem(int alignment, int writeSize) { in OffsettedItem() argument
71 Section.validateAlignment(alignment); in OffsettedItem()
77 this.alignment = alignment; in OffsettedItem()
165 out.alignTo(alignment); in writeTo()
236 int mask = alignment - 1; in place()
254 return alignment; in getAlignment()
DUniformItemSection.java39 public UniformItemSection(String name, DexFile file, int alignment) { in UniformItemSection() argument
40 super(name, file, alignment); in UniformItemSection()
84 int alignment = getAlignment(); in writeTo0() local
88 out.alignTo(alignment); in writeTo0()
DMixedItemSection.java88 public MixedItemSection(String name, DexFile file, int alignment, in MixedItemSection() argument
90 super(name, file, alignment); in MixedItemSection()
/dalvik/dx/src/com/android/dx/dex/file/
DSection.java35 private final int alignment; field in Section
52 public static void validateAlignment(int alignment) { in validateAlignment() argument
53 if ((alignment <= 0) || in validateAlignment()
54 (alignment & (alignment - 1)) != 0) { in validateAlignment()
68 public Section(String name, DexFile file, int alignment) { in Section() argument
73 validateAlignment(alignment); in Section()
77 this.alignment = alignment; in Section()
97 return alignment; in getAlignment()
132 int mask = alignment - 1; in setFileOffset()
263 out.alignTo(alignment); in align()
DOffsettedItem.java28 private final int alignment; field in OffsettedItem
70 public OffsettedItem(int alignment, int writeSize) { in OffsettedItem() argument
71 Section.validateAlignment(alignment); in OffsettedItem()
77 this.alignment = alignment; in OffsettedItem()
166 out.alignTo(alignment); in writeTo()
237 int mask = alignment - 1; in place()
255 return alignment; in getAlignment()
DUniformItemSection.java38 public UniformItemSection(String name, DexFile file, int alignment) { in UniformItemSection() argument
39 super(name, file, alignment); in UniformItemSection()
83 int alignment = getAlignment(); in writeTo0() local
87 out.alignTo(alignment); in writeTo0()
DMixedItemSection.java88 public MixedItemSection(String name, DexFile file, int alignment, in MixedItemSection() argument
90 super(name, file, alignment); in MixedItemSection()
/dalvik/dx/src/com/android/dx/ssa/back/
DFirstFitLocalCombiningAllocator.java421 Alignment alignment = Alignment.UNSPECIFIED; in getAlignment() local
425 alignment = Alignment.EVEN; in getAlignment()
427 alignment = Alignment.ODD; in getAlignment()
431 return alignment; in getAlignment()
453 private int findNextUnreservedRopReg(int startReg, int width, Alignment alignment) { in findNextUnreservedRopReg() argument
454 int reg = alignment.nextClearBit(reservedRopRegs, startReg); in findNextUnreservedRopReg()
467 reg = alignment.nextClearBit(reservedRopRegs, reg + i); in findNextUnreservedRopReg()
481 Alignment alignment = getAlignment(category); in findRopRegForLocal() local
482 int reg = alignment.nextClearBit(usedRopRegs, startReg); in findRopRegForLocal()
495 reg = alignment.nextClearBit(usedRopRegs, reg + i); in findRopRegForLocal()
[all …]
/dalvik/dexgen/src/com/android/dexgen/util/
DOutput.java128 public void alignTo(int alignment); in alignTo() argument
DByteArrayAnnotatedOutput.java332 public void alignTo(int alignment) { in alignTo() argument
333 int mask = alignment - 1; in alignTo()
335 if ((alignment < 0) || ((mask & alignment) != 0)) { in alignTo()
/dalvik/dx/src/com/android/dx/util/
DOutput.java131 public void alignTo(int alignment); in alignTo() argument
DByteArrayAnnotatedOutput.java342 public void alignTo(int alignment) { in alignTo() argument
343 int mask = alignment - 1; in alignTo()
345 if ((alignment < 0) || ((mask & alignment) != 0)) { in alignTo()
/dalvik/libdex/
DDexSwapVerify.cpp2478 u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, in iterateSectionWithOptionalUpdate() argument
2480 u4 alignmentMask = alignment - 1; in iterateSectionWithOptionalUpdate()
2538 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) { in iterateSection() argument
2540 alignment, nextOffset, -1); in iterateSection()
2549 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) { in checkBoundsAndIterateSection() argument
2562 return iterateSection(state, offset, count, func, alignment, nextOffset); in checkBoundsAndIterateSection()
2570 ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) { in iterateDataSection() argument
2582 alignment, nextOffset, mapType)) { in iterateDataSection()