Home
last modified time | relevance | path

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

/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/syslinux/com32/lib/sys/module/i386/
Delf_module.c39 Elf32_Word max_align = sizeof(void*); // Min. align of posix_memalign() in load_segments() local
67 max_align = MAX(max_align, cr_pht->p_align); in load_segments()
90 min_alloc = min_addr - (min_addr % max_align); in load_segments()
93 max_alloc = max_addr - (max_addr % max_align); in load_segments()
94 if (max_addr % max_align > 0) in load_segments()
95 max_alloc += max_align; in load_segments()
99 max_align, in load_segments()
/external/syslinux/com32/lib/sys/module/x86_64/
Delf_module.c39 Elf64_Word max_align = sizeof(void*); // Min. align of posix_memalign() in load_segments() local
67 max_align = MAX(max_align, cr_pht->p_align); in load_segments()
90 min_alloc = min_addr - (min_addr % max_align); in load_segments()
93 max_alloc = max_addr - (max_addr % max_align); in load_segments()
94 if (max_addr % max_align > 0) in load_segments()
95 max_alloc += max_align; in load_segments()
99 max_align, in load_segments()
/external/syslinux/gpxe/src/arch/i386/core/
Drelocate.c20 #define max_align ( ( unsigned int ) _max_align ) macro
55 padded_size = ( size + max_align - 1 ); in relocate()
59 start, end, padded_size, max_align ); in relocate()
160 new_start += ( start - new_start ) & ( max_align - 1 ); in relocate()
/external/elfutils/libasm/
Dasm_align.c109 if (asmscn->max_align < value) in asm_align()
111 asmscn->max_align = value; in asm_align()
118 if (asmscn->data.up->max_align < value) in asm_align()
119 asmscn->data.up->max_align = value; in asm_align()
Dasm_end.c102 offset = ((offset + asmsubscn->max_align - 1) in binary_end()
103 & ~(asmsubscn->max_align - 1)); in binary_end()
125 newdata->d_align = first ? asmsubscn->max_align : 1; in binary_end()
429 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.c120 result->max_align = 1; in binary_newscn()
/external/mesa3d/src/compiler/
Dglsl_types.cpp1645 unsigned max_align = 0; in std140_size() local
1667 max_align = MAX2(align, max_align); in std140_size()
1672 size = glsl_align(size, MAX2(max_align, 16)); in std140_size()
1864 unsigned max_align = 0; in std430_size() local
1881 max_align = MAX2(align, max_align); in std430_size()
1883 size = glsl_align(size, max_align); in std430_size()
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-solaris.c5805 SizeT max_align = VKI_PAGE_SIZE; in mmapobj_process_phdrs() local
5880 if (phdr->p_align > max_align) { in mmapobj_process_phdrs()
5881 max_align = phdr->p_align; in mmapobj_process_phdrs()
5889 if ((max_align & (max_align - 1)) != 0) { in mmapobj_process_phdrs()
5892 "is not a power of 2 (%#lx)\n", max_align); in mmapobj_process_phdrs()
5895 vg_assert(max_align >= VKI_PAGE_SIZE); in mmapobj_process_phdrs()
5898 if (max_align > VKI_UINT_MAX) { in mmapobj_process_phdrs()
5901 "for 32-bit ELF is >32-bits (%#lx)\n", max_align); in mmapobj_process_phdrs()
5934 "align is %#lx\n", segments, span, max_align); in mmapobj_process_phdrs()
5940 MapRequest mreq = {MAlign, max_align, span}; in mmapobj_process_phdrs()
[all …]