Lines Matching refs:getauxval
38 TEST(getauxval, expected_values) { in TEST() argument
40 ASSERT_EQ(0UL, getauxval(AT_SECURE)); in TEST()
41 ASSERT_EQ(getuid(), getauxval(AT_UID)); in TEST()
42 ASSERT_EQ(geteuid(), getauxval(AT_EUID)); in TEST()
43 ASSERT_EQ(getgid(), getauxval(AT_GID)); in TEST()
44 ASSERT_EQ(getegid(), getauxval(AT_EGID)); in TEST()
45 ASSERT_EQ(static_cast<unsigned long>(getpagesize()), getauxval(AT_PAGESZ)); in TEST()
47 ASSERT_NE(0UL, getauxval(AT_PHDR)); in TEST()
48 ASSERT_NE(0UL, getauxval(AT_PHNUM)); in TEST()
49 ASSERT_NE(0UL, getauxval(AT_ENTRY)); in TEST()
50 ASSERT_NE(0UL, getauxval(AT_PAGESZ)); in TEST()
56 TEST(getauxval, unexpected_values) { in TEST() argument
59 ASSERT_EQ(0UL, getauxval(0xdeadbeef)); in TEST()
66 TEST(getauxval, arm_has_AT_HWCAP2) { in TEST() argument
81 getauxval(AT_HWCAP2); in TEST()