Searched refs:max_align (Results 1 – 9 of 9) sorted by relevance
33 const std::size_t max_align = alignof(std::max_align_t); in check_allocate_deallocate() local37 for(std::size_t align_req = 1; align_req <= (max_align * 2); align_req *= 2) in check_allocate_deallocate()39 const std::size_t align_exp = align_req > max_align in check_allocate_deallocate()40 ? max_align : align_req; in check_allocate_deallocate()63 const std::size_t max_align = alignof(std::max_align_t); in check_alloc_max_size() local66 const std::size_t align_exp = align_req > max_align in check_alloc_max_size()67 ? max_align : align_req; in check_alloc_max_size()84 const std::size_t testSizeStart = sizeTypeMax - (max_align * 3); in check_alloc_max_size()85 const std::size_t testSizeEnd = sizeTypeMax - max_align; in check_alloc_max_size()88 for (std::size_t align=1; align <= (max_align * 2); align *= 2) { in check_alloc_max_size()
35 const std::size_t max_align = alignof(std::max_align_t); in check_allocate_deallocate() local39 for(std::size_t align_req = 1; align_req <= (max_align * 2); align_req *= 2) in check_allocate_deallocate()41 const std::size_t align_exp = align_req > max_align in check_allocate_deallocate()42 ? max_align : align_req; in check_allocate_deallocate()65 const std::size_t max_align = alignof(std::max_align_t); in check_alloc_max_size() local68 const std::size_t align_exp = align_req > max_align in check_alloc_max_size()69 ? max_align : align_req; in check_alloc_max_size()86 const std::size_t testSizeStart = sizeTypeMax - (max_align * 3); in check_alloc_max_size()87 const std::size_t testSizeEnd = sizeTypeMax - max_align; in check_alloc_max_size()90 for (std::size_t align=1; align <= (max_align * 2); align *= 2) { in check_alloc_max_size()
108 if (asmscn->max_align < value) in asm_align()110 asmscn->max_align = value; in asm_align()117 if (asmscn->data.up->max_align < value) in asm_align()118 asmscn->data.up->max_align = value; in asm_align()
101 offset = ((offset + asmsubscn->max_align - 1) in binary_end()102 & ~(asmsubscn->max_align - 1)); in binary_end()124 newdata->d_align = first ? asmsubscn->max_align : 1; in binary_end()430 shdr->sh_addralign = asmscn->max_align; in binary_end()
84 newp->max_align = 1; in asm_newsubscn()
101 GElf_Word max_align; member
119 result->max_align = 1; in binary_newscn()
600 let mut max_align = 0; in bitfields_to_allocation_units() localVariable660 max_align = cmp::max(max_align, bitfield_align); in bitfields_to_allocation_units()1122 let mut max_align = 1; in layout() localVariable1128 max_align = cmp::max(max_align, layout.align); in layout()1132 Some(Layout::new(max_size, max_align)) in layout()
2029 unsigned max_align = 0; in std140_size() local2051 max_align = MAX2(align, max_align); in std140_size()2056 size = glsl_align(size, MAX2(max_align, 16)); in std140_size()2397 unsigned max_align = 0; in std430_size() local2414 max_align = MAX2(align, max_align); in std430_size()2416 size = glsl_align(size, max_align); in std430_size()