/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | memalign.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 46 if (!alignment) { 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment); 74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & 75 (~((intptr_t) (alignment - 1)))); 78 mem_ptr += alignment;
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
H A D | mem_align.c | 40 mem_malloc(VO_MEM_OPERATOR *pMemop, unsigned int size, unsigned char alignment, unsigned int CodecID) argument 46 if (!alignment) { 64 MemInfo.Size = size + alignment; 71 pMemop->Set(CodecID, tmp, 0, size + alignment); 74 (unsigned char *) ((intptr_t) (tmp + alignment - 1) & 75 (~((intptr_t) (alignment - 1)))); 78 mem_ptr += alignment;
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsLA25Stub.cpp | 82 size_t MipsLA25Stub::alignment() const { function in class:mcld::MipsLA25Stub
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ImageFloatingTextView.java | 65 Layout.Alignment alignment, boolean shouldEllipsize, 70 .setAlignment(alignment) 64 makeSingleLayout(int wantWidth, BoringLayout.Metrics boring, int ellipsisWidth, Layout.Alignment alignment, boolean shouldEllipsize, TextUtils.TruncateAt effectiveEllipsize, boolean useSaved) argument
|
H A D | SlidingTab.java | 166 * Tab alignment - determines which side the tab should be drawn on 185 private int alignment = ALIGN_UNKNOWN; field in class:SlidingTab.Slider 242 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; 243 int dx = horiz ? (alignment == ALIGN_LEFT ? alignment_value - tab.getRight() 245 int dy = horiz ? 0 : (alignment == ALIGN_TOP ? alignment_value - tab.getBottom() 261 boolean horiz = alignment == ALIGN_LEFT || alignment == ALIGN_RIGHT; 262 int dx = horiz ? (alignment == ALIGN_LEFT ? tab.getWidth() : -tab.getWidth()) : 0; 263 int dy = horiz ? 0: (alignment 341 layout(int l, int t, int r, int b, int alignment) argument [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64CA53ErratumStub.cpp | 145 size_t AArch64CA53ErratumStub::alignment() const { function in class:mcld::AArch64CA53ErratumStub
|
H A D | AArch64LongBranchStub.cpp | 137 size_t AArch64LongBranchStub::alignment() const { function in class:mcld::AArch64LongBranchStub
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMToARMStub.cpp | 100 size_t ARMToARMStub::alignment() const { function in class:mcld::ARMToARMStub
|
H A D | ARMToTHMStub.cpp | 108 size_t ARMToTHMStub::alignment() const { function in class:mcld::ARMToTHMStub
|
H A D | THMToARMStub.cpp | 121 size_t THMToARMStub::alignment() const { function in class:mcld::THMToARMStub
|
H A D | THMToTHMStub.cpp | 118 size_t THMToTHMStub::alignment() const { function in class:mcld::THMToTHMStub
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonAbsoluteStub.cpp | 104 size_t HexagonAbsoluteStub::alignment() const { function in class:mcld::HexagonAbsoluteStub
|
H A D | HexagonRelocator.cpp | 426 // Determine the alignment by the symbol value 427 // FIXME: here we use the largest alignment 512 uint32_t alignment = 1; local 531 alignment = 2; 536 alignment = 1; 565 if ((shift != 0) && (result % alignment != 0)) 587 uint32_t alignment = 1; local 595 alignment = 4; 602 alignment = 4; 609 alignment 774 uint32_t alignment = 1; local 850 uint32_t alignment = 1; local 919 uint32_t alignment = 1; local [all...] |
H A D | HexagonLDBackend.cpp | 930 // if the align constraint is larger than 1, append an alignment 931 unsigned int alignment = pFrom.getSection().align(); local 932 align = new AlignFragment(/*alignment*/alignment, 935 /*max bytes to emit*/alignment - 1); 997 // if the align constraint is larger than 1, append an alignment 998 unsigned int alignment = pFrom.getSection().align(); local 999 align = new AlignFragment(/*alignment*/alignment, 1002 /*max bytes to emit*/alignment [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | MediaBufferGroup.cpp | 53 size_t alignment = MemoryDealer::getAllocationAlignment(); local 55 size_t total = (augmented_size + alignment - 1) / alignment * alignment * buffers;
|
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectBuilder.cpp | 110 // force input alignment from ldscript if any 136 // if the align constraint is larger than 1, append an alignment 137 unsigned int alignment = pFrom.getSection().align(); local 138 align = new AlignFragment(/*alignment*/alignment, 141 /*max bytes to emit*/alignment - 1); 165 /// UpdateSectionAlign - update alignment for input section 171 /// UpdateSectionAlign - update alignment for input section 189 // if the align constraint is larger than 1, append an alignment 190 align = new AlignFragment(/*alignment*/pAlignConstrain [all...] |
/frameworks/native/include/binder/ |
H A D | TextOutput.h | 107 inline HexDump& setAlignment(size_t alignment); 114 inline size_t alignment() const; 178 inline HexDump& HexDump::setAlignment(size_t alignment) { argument 179 mAlignment = alignment; return *this; 189 inline size_t HexDump::alignment() const { return mAlignment; } function in class:android::HexDump
|
/frameworks/native/libs/binder/ |
H A D | Debug.cpp | 159 size_t alignment, bool cStyle, 162 if (alignment == 0) { 163 if (bytesPerLine >= 16) alignment = 4; 164 else if (bytesPerLine >= 8) alignment = 2; 165 else alignment = 1; 223 const size_t startIndex = word+(alignment-(alignment?1:0)); 225 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) { 228 if (index == 0 && word > 0 && alignment > 157 printHexData(int32_t indent, const void *buf, size_t length, size_t bytesPerLine, int32_t singleLineBytesCutoff, size_t alignment, bool cStyle, debugPrintFunc func, void* cookie) argument [all...] |
/frameworks/av/camera/ |
H A D | CameraMetadata.cpp | 29 #define ALIGN_TO(val, alignment) \ 30 (((uintptr_t)(val) + ((alignment) - 1)) & ~((alignment) - 1)) 471 const size_t alignment = get_camera_metadata_alignment(); local 479 if (blobSize <= alignment) { 480 ALOGE("%s: metadata blob is malformed, blobSize(%zu) should be larger than alignment(%zu)", 481 __FUNCTION__, blobSize, alignment); 485 const size_t metadataSize = blobSize - alignment; 509 if (offset >= alignment) { 510 ALOGE("%s: metadata offset(%zu) should be less than alignment( 577 const size_t alignment = get_camera_metadata_alignment(); local [all...] |
/frameworks/av/media/libstagefright/codecs/avcdec/ |
H A D | SoftAVCDec.cpp | 139 static void *ivd_aligned_malloc(void *ctxt, WORD32 alignment, WORD32 size) { argument 141 return memalign(alignment, size);
|
/frameworks/av/media/libstagefright/codecs/hevcdec/ |
H A D | SoftHEVC.cpp | 95 static void *ivd_aligned_malloc(void *ctxt, WORD32 alignment, WORD32 size) { argument 97 return memalign(alignment, size);
|
/frameworks/base/core/java/android/text/ |
H A D | Html.java | 377 final Layout.Alignment alignment = s.getAlignment(); 378 if (alignment == Layout.Alignment.ALIGN_NORMAL) { 380 } else if (alignment == Layout.Alignment.ALIGN_CENTER) { 382 } else if (alignment == Layout.Alignment.ALIGN_OPPOSITE) { 977 String alignment = m.group(1); 978 if (alignment.equalsIgnoreCase("start")) { 980 } else if (alignment.equalsIgnoreCase("center")) { 982 } else if (alignment.equalsIgnoreCase("end")) { 1338 public Alignment(Layout.Alignment alignment) { argument 1339 mAlignment = alignment; [all...] |
H A D | Layout.java | 150 * override the alignment. 170 * override the alignment. 290 // Compute the alignment, last alignment style wins. 413 // LineBackgroundSpans know nothing about the alignment, margins, or 521 // alignment of the paragraph. 619 * Return the base alignment of this layout. 738 public int getIndentAdjust(int line, Alignment alignment) { argument 1591 * Get the alignment of the specified paragraph, taking into account
|
/frameworks/native/vulkan/libvulkan/ |
H A D | driver.cpp | 496 size_t alignment, 499 // Vulkan requires 'alignment' to be a power of two, but posix_memalign 501 int ret = posix_memalign(&ptr, std::max(alignment, sizeof(void*)), size); 502 ALOGD_CALLSTACK("Allocate: size=%zu align=%zu => (%d) %p", size, alignment, 510 size_t alignment, 528 if (posix_memalign(&new_ptr, std::max(alignment, sizeof(void*)), size) != 0) 494 DefaultAllocate(void*, size_t size, size_t alignment, VkSystemAllocationScope) argument 507 DefaultReallocate(void*, void* ptr, size_t size, size_t alignment, VkSystemAllocationScope) argument
|
/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 1324 // not have additional alignment beyond sample 1326 size_t alignment = audio_bytes_per_sample(mFormat); local 1327 if (alignment & 1) { 1329 alignment = 1; 1332 // More than 2 channels does not require stronger alignment than stereo 1333 alignment <<= 1; 1335 if (((uintptr_t)mSharedBuffer->pointer() & (alignment - 1)) != 0) { 1336 ALOGE("Invalid buffer alignment: address %p, channel count %u",
|