Home
last modified time | relevance | path

Searched refs:align (Results 1 – 25 of 52) sorted by relevance

123

/system/teeui/libteeui/include/teeui/
Dincfont.h24 .align 4
29 .align 1
32 .align 4;
/system/core/storaged/include/
Dstoraged.h38 #define IS_ALIGNED(x, align) (!((x) & ((align) - 1))) argument
39 #define ROUND_UP(x, align) (((x) + ((align) - 1)) & ~((align) - 1)) argument
/system/memory/libion/include/ion/
Dion.h33 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask,
35 int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask,
/system/tools/hidl/
DDeathRecipientType.cpp77 void DeathRecipientType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
78 *align = *size = 0; // this object should only be used in passthrough mode in getAlignmentAndSize()
DCompoundType.h125 void getAlignmentAndSize(size_t *align, size_t *size) const override;
132 size_t align; member
135 Layout() : offset(0), align(1), size(0) {} in Layout()
136 static size_t getPad(size_t offset, size_t align);
DCompoundType.cpp490 << layout.align in emitLayoutAsserts()
579 << layout.discriminator.align << "))) "; in emitSafeUnionTypeDeclarations()
1956 void CompoundType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
1958 *align = layout.overall.align; in getAlignmentAndSize()
1972 &(discriminator.align), &(discriminator.size)); in getCompoundAlignmentAndSize()
1989 innerStruct.align = std::max(innerStruct.align, fieldAlign); in getCompoundAlignmentAndSize()
1994 innerStruct.align); in getCompoundAlignmentAndSize()
1998 innerStruct.align); in getCompoundAlignmentAndSize()
2008 overall.align = std::max(innerStruct.align, discriminator.align); in getCompoundAlignmentAndSize()
2009 overall.size += Layout::getPad(overall.size, overall.align); in getCompoundAlignmentAndSize()
[all …]
DVectorType.cpp381 size_t align, size; in emitJavaReaderWriter() local
382 getAlignmentAndSize(&align, &size); in emitJavaReaderWriter()
651 void VectorType::getAlignmentAndSizeStatic(size_t *align, size_t *size) { in getAlignmentAndSizeStatic() argument
652 *align = 8; // hidl_vec<T> in getAlignmentAndSizeStatic()
656 void VectorType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
657 VectorType::getAlignmentAndSizeStatic(align, size); in getAlignmentAndSize()
DFmqType.cpp155 size_t *align, size_t *size) const { in getAlignmentAndSize() argument
156 *align = 8; // MQDescriptor<> in getAlignmentAndSize()
DHandleType.cpp182 void HandleType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
183 *align = 8; // hidl_handle in getAlignmentAndSize()
DVectorType.h109 void getAlignmentAndSize(size_t *align, size_t *size) const override;
110 static void getAlignmentAndSizeStatic(size_t *align, size_t *size);
DStringType.cpp220 void StringType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
221 *align = 8; // hidl_string in getAlignmentAndSize()
DDeathRecipientType.h48 void getAlignmentAndSize(size_t *align, size_t *size) const override;
DMemoryType.cpp239 void MemoryType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
240 *align = 8; // hidl_memory in getAlignmentAndSize()
DScalarType.cpp316 void ScalarType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
331 *align = *size = kAlign[mKind]; in getAlignmentAndSize()
DArrayType.cpp301 size_t align, size; in emitJavaReaderWriter() local
302 getAlignmentAndSize(&align, &size); in emitJavaReaderWriter()
531 void ArrayType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument
532 mElementType->getAlignmentAndSize(align, size); in getAlignmentAndSize()
/system/memory/libion/
Dion.c88 int ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, in ion_alloc() argument
95 .len = len, .align = align, .heap_id_mask = heap_mask, .flags = flags, in ion_alloc()
160 int ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, in ion_alloc_fd() argument
178 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle); in ion_alloc_fd()
Dion_test.c33 size_t len = 1024*1024, align = 0; variable
49 ret = ion_alloc(*fd, len, align, heap_mask, alloc_flags, handle); in _ion_alloc_test()
108 _ion_alloc_test(len, align, flags, &fd, &handle); in ion_map_test()
241 align = atol(optarg); in main()
273 " alloc_flags %d\n", test, len, align, map_flags, prot, in main()
/system/extras/memory_replay/tests/
DAllocTest.cpp33 EXPECT_EQ(0U, entry.u.align); in TEST()
53 EXPECT_EQ(0U, entry.u.align); in TEST()
116 EXPECT_EQ(16U, entry.u.align); in TEST()
/system/netd/libnetdutils/
DNetlink.cpp34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage()
46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
/system/netd/libnetdutils/include/netdutils/
DMath.h33 inline constexpr const T align(const T& x, const int shift) { in align() function
/system/core/libutils/include/utils/
DFlattenable.h38 static size_t align(size_t size) { in align() function
44 static size_t align(void const*& buffer) { in align() function
52 static size_t align(void*& buffer) { in align() function
/system/extras/memory_replay/
DAlloc.h41 uint64_t align; member
/system/memory/libion/original-kernel-headers/linux/
Dion.h88 size_t align; member
/system/memory/libion/kernel-headers/linux/
Dion.h47 size_t align; member
/system/extras/simpleperf/scripts/purgatorio/templates/
Dstyles.css47 text-align: right;
82 text-align: center;

123