Searched refs:alignof (Results 1 – 9 of 9) sorted by relevance
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | ralloc.h | 493 #define gc_alloc(ctx, type, count) gc_alloc_size(ctx, sizeof(type) * (count), alignof(type)) 494 #define gc_zalloc(ctx, type, count) gc_zalloc_size(ctx, sizeof(type) * (count), alignof(type)) 497 gc_alloc_size(ctx, sizeof(type) + sizeof(type2) * (count), MAX2(alignof(type), alignof(type2))) 499 gc_zalloc_size(ctx, sizeof(type) + sizeof(type2) * (count), MAX2(alignof(type), alignof(type2)))
|
D | ralloc.c | 118 alignof(ralloc_header))); in ralloc_size() 166 alignof(ralloc_header))); in resize() 773 return align((uint32_t)sizeof(gc_slab) + num_objs * obj_size, alignof(gc_slab)); in get_slab_size() 801 align = MAX2(align, alignof(gc_block_header)); in gc_alloc_size() 806 assert((align - alignof(gc_block_header)) <= 127); in gc_alloc_size()
|
D | macros.h | 443 #define alignof _Alignof macro
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/ |
D | vk_alloc.c | 12 #define MAX_ALIGN alignof(max_align_t) 16 #define MAX_ALIGN alignof(uint64_t)
|
D | vk_alloc.h | 216 (_size), alignof(_type)); \
|
/hardware/libhardware/tests/hardware/ |
D | struct-last.cpp | 32 static_assert(sizeof(type) == calc_size + GET_PADDING(alignof(type), calc_size), \
|
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/ |
D | IMapper.h | 679 alignas(alignof(max_align_t)) AIMapper_Version version;
|
/hardware/google/gchips/gralloc4/src/hidl_common/ |
D | SharedMetadata_struct.h | 154 static_assert(alignof(shared_metadata) == 4, "bad alignment");
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/ |
D | vk_image.c | 677 alignof(VkFormat), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vk_image_create_get_format_list_uncompressed() 722 alignof(VkFormat), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vk_image_create_get_format_list_compressed() 773 alignof(VkFormat), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in vk_image_create_get_format_list()
|