Home
last modified time | relevance | path

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

/bionic/tests/
Dstdlib_test.cpp239 for (size_t fail_align = last_align + 1; fail_align < align; fail_align++) { in TEST() local
240 ASSERT_EQ(EINVAL, posix_memalign(&ptr, fail_align, 256)) in TEST()
241 << "Unexpected success at align " << fail_align; in TEST()
277 for (size_t fail_align = last_align + 1; fail_align < align; fail_align++) { in TEST() local
278 ASSERT_TRUE(aligned_alloc(fail_align, fail_align) == nullptr) in TEST()
279 << "Unexpected success at align " << fail_align; in TEST()
280 ASSERT_EQ(EINVAL, errno) << "Unexpected errno at align " << fail_align; in TEST()