Home
last modified time | relevance | path

Searched refs:align (Results 1 – 4 of 4) sorted by relevance

/malloc/
A Dtst-malloc-too-large.c145 size_t align; in test_large_aligned_allocations() local
150 for (align = 1; align <= pagesize; align *= 2) in test_large_aligned_allocations()
156 TEST_VERIFY (memalign (align, size) == NULL); in test_large_aligned_allocations()
164 if ((align % sizeof (void *)) == 0) in test_large_aligned_allocations()
167 TEST_VERIFY (posix_memalign (&ptr, align, size) == ENOMEM); in test_large_aligned_allocations()
172 if ((size % align) == 0) in test_large_aligned_allocations()
178 TEST_VERIFY (aligned_alloc (align, size) == NULL); in test_large_aligned_allocations()
A Dtst-obstack.c31 int align = 2; in do_test() local
33 while (align <= 64) in do_test()
37 int align_mask = align - 1; in do_test()
59 align <<= 1; in do_test()
A Dalloc_buffer_alloc_array.c24 size_t align, size_t count) in __libc_alloc_buffer_alloc_array() argument
28 size_t aligned = ALIGN_UP (current, align); in __libc_alloc_buffer_alloc_array()
A Dtst-compathooks-off.c78 memalign_called (size_t align, size_t size, const void *address) in memalign_called() argument
82 void *mem = memalign (align, size); in memalign_called()

Completed in 10 milliseconds