/dports/lang/rust/rustc-1.58.1-src/library/stdarch/crates/std_detect/src/detect/os/linux/ |
H A D | aarch64.rs | 9 if let Ok(auxv) = auxvec::auxv() { in detect_features() 10 let hwcap: AtHwcap = auxv.into(); in detect_features() 82 fn from(auxv: auxvec::AuxVec) -> Self { in from() 84 fp: bit::test(auxv.hwcap, 0), in from() 87 aes: bit::test(auxv.hwcap, 3), in from() 89 sha1: bit::test(auxv.hwcap, 5), in from() 90 sha2: bit::test(auxv.hwcap, 6), in from() 93 fphp: bit::test(auxv.hwcap, 9), in from() 102 sm3: bit::test(auxv.hwcap, 18), in from() 103 sm4: bit::test(auxv.hwcap, 19), in from() [all …]
|
H A D | arm.rs | 19 if let Ok(auxv) = auxvec::auxv() { in detect_features() 20 enable_feature(&mut value, Feature::neon, bit::test(auxv.hwcap, 12)); in detect_features() 21 enable_feature(&mut value, Feature::pmull, bit::test(auxv.hwcap2, 1)); in detect_features() 22 enable_feature(&mut value, Feature::crc, bit::test(auxv.hwcap2, 4)); in detect_features() 26 bit::test(auxv.hwcap2, 0) in detect_features() 27 && bit::test(auxv.hwcap2, 1) in detect_features() 28 && bit::test(auxv.hwcap2, 2) in detect_features() 29 && bit::test(auxv.hwcap2, 3), in detect_features() 31 enable_feature(&mut value, Feature::aes, bit::test(auxv.hwcap2, 0)); in detect_features() 36 bit::test(auxv.hwcap2, 2) && bit::test(auxv.hwcap2, 3), in detect_features()
|
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/none/tests/solaris/ |
H A D | proc_auxv.c | 30 if (memcmp(auxv, &rauxv, sizeof(rauxv))) { in check_file() 33 auxv->a_un.a_val); in check_file() 39 if (auxv->a_type == AT_NULL) in check_file() 42 auxv++; in check_file() 54 auxv_t *auxv; in main() local 60 auxv = (auxv_t*)(envp + 1); in main() 63 if (check_file("/proc/self/auxv", auxv)) in main() 68 if (check_file(buf, auxv)) in main() 72 while (auxv->a_type != AT_NULL) { in main() 73 if (auxv->a_type == AT_SUN_EXECNAME) { in main() [all …]
|
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/none/tests/solaris/ |
H A D | proc_auxv.c | 30 if (memcmp(auxv, &rauxv, sizeof(rauxv))) { in check_file() 33 auxv->a_un.a_val); in check_file() 39 if (auxv->a_type == AT_NULL) in check_file() 42 auxv++; in check_file() 54 auxv_t *auxv; in main() local 60 auxv = (auxv_t*)(envp + 1); in main() 63 if (check_file("/proc/self/auxv", auxv)) in main() 68 if (check_file(buf, auxv)) in main() 72 while (auxv->a_type != AT_NULL) { in main() 73 if (auxv->a_type == AT_SUN_EXECNAME) { in main() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/tests/source/cfg_if/detect/os/linux/ |
H A D | aarch64.rs | 15 if let Ok(auxv) = auxvec::auxv() { in detect_features() 16 let hwcap: AtHwcap = auxv.into(); in detect_features() 57 fn from(auxv: auxvec::AuxVec) -> Self { in from() 59 fp: bit::test(auxv.hwcap, 0), in from() 60 asimd: bit::test(auxv.hwcap, 1), in from() 62 aes: bit::test(auxv.hwcap, 3), in from() 63 pmull: bit::test(auxv.hwcap, 4), in from() 64 sha1: bit::test(auxv.hwcap, 5), in from() 65 sha2: bit::test(auxv.hwcap, 6), in from() 68 fphp: bit::test(auxv.hwcap, 9), in from() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/tools/rustfmt/tests/target/cfg_if/detect/os/linux/ |
H A D | aarch64.rs | 15 if let Ok(auxv) = auxvec::auxv() { in detect_features() 16 let hwcap: AtHwcap = auxv.into(); in detect_features() 57 fn from(auxv: auxvec::AuxVec) -> Self { in from() 59 fp: bit::test(auxv.hwcap, 0), in from() 60 asimd: bit::test(auxv.hwcap, 1), in from() 62 aes: bit::test(auxv.hwcap, 3), in from() 63 pmull: bit::test(auxv.hwcap, 4), in from() 64 sha1: bit::test(auxv.hwcap, 5), in from() 65 sha2: bit::test(auxv.hwcap, 6), in from() 68 fphp: bit::test(auxv.hwcap, 9), in from() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/arch/um/os-Linux/ |
H A D | elf_aux.c | 29 elf_auxv_t * auxv; in scan_elf_aux() local 33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux() 34 switch ( auxv->a_type ) { in scan_elf_aux() 36 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux() 42 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux() 48 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux() 56 (char *) (long) auxv->a_un.a_val; in scan_elf_aux() 59 page_size = auxv->a_un.a_val; in scan_elf_aux()
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/arch/um/os-Linux/ |
H A D | elf_aux.c | 29 elf_auxv_t * auxv; in scan_elf_aux() local 33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux() 34 switch ( auxv->a_type ) { in scan_elf_aux() 36 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux() 42 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux() 48 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux() 56 (char *) (long) auxv->a_un.a_val; in scan_elf_aux() 59 page_size = auxv->a_un.a_val; in scan_elf_aux()
|
/dports/multimedia/libv4l/linux-5.13-rc2/arch/um/os-Linux/ |
H A D | elf_aux.c | 29 elf_auxv_t * auxv; in scan_elf_aux() local 33 for ( auxv = (elf_auxv_t *)envp; auxv->a_type != AT_NULL; auxv++) { in scan_elf_aux() 34 switch ( auxv->a_type ) { in scan_elf_aux() 36 __kernel_vsyscall = auxv->a_un.a_val; in scan_elf_aux() 42 vsyscall_ehdr = auxv->a_un.a_val; in scan_elf_aux() 48 elf_aux_hwcap = auxv->a_un.a_val; in scan_elf_aux() 56 (char *) (long) auxv->a_un.a_val; in scan_elf_aux() 59 page_size = auxv->a_un.a_val; in scan_elf_aux()
|
/dports/devel/valgrind-lts/valgrind-dragonfly-dragonfly/coregrind/m_initimg/ |
H A D | initimg-solaris.c | 612 auxv++; in setup_client_stack() 617 auxv++; in setup_client_stack() 623 auxv++; in setup_client_stack() 629 auxv++; in setup_client_stack() 634 auxv++; in setup_client_stack() 643 auxv++; in setup_client_stack() 648 auxv++; in setup_client_stack() 654 auxv++; in setup_client_stack() 794 auxv++; in setup_client_stack() 826 auxv++; in setup_client_stack() [all …]
|
H A D | initimg-linux.c | 348 struct auxv struct 377 return (struct auxv *)sp; in find_auxv() 399 struct auxv *auxv; in setup_client_stack() local 401 const struct auxv *cauxv; in setup_client_stack() 609 auxv = (struct auxv *)ptr; in setup_client_stack() 623 auxv += 2; in setup_client_stack() 629 *auxv = *orig_auxv; in setup_client_stack() 632 switch(auxv->a_type) { in setup_client_stack() 770 (UInt)auxv->u.a_val, (UInt)auxv->a_type ); in setup_client_stack() 778 (UInt)auxv->u.a_val, (UInt)auxv->a_type ); in setup_client_stack() [all …]
|
/dports/devel/valgrind/valgrind-dragonfly-dragonfly/coregrind/m_initimg/ |
H A D | initimg-solaris.c | 612 auxv++; in setup_client_stack() 617 auxv++; in setup_client_stack() 623 auxv++; in setup_client_stack() 629 auxv++; in setup_client_stack() 634 auxv++; in setup_client_stack() 643 auxv++; in setup_client_stack() 648 auxv++; in setup_client_stack() 654 auxv++; in setup_client_stack() 794 auxv++; in setup_client_stack() 826 auxv++; in setup_client_stack() [all …]
|
H A D | initimg-linux.c | 348 struct auxv struct 377 return (struct auxv *)sp; in find_auxv() 399 struct auxv *auxv; in setup_client_stack() local 401 const struct auxv *cauxv; in setup_client_stack() 609 auxv = (struct auxv *)ptr; in setup_client_stack() 623 auxv += 2; in setup_client_stack() 629 *auxv = *orig_auxv; in setup_client_stack() 632 switch(auxv->a_type) { in setup_client_stack() 770 (UInt)auxv->u.a_val, (UInt)auxv->a_type ); in setup_client_stack() 778 (UInt)auxv->u.a_val, (UInt)auxv->a_type ); in setup_client_stack() [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 207 unsigned long auxv = 0; in os_get_processor_features() local 214 auxv = auxv | HWCAP_AES; in os_get_processor_features() 218 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 222 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 226 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 230 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 235 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 238 return auxv; in os_get_processor_features() 303 uint64_t auxv = os_get_processor_features(); in get_os_cpu_info() 305 _features = auxv & ( in get_os_cpu_info()
|
/dports/security/libgcrypt/libgcrypt-1.9.4/src/ |
H A D | hwf-ppc.c | 109 struct { unsigned long a_type; unsigned long a_val; } auxv; in get_hwcap() local 146 auxv.a_val = getauxval (AT_HWCAP); in get_hwcap() 149 stored_hwcap |= auxv.a_val; in get_hwcap() 156 auxv.a_val = getauxval (AT_HWCAP2); in get_hwcap() 159 stored_hwcap2 |= auxv.a_val; in get_hwcap() 180 while (fread(&auxv, sizeof(auxv), 1, f) > 0) in get_hwcap() 182 if (auxv.a_type == AT_HWCAP) in get_hwcap() 184 stored_hwcap |= auxv.a_val; in get_hwcap() 188 if (auxv.a_type == AT_HWCAP2) in get_hwcap() 190 stored_hwcap2 |= auxv.a_val; in get_hwcap()
|
/dports/mail/thunderbird/thunderbird-91.8.0/comm/third_party/libgcrypt/src/ |
H A D | hwf-ppc.c | 109 struct { unsigned long a_type; unsigned long a_val; } auxv; in get_hwcap() local 146 auxv.a_val = getauxval (AT_HWCAP); in get_hwcap() 149 stored_hwcap |= auxv.a_val; in get_hwcap() 156 auxv.a_val = getauxval (AT_HWCAP2); in get_hwcap() 159 stored_hwcap2 |= auxv.a_val; in get_hwcap() 180 while (fread(&auxv, sizeof(auxv), 1, f) > 0) in get_hwcap() 182 if (auxv.a_type == AT_HWCAP) in get_hwcap() 184 stored_hwcap |= auxv.a_val; in get_hwcap() 188 if (auxv.a_type == AT_HWCAP2) in get_hwcap() 190 stored_hwcap2 |= auxv.a_val; in get_hwcap()
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 219 unsigned long auxv = 0; in os_get_processor_features() local 263 auxv = auxv | HWCAP_AES; in os_get_processor_features() 267 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 271 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 275 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 279 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 284 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 287 return auxv; in os_get_processor_features()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 219 unsigned long auxv = 0; in os_get_processor_features() local 263 auxv = auxv | HWCAP_AES; in os_get_processor_features() 267 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 271 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 275 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 279 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 284 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 287 return auxv; in os_get_processor_features()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 219 unsigned long auxv = 0; in os_get_processor_features() local 263 auxv = auxv | HWCAP_AES; in os_get_processor_features() 267 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 271 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 275 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 279 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 284 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 287 return auxv; in os_get_processor_features()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 219 unsigned long auxv = 0; in os_get_processor_features() local 263 auxv = auxv | HWCAP_AES; in os_get_processor_features() 267 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 271 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 275 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 279 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 284 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 287 return auxv; in os_get_processor_features()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 219 unsigned long auxv = 0; in os_get_processor_features() local 263 auxv = auxv | HWCAP_AES; in os_get_processor_features() 267 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 271 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 275 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 279 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 284 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 287 return auxv; in os_get_processor_features()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 219 unsigned long auxv = 0; in os_get_processor_features() local 263 auxv = auxv | HWCAP_AES; in os_get_processor_features() 267 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 271 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 275 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 279 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 284 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 287 return auxv; in os_get_processor_features()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/hotspot/src/os_cpu/bsd_aarch64/vm/ |
H A D | vm_version_bsd_aarch64.cpp | 218 unsigned long auxv = 0; in os_get_processor_features() local 262 auxv = auxv | HWCAP_AES; in os_get_processor_features() 266 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 270 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 274 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 278 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 283 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 286 return auxv; in os_get_processor_features()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/hotspot/src/os_cpu/bsd_aarch64/vm/ |
H A D | vm_version_bsd_aarch64.cpp | 218 unsigned long auxv = 0; in os_get_processor_features() local 262 auxv = auxv | HWCAP_AES; in os_get_processor_features() 266 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 270 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 274 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 278 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 283 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 286 return auxv; in os_get_processor_features()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | vm_version_bsd_aarch64.cpp | 283 unsigned long auxv = 0; in os_get_processor_features() local 290 auxv = auxv | HWCAP_AES; in os_get_processor_features() 294 auxv = auxv | HWCAP_PMULL; in os_get_processor_features() 298 auxv = auxv | HWCAP_SHA1; in os_get_processor_features() 302 auxv = auxv | HWCAP_SHA2; in os_get_processor_features() 306 auxv = auxv | HWCAP_CRC32; in os_get_processor_features() 311 auxv = auxv | HWCAP_ASIMD; in os_get_processor_features() 314 return auxv; in os_get_processor_features() 367 uint64_t auxv = os_get_processor_features(); in get_os_cpu_info() 369 _features = auxv & ( in get_os_cpu_info()
|