Lines Matching refs:alignment
1789 size_t const alignment, in _aligned_malloc_dbg() argument
1794 return _aligned_offset_malloc_dbg(size, alignment, 0, file_name, line_number); in _aligned_malloc_dbg()
1799 size_t alignment, in _aligned_offset_malloc_dbg() argument
1805 _VALIDATE_RETURN(IS_2_POW_N(alignment), EINVAL, nullptr); in _aligned_offset_malloc_dbg()
1808 alignment = (alignment > sizeof(uintptr_t) ? alignment : sizeof(uintptr_t)) - 1; in _aligned_offset_malloc_dbg()
1812 size_t const nonuser_size = t_ptr + alignment + sizeof(_AlignMemBlockHdr); // Cannot overflow in _aligned_offset_malloc_dbg()
1820 uintptr_t const r_ptr = ((ptr +nonuser_size +offset)&~alignment)-offset; in _aligned_offset_malloc_dbg()
1830 size_t const alignment, in _aligned_realloc_dbg() argument
1835 return _aligned_offset_realloc_dbg(block, size, alignment, 0, file_name, line_number); in _aligned_realloc_dbg()
1842 size_t const alignment, in _aligned_recalloc_dbg() argument
1847 return _aligned_offset_recalloc_dbg(block, count, size, alignment, 0, file_name, line_number); in _aligned_recalloc_dbg()
1853 size_t alignment, in _aligned_offset_realloc_dbg() argument
1865 return _aligned_offset_malloc_dbg(size, alignment, offset, file_name, line_number); in _aligned_offset_realloc_dbg()
1890 _VALIDATE_RETURN(IS_2_POW_N(alignment), EINVAL, nullptr); in _aligned_offset_realloc_dbg()
1895 alignment = (alignment > sizeof(uintptr_t) ? alignment : sizeof(uintptr_t)) -1; in _aligned_offset_realloc_dbg()
1899 nonuser_size = t_ptr + alignment + sizeof(_AlignMemBlockHdr); // Cannot overflow in _aligned_offset_realloc_dbg()
1906 r_ptr = ((ptr + nonuser_size + offset) & ~alignment) - offset; in _aligned_offset_realloc_dbg()
1919 size_t alignment, in _aligned_msize_dbg() argument
1941 alignment = (alignment > sizeof(uintptr_t) ? alignment : sizeof(uintptr_t)) - 1; in _aligned_msize_dbg()
1942 footer_size = gap + alignment + sizeof(_AlignMemBlockHdr) - header_size; in _aligned_msize_dbg()
1951 size_t const alignment, in _aligned_offset_recalloc_dbg() argument
1959 size_t const old_allocation_size{block ? _aligned_msize_dbg(block, alignment, offset) : 0}; in _aligned_offset_recalloc_dbg()
1962 …void* const new_block{_aligned_offset_realloc_dbg(block, new_allocation_size, alignment, offset, f… in _aligned_offset_recalloc_dbg()