Searched defs:alignment (Results 1 - 15 of 15) sorted by relevance

/dalvik/dexgen/src/com/android/dexgen/dex/file/
H A DUniformItemSection.java36 * @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 DOffsettedItem.java27 /** {@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 DMixedItemSection.java39 * 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 DSection.java34 /** {@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 DUniformItemSection.java36 * @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 DOffsettedItem.java27 /** {@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 DMixedItemSection.java39 * 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 DSection.java34 /** {@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/dexgen/src/com/android/dexgen/util/
H A DOutput.java124 * 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 DByteArrayAnnotatedOutput.java332 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 DOutput.java124 * 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 DByteArrayAnnotatedOutput.java325 public void alignTo(int alignment) { argument
326 int mask = alignment - 1;
328 if ((alignment < 0) || ((mask & alignment) != 0)) {
329 throw new IllegalArgumentException("bogus alignment");
/dalvik/libdex/
H A DDexSwapVerify.cpp1846 // Four-byte alignment for the tries. Verify the spacer is a 0.
2388 u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment,
2390 u4 alignmentMask = alignment - 1;
2448 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) {
2450 alignment, nextOffset, -1);
2459 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) {
2472 return iterateSection(state, offset, count, func, alignment, nextOffset);
2480 ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) {
2492 alignment, nextOffset, mapType)) {
2387 iterateSectionWithOptionalUpdate(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument
2447 iterateSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument
2457 checkBoundsAndIterateSection(CheckState* state, u4 offset, u4 count, u4 expectedOffset, u4 expectedCount, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument
2479 iterateDataSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument
/dalvik/vm/compiler/codegen/arm/
H A DAssemble.cpp2393 int alignment = addr & 0x3; local
2398 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment;
2467 int alignment = addr & 0x3; local
2482 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment;
/dalvik/vm/compiler/codegen/mips/
H A DAssemble.cpp1770 int alignment = addr & 0x3; local
1775 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment;
1846 int alignment = addr & 0x3; local
1861 addr = ((unsigned int) &(heapSpacePtr->data)) | alignment;

Completed in 546 milliseconds