Searched refs:alignment_mask (Results 1 – 3 of 3) sorted by relevance
/trusty/kernel/app/memorytest/ |
D | memorytest.c | 24 const uintptr_t alignment_mask = expected_malloc_alignment(size) - 1; in TEST() local 29 ASSERT_EQ(0, (uintptr_t)ptr1 & alignment_mask, "size %d / align %ld\n", in TEST() 30 size, alignment_mask + 1); in TEST() 31 ASSERT_EQ(0, (uintptr_t)ptr3 & alignment_mask, "size %d / align %ld\n", in TEST() 32 size, alignment_mask + 1); in TEST()
|
/trusty/user/base/lib/dlmalloc/test/ |
D | dlmalloc_test.c | 170 const uintptr_t alignment_mask = expected_malloc_alignment(size) - 1; in TEST_F() local 175 ASSERT_EQ(0, (uintptr_t)ptr1 & alignment_mask, "size %d / align %zu", in TEST_F() 176 size, alignment_mask + 1); in TEST_F() 177 ASSERT_EQ(0, (uintptr_t)ptr3 & alignment_mask, "size %d / align %zu", in TEST_F() 178 size, alignment_mask + 1); in TEST_F()
|
/trusty/user/base/lib/libc-trusty/test/ |
D | libc_test.c | 304 const uintptr_t alignment_mask = sizeof(void*) * 2 - 1; in TEST_F() local 305 ASSERT_EQ(0, frame_ptr() & alignment_mask); in TEST_F()
|