/system/teeui/libteeui/include/teeui/ |
D | incfont.h | 24 .align 4 29 .align 1 32 .align 4;
|
/system/core/storaged/include/ |
D | storaged.h | 38 #define IS_ALIGNED(x, align) (!((x) & ((align) - 1))) argument 39 #define ROUND_UP(x, align) (((x) + ((align) - 1)) & ~((align) - 1)) argument
|
/system/core/libcutils/ |
D | memset_test.cpp | 126 void RunMemsetTests(test_e test_type, uint32_t value, int align[][2], size_t num_aligns) { in RunMemsetTests() 147 buf.get()+FENCEPOST_LENGTH, align[i][0], align[i][1])); in RunMemsetTests() 159 << "Failed size " << len << " align " << align[i][0] << " " << align[i][1] << "\n"; in RunMemsetTests()
|
/system/memory/libion/include/ion/ |
D | ion.h | 33 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/ |
D | DeathRecipientType.cpp | 77 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()
|
D | CompoundType.h | 125 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);
|
D | CompoundType.cpp | 490 << layout.align in emitLayoutAsserts() 579 << layout.discriminator.align << "))) "; in emitSafeUnionTypeDeclarations() 1981 void CompoundType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument 1983 *align = layout.overall.align; in getAlignmentAndSize() 1997 &(discriminator.align), &(discriminator.size)); in getCompoundAlignmentAndSize() 2014 innerStruct.align = std::max(innerStruct.align, fieldAlign); in getCompoundAlignmentAndSize() 2019 innerStruct.align); in getCompoundAlignmentAndSize() 2023 innerStruct.align); in getCompoundAlignmentAndSize() 2033 overall.align = std::max(innerStruct.align, discriminator.align); in getCompoundAlignmentAndSize() 2034 overall.size += Layout::getPad(overall.size, overall.align); in getCompoundAlignmentAndSize() [all …]
|
D | VectorType.cpp | 381 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()
|
D | FmqType.cpp | 155 size_t *align, size_t *size) const { in getAlignmentAndSize() argument 156 *align = 8; // MQDescriptor<> in getAlignmentAndSize()
|
D | HandleType.cpp | 182 void HandleType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument 183 *align = 8; // hidl_handle in getAlignmentAndSize()
|
D | VectorType.h | 109 void getAlignmentAndSize(size_t *align, size_t *size) const override; 110 static void getAlignmentAndSizeStatic(size_t *align, size_t *size);
|
D | StringType.cpp | 220 void StringType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument 221 *align = 8; // hidl_string in getAlignmentAndSize()
|
D | DeathRecipientType.h | 48 void getAlignmentAndSize(size_t *align, size_t *size) const override;
|
D | ScalarType.cpp | 316 void ScalarType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument 331 *align = *size = kAlign[mKind]; in getAlignmentAndSize()
|
D | MemoryType.cpp | 239 void MemoryType::getAlignmentAndSize(size_t *align, size_t *size) const { in getAlignmentAndSize() argument 240 *align = 8; // hidl_memory in getAlignmentAndSize()
|
D | ArrayType.cpp | 301 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/ |
D | ion.c | 88 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()
|
D | ion_test.c | 33 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/ |
D | AllocTest.cpp | 33 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/ |
D | Netlink.cpp | 34 tail = drop(tail, align(len, 2)); in forEachNetlinkMessage() 46 tail = drop(tail, align(len, 2)); in forEachNetlinkAttribute()
|
/system/netd/libnetdutils/include/netdutils/ |
D | Math.h | 33 inline constexpr const T align(const T& x, const int shift) { in align() function
|
/system/core/libutils/include/utils/ |
D | Flattenable.h | 40 static size_t align(size_t size) { in align() function 46 static size_t align(void const*& buffer) { in align() function 54 static size_t align(void*& buffer) { in align() function
|
/system/extras/memory_replay/ |
D | Alloc.h | 41 uint64_t align; member
|
/system/memory/libion/original-kernel-headers/linux/ |
D | ion.h | 88 size_t align; member
|
/system/memory/libion/kernel-headers/linux/ |
D | ion.h | 47 size_t align; member
|