/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
H A D | UniformItemSection.java | 36 * @param alignment {@code > 0;} alignment requirement for the final output; 39 public UniformItemSection(String name, DexFile file, int alignment) { argument 40 super(name, file, alignment); 84 int alignment = getAlignment(); 88 out.alignTo(alignment);
|
H A D | OffsettedItem.java | 27 /** {@code > 0;} alignment requirement */ 28 private final int alignment; field in class:OffsettedItem 65 * @param alignment {@code > 0;} output alignment requirement; must be a 70 public OffsettedItem(int alignment, int writeSize) { argument 71 Section.validateAlignment(alignment); 77 this.alignment = alignment; 165 out.alignTo(alignment); 221 * in order to meet its alignment constrain [all...] |
H A D | MixedItemSection.java | 39 * have a larger alignment requirement than the alignment of this instance. 84 * @param alignment {@code > 0;} alignment requirement for the final output; 88 public MixedItemSection(String name, DexFile file, int alignment, argument 90 super(name, file, alignment); 175 "incompatible item alignment");
|
H A D | Section.java | 34 /** {@code > 0;} alignment requirement for the final output; 36 private final int alignment; field in class:Section 47 * Validates an alignment. 49 * @param alignment the alignment 50 * @throws IllegalArgumentException thrown if {@code alignment} 53 public static void validateAlignment(int alignment) { argument 54 if ((alignment <= 0) || 55 (alignment & (alignment 69 Section(String name, DexFile file, int alignment) argument [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | UniformItemSection.java | 35 * @param alignment {@code > 0;} alignment requirement for the final output; 38 public UniformItemSection(String name, DexFile file, int alignment) { argument 39 super(name, file, alignment); 83 int alignment = getAlignment(); 87 out.alignTo(alignment);
|
H A D | OffsettedItem.java | 27 /** {@code > 0;} alignment requirement */ 28 private final int alignment; field in class:OffsettedItem 65 * @param alignment {@code > 0;} output alignment requirement; must be a 70 public OffsettedItem(int alignment, int writeSize) { argument 71 Section.validateAlignment(alignment); 77 this.alignment = alignment; 165 out.alignTo(alignment); 221 * in order to meet its alignment constrain [all...] |
H A D | MixedItemSection.java | 38 * have a larger alignment requirement than the alignment of this instance. 83 * @param alignment {@code > 0;} alignment requirement for the final output; 87 public MixedItemSection(String name, DexFile file, int alignment, argument 89 super(name, file, alignment); 174 "incompatible item alignment");
|
H A D | Section.java | 33 /** {@code > 0;} alignment requirement for the final output; 35 private final int alignment; field in class:Section 46 * Validates an alignment. 48 * @param alignment the alignment 49 * @throws IllegalArgumentException thrown if {@code alignment} 52 public static void validateAlignment(int alignment) { argument 53 if ((alignment <= 0) || 54 (alignment & (alignment 68 Section(String name, DexFile file, int alignment) argument [all...] |
/dalvik/dexgen/src/com/android/dexgen/util/ |
H A D | Output.java | 124 * force alignment of the output cursor as given. 126 * @param alignment {@code > 0;} the alignment; must be a power of two 128 public void alignTo(int alignment); argument
|
H A D | ByteArrayAnnotatedOutput.java | 332 public void alignTo(int alignment) { argument 333 int mask = alignment - 1; 335 if ((alignment < 0) || ((mask & alignment) != 0)) { 336 throw new IllegalArgumentException("bogus alignment");
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | Output.java | 126 * force alignment of the output cursor as given. 128 * @param alignment {@code > 0;} the alignment; must be a power of two 130 public void alignTo(int alignment); argument
|
H A D | ByteArrayAnnotatedOutput.java | 328 public void alignTo(int alignment) { argument 329 int mask = alignment - 1; 331 if ((alignment < 0) || ((mask & alignment) != 0)) { 332 throw new IllegalArgumentException("bogus alignment");
|
/dalvik/dx/src/com/android/dx/ssa/back/ |
H A D | FirstFitLocalCombiningAllocator.java | 86 * @return the index of the next clear bit respecting alignment. 413 * Return the register alignment constraint to have 64-bits registers that will be align on even 418 * @return the register alignment constraint. 421 Alignment alignment = Alignment.UNSPECIFIED; 425 alignment = Alignment.EVEN; 427 alignment = Alignment.ODD; 431 return alignment; 450 * @param alignment the alignment constraint. 453 private int findNextUnreservedRopReg(int startReg, int width, Alignment alignment) { argument [all...] |
/dalvik/libdex/ |
H A D | DexSwapVerify.cpp | 1858 // Four-byte alignment for the tries. Verify the spacer is a 0. 2400 u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, 2402 u4 alignmentMask = alignment - 1; 2460 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) { 2462 alignment, nextOffset, -1); 2471 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) { 2484 return iterateSection(state, offset, count, func, alignment, nextOffset); 2492 ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) { 2504 alignment, nextOffset, mapType)) { 2399 iterateSectionWithOptionalUpdate(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument 2459 iterateSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument 2469 checkBoundsAndIterateSection(CheckState* state, u4 offset, u4 count, u4 expectedOffset, u4 expectedCount, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument 2491 iterateDataSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument
|