Home
last modified time | relevance | path

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

123

/frameworks/av/media/libstagefright/codecs/aacenc/src/
Dmemalign.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecI… in mem_malloc() argument
46 if (!alignment) { in mem_malloc()
64 MemInfo.Size = size + alignment; in mem_malloc()
71 pMemop->Set(CodecID, tmp, 0, size + alignment); in mem_malloc()
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & in mem_malloc()
75 (~((intptr_t) (alignment - 1)))); in mem_malloc()
78 mem_ptr += alignment; in mem_malloc()
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
Dmem_align.c40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecI… in mem_malloc() argument
46 if (!alignment) { in mem_malloc()
64 MemInfo.Size = size + alignment; in mem_malloc()
71 pMemop->Set(CodecID, tmp, 0, size + alignment); in mem_malloc()
74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & in mem_malloc()
75 (~((intptr_t) (alignment - 1)))); in mem_malloc()
78 mem_ptr += alignment; in mem_malloc()
/frameworks/base/docs/html/tools/help/
Dzipalign.jd6 <p>zipalign is an archive alignment tool that provides important
9 with a particular alignment relative to the start of the file. Specifically,
13 contain binary data with alignment restrictions.
30 the alignment. Also, do not make alterations to the aligned package.
32 potentially disrupt the alignment of the modified entry and all later
48 <pre>zipalign [-f] [-v] &lt;alignment> infile.apk outfile.apk</pre>
50 <p>To confirm the alignment of {@code existing.apk}:</p>
52 <pre>zipalign -c -v &lt;alignment> existing.apk</pre>
54 <p>The {@code &lt;alignment>} is an integer that defines the byte-alignment boundaries.
55 This must always be 4 (which provides 32-bit alignment) or else it effectively
[all …]
/frameworks/native/libs/binder/
DDebug.cpp159 size_t alignment, bool cStyle, in printHexData() argument
162 if (alignment == 0) { in printHexData()
163 if (bytesPerLine >= 16) alignment = 4; in printHexData()
164 else if (bytesPerLine >= 8) alignment = 2; in printHexData()
165 else alignment = 1; in printHexData()
223 const size_t startIndex = word+(alignment-(alignment?1:0)); in printHexData()
226 … for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { in printHexData()
229 if (index == 0 && word > 0 && alignment > 0) { in printHexData()
/frameworks/rs/scriptc/
Drs_value_types.rsh107 * into a single 32 bit field with 32 bit alignment.
117 * into a single 64 bit field with 64 bit alignment.
127 * into a single 64 bit field with 64 bit alignment.
259 * with a 64 bit alignment.
262 * with a 64 bit alignment.
270 * with a 128 bit alignment.
278 * with a 128 bit alignment.
286 * with a 128 bit alignment.
294 * with a 256 bit alignment.
302 * with a 256 bit alignment.
[all …]
/frameworks/av/camera/
DCameraMetadata.cpp28 #define ALIGN_TO(val, alignment) \ argument
29 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1))
458 const size_t alignment = get_camera_metadata_alignment(); in readFromParcel() local
466 if (blobSize <= alignment) { in readFromParcel()
468 __FUNCTION__, blobSize, alignment); in readFromParcel()
472 const size_t metadataSize = blobSize - alignment; in readFromParcel()
496 if (offset >= alignment) { in readFromParcel()
498 __FUNCTION__, blobSize, alignment); in readFromParcel()
507 __FUNCTION__, alignment, tmp, offset); in readFromParcel()
564 const size_t alignment = get_camera_metadata_alignment(); in writeToParcel() local
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java185 private int alignment = ALIGN_UNKNOWN; field in SlidingTab.Slider
242 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in hide()
243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() in hide()
245 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() in hide()
261 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in show()
262 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; in show()
263 int dy = horiz ? 0: (alignment == ALIGN_TOP ? tab.getHeight() : -tab.getHeight()); in show()
303 final boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; in reset()
304 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getLeft() in reset()
306 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getTop() in reset()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp512 uint32_t alignment = 1; in applyAbs() local
531 alignment = 2; in applyAbs()
536 alignment = 1; in applyAbs()
565 if ((shift != 0) && (result % alignment != 0)) in applyAbs()
587 uint32_t alignment = 1; in applyRel() local
595 alignment = 4; in applyRel()
602 alignment = 4; in applyRel()
609 alignment = 4; in applyRel()
616 alignment = 4; in applyRel()
623 alignment = 4; in applyRel()
[all …]
DHexagonAbsoluteStub.h44 size_t alignment() const;
/frameworks/native/include/binder/
DTextOutput.h107 inline HexDump& setAlignment(size_t alignment);
114 inline size_t alignment() const;
178 inline HexDump& HexDump::setAlignment(size_t alignment) { in setAlignment() argument
179 mAlignment = alignment; return *this; in setAlignment()
189 inline size_t HexDump::alignment() const { return mAlignment; } in alignment() function
DDebug.h39 size_t alignment=0, bool cArrayStyle=false,
/frameworks/base/core/java/android/widget/
DGridLayout.java2388 Alignment alignment = spec.getAbsoluteAlignment(axis.horizontal);
2390 int before = alignment.getAlignmentValue(c, size, gl.getLayoutMode());
2525 final Alignment alignment;
2528 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2531 this.alignment = alignment;
2535 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2536 this(startDefined, new Interval(start, start + size), alignment, weight);
2540 if (alignment != UNDEFINED_ALIGNMENT) {
2541 return alignment;
2550 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
DGridLayout.java2282 Alignment alignment = spec.getAbsoluteAlignment(horizontal);
2284 int before = alignment.getAlignmentValue(c, size, ViewGroupCompat.getLayoutMode(gl));
2419 final Alignment alignment;
2422 private Spec(boolean startDefined, Interval span, Alignment alignment, float weight) {
2425 this.alignment = alignment;
2429 private Spec(boolean startDefined, int start, int size, Alignment alignment, float weight) {
2430 this(startDefined, new Interval(start, start + size), alignment, weight);
2434 if (alignment != UNDEFINED_ALIGNMENT) {
2435 return alignment;
2444 return new Spec(startDefined, span, alignment, weight);
[all …]
/frameworks/av/media/libstagefright/codecs/hevcdec/
DSoftHEVC.h26 #define ivd_aligned_malloc(alignment, size) memalign(alignment, size) argument
/frameworks/base/docs/html/guide/topics/renderscript/reference/
Drs_value_types.jd519 with a 16 bit alignment.
533 with a 32 bit alignment.
547 with a 32 bit alignment.
561 with a 128 bit alignment.
575 with a 256 bit alignment.
589 with a 256 bit alignment.
603 with a 64 bit alignment.
607 with a 64 bit alignment.
621 with a 128 bit alignment.
635 with a 128 bit alignment.
[all …]
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp137 unsigned int alignment = pFrom.getSection().align(); in MoveSectionData() local
138 align = new AlignFragment(/*alignment*/alignment, in MoveSectionData()
141 /*max bytes to emit*/alignment - 1); in MoveSectionData()
/frameworks/compile/mclinker/lib/LD/
DBranchIsland.cpp111 new AlignFragment(pStub.alignment(), 0x0, 1u, pStub.alignment() - 1); in addStub()
/frameworks/av/media/libstagefright/codecs/avcdec/
DSoftAVCDec.h26 #define ivd_aligned_malloc(alignment, size) memalign(alignment, size) argument
/frameworks/av/media/libstagefright/codecs/mpeg2dec/
DSoftMPEG2.h26 #define ivd_aligned_malloc(alignment, size) memalign(alignment, size) argument
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
Dmem_align.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsign…
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
Dmemalign.h29 extern void *mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsign…
/frameworks/compile/mclinker/lib/Target/ARM/
DARMToARMStub.h44 size_t alignment() const;
DARMToTHMStub.h44 size_t alignment() const;
DTHMToARMStub.h43 size_t alignment() const;
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLA25Stub.h38 size_t alignment() const;

123