Lines Matching full:align
56 static const size_t align[] = { in ATF_TC_BODY() local
68 align[i], size[i]); in ATF_TC_BODY()
69 ret = posix_memalign(&p, align[i], size[i]); in ATF_TC_BODY()
71 if ( align[i] < sizeof(void *)) in ATF_TC_BODY()
77 ATF_REQUIRE_EQ_MSG(((intptr_t)p) & (align[i] - 1), 0, in ATF_TC_BODY()
95 static const size_t align[] = { in ATF_TC_BODY() local
104 align[i], size[i]); in ATF_TC_BODY()
105 p = aligned_alloc(align[i], size[i]); in ATF_TC_BODY()
107 if (align[i] == 0 || ((align[i] - 1) & align[i]) != 0 || in ATF_TC_BODY()
108 size[i] % align[i] != 0) { in ATF_TC_BODY()
118 ATF_REQUIRE_EQ_MSG(align[i] == 0, false, in ATF_TC_BODY()
121 ATF_REQUIRE_EQ_MSG((align[i] - 1) & align[i], 0, in ATF_TC_BODY()
133 ATF_REQUIRE_EQ_MSG(size[i] % align[i], 0, in ATF_TC_BODY()
137 ATF_REQUIRE_EQ_MSG(((intptr_t)p) & (align[i] - 1), 0, in ATF_TC_BODY()