Home
last modified time | relevance | path

Searched refs:getauxval (Results 1 - 25 of 48) sorted by relevance

12

/third_party/musl/libc-test/src/functionalext/supplement/unistd/unistd_gtest/
H A Dunistd_getid_test.cpp23 EXPECT_EQ(getuid(), getauxval(AT_UID)); in HWTEST_F()
34 EXPECT_EQ(geteuid(), getauxval(AT_EUID)); in HWTEST_F()
45 EXPECT_EQ(getgid(), getauxval(AT_GID)); in HWTEST_F()
56 EXPECT_EQ(getegid(), getauxval(AT_EGID)); in HWTEST_F()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dgetauxval.c27 result = getauxval(AT_SECURE); in getauxval_0100()
39 result = getauxval(AT_SYSINFO); in getauxval_0200()
51 result = getauxval(AT_SYSINFO_EHDR); in getauxval_0300()
/third_party/node/deps/v8/tools/testrunner/local/
H A Dutils.py118 _LIBC.getauxval.argtypes = [ctypes.c_ulong]
119 _LIBC.getauxval.restype = ctypes.c_char_p
120 at_platform = _LIBC.getauxval(AT_PLATFORM).decode('utf-8').lower()
/third_party/rust/crates/rustix/tests/param/
H A Dauxv.rs30 weak!(fn getauxval(libc::c_ulong) -> libc::c_ulong); in test_linux_hwcap()
32 if let Some(libc_getauxval) = getauxval.get() { in test_linux_hwcap()
/third_party/node/deps/openssl/openssl/crypto/
H A Darmcap.c90 static unsigned long getauxval(unsigned long key) in getauxval() function
104 * getauxval is supported starting with API level 18
190 if (getauxval(HWCAP) & HWCAP_NEON) { in OPENSSL_cpuid_setup()
191 unsigned long hwcap = getauxval(HWCAP_CE); in OPENSSL_cpuid_setup()
231 /* If we used getauxval, we already have all the values */ in OPENSSL_cpuid_setup()
H A Dppccap.c107 static unsigned long getauxval(unsigned long key) in getauxval() function
218 unsigned long hwcap = getauxval(HWCAP); in OPENSSL_cpuid_setup()
219 unsigned long hwcap2 = getauxval(HWCAP2); in OPENSSL_cpuid_setup()
H A Duid.c50 return getauxval(AT_SECURE) != 0; in OPENSSL_issetugid()
/third_party/openssl/crypto/
H A Darmcap.c90 static unsigned long getauxval(unsigned long key) in getauxval() function
104 * getauxval is supported starting with API level 18
190 if (getauxval(HWCAP) & HWCAP_NEON) { in OPENSSL_cpuid_setup()
191 unsigned long hwcap = getauxval(HWCAP_CE); in OPENSSL_cpuid_setup()
231 /* If we used getauxval, we already have all the values */ in OPENSSL_cpuid_setup()
H A Dppccap.c107 static unsigned long getauxval(unsigned long key) in getauxval() function
218 unsigned long hwcap = getauxval(HWCAP); in OPENSSL_cpuid_setup()
219 unsigned long hwcap2 = getauxval(HWCAP2); in OPENSSL_cpuid_setup()
H A Duid.c50 return getauxval(AT_SECURE) != 0; in OPENSSL_issetugid()
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/
H A Dranden_detect.cc55 // On linux, just use the c-library getauxval call.
58 extern "C" unsigned long getauxval(unsigned long type); // NOLINT(runtime/int)
61 return static_cast<uint32_t>(getauxval(hwcap_type)); in GetAuxval()
66 // On android, probe the system's C library for getauxval().
85 void* sym = dlsym(libc_handle, "getauxval"); in GetAuxval()
117 // 2. When ABSL_INTERNAL_USE_GETAUXVAL is defined, use getauxval() (either
135 // 2. Use getauxval() to read the hardware bits and determine in CPUSupportsRandenHwAes()
/third_party/node/deps/v8/third_party/zlib/
H A Dcpu_features.c108 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()
113 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
/third_party/skia/third_party/externals/zlib/
H A Dcpu_features.c108 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()
113 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
/third_party/node/deps/zlib/
H A Dcpu_features.c110 unsigned long features = getauxval(AT_HWCAP); in _cpu_check_features()
115 unsigned long features = getauxval(AT_HWCAP2); in _cpu_check_features()
/third_party/skia/src/core/
H A DSkCpu.cpp84 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features()
121 //headers, but getauxval is only defined for API >= 18.
129 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features()
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dauxv.h11 unsigned long getauxval(unsigned long);
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dauxv.h11 unsigned long getauxval(unsigned long);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dauxv.h11 unsigned long getauxval(unsigned long);
/third_party/musl/include/sys/
H A Dauxv.h11 unsigned long getauxval(unsigned long);
/third_party/skia/third_party/externals/libpng/contrib/powerpc-vsx/
H A Dlinux_aux.c26 unsigned long auxv = getauxval(AT_HWCAP); in png_have_vsx()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dgetegid.c27 unsigned long int ret = getauxval(AT_EGID); in getegid_0100()
H A Dgetgid.c27 unsigned long int ret = getauxval(AT_GID); in getgid_0100()
H A Dgeteuid.c27 unsigned long int ret = getauxval(AT_EUID); in geteuid_0100()
/third_party/musl/src/misc/
H A Dgetauxval.c15 weak_alias(__getauxval, getauxval);
/third_party/ltp/libs/libltpvdso/
H A Dvdso_helpers.c25 sysinfo_ehdr = getauxval(AT_SYSINFO_EHDR); in vdso_init()
33 tst_res(TINFO, "getauxval() not supported"); in vdso_init()

Completed in 10 milliseconds

12