Home
last modified time | relevance | path

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

/external/llvm-project/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp33 const std::size_t max_align = alignof(std::max_align_t); in check_allocate_deallocate() local
37 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() local
66 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()
/external/libcxx/test/std/experimental/memory/memory.resource.adaptor/memory.resource.adaptor.mem/
Ddo_allocate_and_deallocate.pass.cpp35 const std::size_t max_align = alignof(std::max_align_t); in check_allocate_deallocate() local
39 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() local
68 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()
/external/elfutils/libasm/
Dasm_align.c108 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()
Dasm_end.c101 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()
Dasm_newsubscn.c84 newp->max_align = 1; in asm_newsubscn()
DlibasmP.h101 GElf_Word max_align; member
Dasm_newscn.c119 result->max_align = 1; in binary_newscn()
/external/rust/crates/bindgen/src/ir/
Dcomp.rs600 let mut max_align = 0; in bitfields_to_allocation_units() localVariable
660 max_align = cmp::max(max_align, bitfield_align); in bitfields_to_allocation_units()
1122 let mut max_align = 1; in layout() localVariable
1128 max_align = cmp::max(max_align, layout.align); in layout()
1132 Some(Layout::new(max_size, max_align)) in layout()
/external/mesa3d/src/compiler/
Dglsl_types.cpp2029 unsigned max_align = 0; in std140_size() local
2051 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() local
2414 max_align = MAX2(align, max_align); in std430_size()
2416 size = glsl_align(size, max_align); in std430_size()