/dalvik/dx/src/com/android/dx/dex/file/ |
H A D | Section.java | 34 /** > 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</code> 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...] |
H A D | OffsettedItem.java | 27 /** > 0; alignment requirement */ 28 private final int alignment; field in class:OffsettedItem 65 * @param alignment > 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); 220 * in order to meet its alignment constrain [all...] |
H A D | UniformItemSection.java | 36 * @param alignment > 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 | MixedItemSection.java | 39 * have a larger alignment requirement than the alignment of this instance. 84 * @param alignment > 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");
|
/dalvik/dx/src/com/android/dx/util/ |
H A D | Output.java | 124 * force alignment of the output cursor as given. 126 * @param alignment > 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/libcore/luni/src/main/java/org/apache/harmony/luni/platform/ |
H A D | IMemorySystem.java | 480 * @param alignment 486 public int mmap(int fileDescriptor, long alignment, long size, argument
|
H A D | OSMemory.java | 610 private native int mmapImpl(int fileDescriptor, long alignment, argument 613 public int mmap(int fileDescriptor, long alignment, long size, argument 615 int address = mmapImpl(fileDescriptor, alignment, size, mapMode);
|
/dalvik/libcore/nio/src/main/java/org/apache/harmony/nio/internal/ |
H A D | FileChannelImpl.java | 199 long alignment = position - position % ALLOC_GRANULARITY; 200 int offset = (int) (position - alignment); 201 PlatformAddress address = PlatformAddressFactory.allocMap(handle, alignment, size
|
/dalvik/libcore/luni/src/main/native/ |
H A D | org_apache_harmony_luni_platform_OSMemory.cpp | 422 jlong alignment, jlong size, jint mmode) { 445 (off_t)(alignment&0x7fffffff)); 421 harmony_nio_mmapImpl(JNIEnv *_env, jobject _this, jint fd, jlong alignment, jlong size, jint mmode) argument
|
/dalvik/libdex/ |
H A D | DexSwapVerify.c | 1785 // Four-byte alignment for the tries. Verify the spacer is a 0. 2326 u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, 2328 u4 alignmentMask = alignment - 1; 2386 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) { 2388 alignment, nextOffset, -1); 2397 ItemVisitorFunction* func, u4 alignment, u4* nextOffset) { 2410 return iterateSection(state, offset, count, func, alignment, nextOffset); 2418 ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) { 2430 alignment, nextOffset, mapType)) { 2325 iterateSectionWithOptionalUpdate(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument 2385 iterateSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument 2395 checkBoundsAndIterateSection(CheckState* state, u4 offset, u4 count, u4 expectedOffset, u4 expectedCount, ItemVisitorFunction* func, u4 alignment, u4* nextOffset) argument 2417 iterateDataSection(CheckState* state, u4 offset, u4 count, ItemVisitorFunction* func, u4 alignment, u4* nextOffset, int mapType) argument
|
/dalvik/vm/arch/arm/ |
H A D | CallEABI.S | 142 @ Ensure 64-bit alignment. EABI guarantees sp is aligned on entry, make 370 @ ensure alignment. We know the [r8] output area is 64-bit aligned, 387 * registers for EABI 64-bit stack alignment.)
|