Home
last modified time | relevance | path

Searched refs:alignment_mask (Results 1 – 3 of 3) sorted by relevance

/trusty/kernel/app/memorytest/
Dmemorytest.c24 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/
Ddlmalloc_test.c170 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/
Dlibc_test.c304 const uintptr_t alignment_mask = sizeof(void*) * 2 - 1; in TEST_F() local
305 ASSERT_EQ(0, frame_ptr() & alignment_mask); in TEST_F()