Home
last modified time | relevance | path

Searched refs:alignof (Results 1 – 9 of 9) sorted by relevance

/hardware/google/gfxstream/guest/mesa/src/util/
Dralloc.h493 #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)))
Dralloc.c118 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()
Dmacros.h443 #define alignof _Alignof macro
/hardware/google/gfxstream/guest/mesa/src/vulkan/util/
Dvk_alloc.c12 #define MAX_ALIGN alignof(max_align_t)
16 #define MAX_ALIGN alignof(uint64_t)
Dvk_alloc.h216 (_size), alignof(_type)); \
/hardware/libhardware/tests/hardware/
Dstruct-last.cpp32 static_assert(sizeof(type) == calc_size + GET_PADDING(alignof(type), calc_size), \
/hardware/interfaces/graphics/mapper/stable-c/include/android/hardware/graphics/mapper/
DIMapper.h679 alignas(alignof(max_align_t)) AIMapper_Version version;
/hardware/google/gchips/gralloc4/src/hidl_common/
DSharedMetadata_struct.h154 static_assert(alignof(shared_metadata) == 4, "bad alignment");
/hardware/google/gfxstream/guest/mesa/src/vulkan/runtime/
Dvk_image.c677 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()