/hardware/libhardware/tests/hardware/ |
D | struct-last.cpp | 27 #define GET_PADDING(align, size) (((align) - ((size) % (align))) % (align)) argument
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_utils.h | 49 inline Type1 ALIGN(Type1 x, Type2 align) { in ALIGN() argument 50 return (Type1)((x + (Type1)align - 1) & ~((Type1)align - 1)); in ALIGN()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_utils.h | 49 inline Type1 ALIGN(Type1 x, Type2 align) { in ALIGN() argument 50 return (Type1)((x + (Type1)align - 1) & ~((Type1)align - 1)); in ALIGN()
|
/hardware/google/av/codec2/vndk/ |
D | C2AllocatorIon.cpp | 136 …C2AllocationIon(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allocat… 212 …static Impl *Alloc(int ionFd, size_t size, size_t align, unsigned heapMask, unsigned flags, C2Allo… in Alloc() argument 215 size_t alignedSize = align == 0 ? size : (size + align - 1) & ~(align - 1); in Alloc() 216 int ret = ion_alloc(ionFd, alignedSize, align, heapMask, flags, &buffer); in Alloc() 219 ionFd, alignedSize, align, heapMask, flags, ret, buffer); in Alloc() 402 C2AllocationIon::C2AllocationIon(int ionFd, size_t size, size_t align, in C2AllocationIon() argument 405 mImpl(Impl::Alloc(ionFd, size, align, heapMask, flags, id)) { } in C2AllocationIon() 469 C2MemoryUsage usage, size_t capacity, size_t *align, unsigned *heapMask, unsigned *flags) { in mapUsage() argument 478 res = mUsageMapper(usage, capacity, align, heapMask, flags); in mapUsage() 480 *align = 0; // TODO make this 1 in mapUsage() [all …]
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 42 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 43 return (x + align - 1) & ~(align - 1); in ALIGN()
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 42 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 43 return (x + align - 1) & ~(align - 1); in ALIGN()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 42 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 43 return (x + align - 1) & ~(align - 1); in ALIGN()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 45 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 46 return (x + align - 1) & ~(align - 1); in ALIGN()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 42 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 43 return (x + align - 1) & ~(align - 1); in ALIGN()
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 70 data.align = SECURE_ALIGN; in AllocateBuffer() 72 data.align = UINT32(getpagesize()); in AllocateBuffer() 90 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer() 154 uint32_t align = UINT32(getpagesize()); in GetBufferSize() local 167 align = SECURE_ALIGN; in GetBufferSize() 184 buffer_size = ROUND_UP(buffer_size, align) * buffer_config.buffer_count; in GetBufferSize()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | gr.h | 41 inline size_t ALIGN(size_t x, size_t align) { in ALIGN() argument 42 return (x + align-1) & ~(align-1); in ALIGN()
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 70 data.align = SZ_2M; in AllocateBuffer() 74 data.align = SECURE_ALIGN; in AllocateBuffer() 76 data.align = UINT32(getpagesize()); in AllocateBuffer() 94 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer() 162 uint32_t align = UINT32(getpagesize()); in GetBufferSize() local 175 align = SZ_2M; in GetBufferSize() 179 align = SECURE_ALIGN; in GetBufferSize() 196 buffer_size = ROUND_UP(buffer_size, align) * buffer_config.buffer_count; in GetBufferSize()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_buffer_allocator.cpp | 70 data.align = SZ_2M; in AllocateBuffer() 74 data.align = SECURE_ALIGN; in AllocateBuffer() 76 data.align = UINT32(getpagesize()); in AllocateBuffer() 94 buffer_size = ROUND_UP(buffer_size, data.align) * buffer_config.buffer_count; in AllocateBuffer() 162 uint32_t align = UINT32(getpagesize()); in GetBufferSize() local 175 align = SZ_2M; in GetBufferSize() 179 align = SECURE_ALIGN; in GetBufferSize() 196 buffer_size = ROUND_UP(buffer_size, align) * buffer_config.buffer_count; in GetBufferSize()
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_buffer_allocator.h | 48 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 49 return (x + align - 1) & ~(align - 1); in ALIGN()
|
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
D | ion.h | 187 size_t align, unsigned int heap_mask, 301 int domain_num, int partition_num, unsigned long align, 405 size_t len, size_t align, in ion_alloc() argument 455 int partition_num, unsigned long align, in ion_map_iommu() argument 515 size_t align; member
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gr.h | 41 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 42 return (x + align-1) & ~(align-1); in ALIGN()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gr.h | 41 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 42 return (x + align-1) & ~(align-1); in ALIGN()
|
/hardware/qcom/display/msm8994/liboverlay/ |
D | overlayMem.h | 132 mBufSzAligned = utils::align(bufSz, SIZE_1M); in open() 133 data.align = SIZE_1M; in open() 136 data.align = getpagesize(); in open()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.h | 59 inline Type1 ALIGN(Type1 x, Type2 align) { in ALIGN() argument 60 return (Type1)((x + (Type1)align - 1) & ~((Type1)align - 1)); in ALIGN()
|
/hardware/qcom/display/msm8226/liboverlay/ |
D | overlayMem.h | 132 mBufSzAligned = utils::align(bufSz, SIZE_1M); in open() 133 data.align = SIZE_1M; in open() 136 data.align = getpagesize(); in open()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.h | 59 inline Type1 ALIGN(Type1 x, Type2 align) { in ALIGN() argument 60 return (Type1)((x + (Type1)align - 1) & ~((Type1)align - 1)); in ALIGN()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gr.h | 42 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 43 return (x + align-1) & ~(align-1); in ALIGN()
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
D | FormatConvert.cpp | 24 int align(int value) { in align() function 78 unsigned strideLum = align<16>(width); in copyNV21toRGB32() 111 unsigned strideLum = align<16>(width); in copyYV12toRGB32() 113 unsigned strideColor = align<16>(strideLum/2); in copyYV12toRGB32()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gr.h | 43 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 44 return (x + align-1) & ~(align-1); in ALIGN()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | gr.h | 43 inline Type ALIGN(Type x, Type align) { in ALIGN() argument 44 return (x + align-1) & ~(align-1); in ALIGN()
|