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/
H A Ddo_allocate_and_deallocate.pass.cpp35 const std::size_t max_align = alignof(std::max_align_t); local
39 for(std::size_t align_req = 1; align_req <= (max_align * 2); align_req *= 2)
41 const std::size_t align_exp = align_req > max_align
42 ? max_align : align_req;
65 const std::size_t max_align = alignof(std::max_align_t); local
68 const std::size_t align_exp = align_req > max_align
69 ? max_align : align_req;
86 const std::size_t testSizeStart = sizeTypeMax - (max_align * 3);
87 const std::size_t testSizeEnd = sizeTypeMax - max_align;
90 for (std::size_t align=1; align <= (max_align *
[all...]
/external/syslinux/gpxe/src/arch/i386/core/
H A Drelocate.c20 #define max_align ( ( unsigned int ) _max_align ) macro
55 padded_size = ( size + max_align - 1 );
59 start, end, padded_size, max_align );
160 new_start += ( start - new_start ) & ( max_align - 1 );
/external/elfutils/libasm/
H A Dasm_align.c109 if (asmscn->max_align < value)
111 asmscn->max_align = value;
118 if (asmscn->data.up->max_align < value)
119 asmscn->data.up->max_align = value;
H A Dasm_newsubscn.c84 newp->max_align = 1;
H A DlibasmP.h101 GElf_Word max_align; member in struct:AsmScn
H A Dasm_end.c102 offset = ((offset + asmsubscn->max_align - 1)
103 & ~(asmsubscn->max_align - 1));
125 newdata->d_align = first ? asmsubscn->max_align : 1;
429 shdr->sh_addralign = asmscn->max_align;
H A Dasm_newscn.c120 result->max_align = 1;
/external/syslinux/com32/lib/sys/module/i386/
H A Delf_module.c39 Elf32_Word max_align = sizeof(void*); // Min. align of posix_memalign() local
67 max_align = MAX(max_align, cr_pht->p_align);
90 min_alloc = min_addr - (min_addr % max_align);
93 max_alloc = max_addr - (max_addr % max_align);
94 if (max_addr % max_align > 0)
95 max_alloc += max_align;
99 max_align,
179 max_align);
/external/syslinux/com32/lib/sys/module/x86_64/
H A Delf_module.c39 Elf64_Word max_align = sizeof(void*); // Min. align of posix_memalign() local
67 max_align = MAX(max_align, cr_pht->p_align);
90 min_alloc = min_addr - (min_addr % max_align);
93 max_alloc = max_addr - (max_addr % max_align);
94 if (max_addr % max_align > 0)
95 max_alloc += max_align;
99 max_align,
179 max_align);
/external/mesa3d/src/compiler/
H A Dglsl_types.cpp1645 unsigned max_align = 0; local
1667 max_align = MAX2(align, max_align);
1672 size = glsl_align(size, MAX2(max_align, 16));
1864 unsigned max_align = 0; local
1881 max_align = MAX2(align, max_align);
1883 size = glsl_align(size, max_align);
/external/valgrind/coregrind/m_syswrap/
H A Dsyswrap-solaris.c5805 SizeT max_align = VKI_PAGE_SIZE; local
5880 if (phdr->p_align > max_align) {
5881 max_align = phdr->p_align;
5889 if ((max_align & (max_align - 1)) != 0) {
5892 "is not a power of 2 (%#lx)\n", max_align);
5895 vg_assert(max_align >= VKI_PAGE_SIZE);
5898 if (max_align > VKI_UINT_MAX) {
5901 "for 32-bit ELF is >32-bits (%#lx)\n", max_align);
5934 "align is %#lx\n", segments, span, max_align);
[all...]

Completed in 411 milliseconds