Home
last modified time | relevance | path

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

/bionic/tests/
Difunc_test.cpp47 extern "C" fn_ptr_t hwcap_resolver(uint64_t hwcap, __ifunc_arg_t* arg) in hwcap_resolver() argument
49 g_hwcap = hwcap; in hwcap_resolver()
58 extern "C" fn_ptr_t hwcap_resolver(unsigned long hwcap) { in hwcap_resolver() argument
59 g_hwcap = hwcap; in hwcap_resolver()
71 int hwcap() __attribute__((ifunc("hwcap_resolver")));
73 TEST(ifunc, hwcap) { in TEST() argument
74 ASSERT_EQ(42, hwcap()); in TEST()
Dsys_auxv_test.cpp34 __attribute__((__unused__)) unsigned long hwcap = getauxval(AT_HWCAP); in TEST() local
46 __attribute__((__unused__)) unsigned long hwcap = getauxval(AT_HWCAP2); in TEST() local
/bionic/libc/bionic/
Dbionic_call_ifunc_resolver.cpp53 static unsigned long hwcap; in __bionic_call_ifunc_resolver()
57 hwcap = getauxval(AT_HWCAP); in __bionic_call_ifunc_resolver()
59 return reinterpret_cast<ifunc_resolver_t>(resolver_addr)(hwcap); in __bionic_call_ifunc_resolver()
/bionic/libc/private/
Dbionic_ifuncs.h35 #define IFUNC_ARGS (uint64_t hwcap __attribute__((unused)), \
38 #define IFUNC_ARGS (unsigned long hwcap __attribute__((unused)))
/bionic/libc/include/bits/
Dauxvec.h41 #if __has_include(<asm/hwcap.h>)
/bionic/libc/arch-arm/
Ddynamic_function_dispatch.cpp152 return memmove_resolver(hwcap); in DEFINE_IFUNC_FOR()