Searched refs:ALIGN (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp50 #define ALIGN(x) (((x) + ALIGN_SZ - 1) & ~(ALIGN_SZ - 1)) macro
51 #define ALIGN_PTR(p) ((void*)(ALIGN((size_t)(p))))
149 mPageSize = ALIGN(mPageSize);
164 size = ALIGN(size);
219 allocSize = ALIGN(allocSize);
228 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page));
/frameworks/compile/mclinker/include/mcld/Script/
H A DOperator.h67 ALIGN = 34, enumerator in enum:mcld::Operator::Type
200 Operator& Operator::create<Operator::ALIGN>();
H A DBinaryOp.h102 IntOperand* BinaryOp<Operator::ALIGN>::eval(const Module&,
/frameworks/compile/mclinker/lib/Script/
H A DOperator.cpp35 "ADDR", "ALIGN", "ALIGNOF",
269 Operator& Operator::create<Operator::ALIGN>() {
270 static BinaryOp<Operator::ALIGN> op;
H A DScriptParser.yy124 %token ALIGN
335 [ALIGN(section_align)]
424 opt_align : ALIGN '(' script_exp ')'
787 | ALIGN '(' exp ')'
793 &Operator::create<Operator::ALIGN>());
796 | ALIGN '(' exp ',' exp ')'
799 &Operator::create<Operator::ALIGN>());
815 &Operator::create<Operator::ALIGN>());
H A DBinaryOp.cpp176 IntOperand* BinaryOp<Operator::ALIGN>::eval(const Module& pModule,
H A DScriptScanner.ll113 <LDSCRIPT,EXPRESSION>"ALIGN" { return token::ALIGN; }
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DCallbackProcessor.cpp29 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
355 destYStride = ALIGN(imgBuffer.width, 16);
356 destCStride = ALIGN(destYStride / 2, 16);
/frameworks/av/media/libstagefright/colorconversion/
H A DSoftwareRenderer.cpp34 static int ALIGN(int x, int y) { function in namespace:android
296 size_t dst_c_stride = ALIGN(buf->stride / 2, 16);
332 size_t dst_c_stride = ALIGN(buf->stride / 2, 16);
373 size_t dst_c_stride = ALIGN(buf->stride / 2, 16);
/frameworks/av/media/ndk/
H A DNdkImage.cpp32 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
332 : ALIGN(mLockedBuffer->stride / 2, 16);
482 cStride = ALIGN(mLockedBuffer->stride / 2, 16);
/frameworks/base/media/jni/
H A Dandroid_media_Utils.cpp30 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
715 cStride = ALIGN(buffer->stride / 2, 16);
728 rStride = (idx == 0) ? buffer->stride : ALIGN(buffer->stride / 2, 16);
/frameworks/base/core/jni/
H A Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp50 #define ALIGN(x, mask) ( ((x) + (mask) - 1) & ~((mask) - 1) ) macro
298 uint32_t cStride = ALIGN(stride / 2, 16);

Completed in 56 milliseconds