Home
last modified time | relevance | path

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

/external/cpuinfo/src/arm/linux/
Dhwcap.c33 void cpuinfo_set_hwcap2(uint32_t hwcap2) { in cpuinfo_set_hwcap2() argument
34 mock_hwcap2 = hwcap2; in cpuinfo_set_hwcap2()
44 uint32_t hwcap2[restrict static 1]) in cpuinfo_arm_linux_hwcap_from_getauxval()
48 *hwcap2 = mock_hwcap2; in cpuinfo_arm_linux_hwcap_from_getauxval()
69 *hwcap2 = getauxval(AT_HWCAP2); in cpuinfo_arm_linux_hwcap_from_getauxval()
80 *hwcap2 = getauxval(AT_HWCAP2); in cpuinfo_arm_linux_hwcap_from_getauxval()
88 uint32_t hwcap2[restrict static 1]) in cpuinfo_arm_linux_hwcap_from_procfs()
92 *hwcap2 = mock_hwcap2; in cpuinfo_arm_linux_hwcap_from_procfs()
133 *hwcap2 = hwcaps[1]; in cpuinfo_arm_linux_hwcap_from_procfs()
148 uint32_t hwcap2[restrict static 1]) in cpuinfo_arm_linux_hwcap_from_getauxval()
[all …]
Dapi.h291 uint32_t hwcap2[restrict static 1]);
294 uint32_t hwcap2[restrict static 1]);
307 uint32_t hwcap2[restrict static 1]);
/external/boringssl/src/crypto/
Dcpu-arm-linux.c190 unsigned long hwcap2 = 0; in OPENSSL_cpuid_setup() local
192 hwcap2 = getauxval(AT_HWCAP2); in OPENSSL_cpuid_setup()
194 if (hwcap2 == 0) { in OPENSSL_cpuid_setup()
195 hwcap2 = crypto_get_arm_hwcap2_from_cpuinfo(&cpuinfo); in OPENSSL_cpuid_setup()
196 g_needs_hwcap2_workaround = hwcap2 != 0; in OPENSSL_cpuid_setup()
199 if (hwcap2 & HWCAP2_AES) { in OPENSSL_cpuid_setup()
202 if (hwcap2 & HWCAP2_PMULL) { in OPENSSL_cpuid_setup()
205 if (hwcap2 & HWCAP2_SHA1) { in OPENSSL_cpuid_setup()
208 if (hwcap2 & HWCAP2_SHA2) { in OPENSSL_cpuid_setup()
Dcpu-arm-linux_test.cc26 unsigned long hwcap2; in TEST() member
236 EXPECT_EQ(t.hwcap2, crypto_get_arm_hwcap2_from_cpuinfo(&sp)); in TEST()
/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dcpu-arm-linux.c190 unsigned long hwcap2 = 0; in OPENSSL_cpuid_setup() local
192 hwcap2 = getauxval(AT_HWCAP2); in OPENSSL_cpuid_setup()
194 if (hwcap2 == 0) { in OPENSSL_cpuid_setup()
195 hwcap2 = crypto_get_arm_hwcap2_from_cpuinfo(&cpuinfo); in OPENSSL_cpuid_setup()
196 g_needs_hwcap2_workaround = hwcap2 != 0; in OPENSSL_cpuid_setup()
199 if (hwcap2 & HWCAP2_AES) { in OPENSSL_cpuid_setup()
202 if (hwcap2 & HWCAP2_PMULL) { in OPENSSL_cpuid_setup()
205 if (hwcap2 & HWCAP2_SHA1) { in OPENSSL_cpuid_setup()
208 if (hwcap2 & HWCAP2_SHA2) { in OPENSSL_cpuid_setup()
Dcpu-arm-linux_test.cc26 unsigned long hwcap2; in TEST() member
236 EXPECT_EQ(t.hwcap2, crypto_get_arm_hwcap2_from_cpuinfo(&sp)); in TEST()
/external/rust/crates/libz-sys/src/zlib-ng/arch/power/
Dpower.c12 unsigned long hwcap2; in power_check_features() local
13 hwcap2 = getauxval(AT_HWCAP2); in power_check_features()
16 if (hwcap2 & PPC_FEATURE2_ARCH_2_07) in power_check_features()
/external/openscreen/third_party/abseil/src/absl/random/internal/
Dranden_detect.cc161 const uint32_t hwcap2 = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
162 return (hwcap2 & kAES) != 0; in CPUSupportsRandenHwAes()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dranden_detect.cc161 const uint32_t hwcap2 = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
162 return (hwcap2 & kAES) != 0; in CPUSupportsRandenHwAes()
/external/abseil-cpp/absl/random/internal/
Dranden_detect.cc161 const uint32_t hwcap2 = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
162 return (hwcap2 & kAES) != 0; in CPUSupportsRandenHwAes()
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dranden_detect.cc161 const uint32_t hwcap2 = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
162 return (hwcap2 & kAES) != 0; in CPUSupportsRandenHwAes()
/external/webrtc/third_party/abseil-cpp/absl/random/internal/
Dranden_detect.cc161 const uint32_t hwcap2 = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
162 return (hwcap2 & kAES) != 0; in CPUSupportsRandenHwAes()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dranden_detect.cc161 const uint32_t hwcap2 = GetAuxval(AT_HWCAP2); in CPUSupportsRandenHwAes()
162 return (hwcap2 & kAES) != 0; in CPUSupportsRandenHwAes()
/external/XNNPACK/third_party/
Dcpuinfo.patch337 + uint32_t hwcap2[restrict static 1]);
355 - void cpuinfo_set_hwcap2(uint32_t hwcap2) {
356 - mock_hwcap2 = hwcap2;
360 + void cpuinfo_set_hwcap2(uint32_t hwcap2) {
361 + mock_hwcap2 = hwcap2;
373 + uint32_t hwcap2[restrict static 1])
378 + *hwcap2 = mock_hwcap2;
382 + *hwcap2 = (uint32_t) getauxval(AT_HWCAP2);
/external/cpuinfo/include/
Dcpuinfo-mock.h65 void CPUINFO_ABI cpuinfo_set_hwcap2(uint32_t hwcap2);