/external/cpu_features/src/ |
D | hwcaps.c | 30 const HardwareCapabilities hwcaps) { in CpuFeatures_IsHwCapsSet() 31 return IsSet(hwcaps_mask.hwcaps, hwcaps.hwcaps) || in CpuFeatures_IsHwCapsSet() 32 IsSet(hwcaps_mask.hwcaps2, hwcaps.hwcaps2); in CpuFeatures_IsHwCapsSet() 151 unsigned long hwcaps = GetElfHwcapFromGetauxval(type); in GetHardwareCapabilitiesFor() local 152 if (!hwcaps) { in GetHardwareCapabilitiesFor() 154 hwcaps = GetElfHwcapFromProcSelfAuxv(type); in GetHardwareCapabilitiesFor() 156 return hwcaps; in GetHardwareCapabilitiesFor() 161 capabilities.hwcaps = GetHardwareCapabilitiesFor(AT_HWCAP); in CpuFeatures_GetHardwareCapabilities()
|
D | cpuinfo_mips.c | 71 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetMipsInfo() local 73 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetMipsInfo()
|
D | cpuinfo_ppc.c | 123 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetPPCInfo() local 125 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetPPCInfo()
|
D | cpuinfo_aarch64.c | 128 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetAarch64Info() local 130 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetAarch64Info()
|
D | cpuinfo_arm.c | 188 const HardwareCapabilities hwcaps = CpuFeatures_GetHardwareCapabilities(); in GetArmInfo() local 190 if (CpuFeatures_IsHwCapsSet(kHardwareCapabilities[i], hwcaps)) { in GetArmInfo()
|
/external/cpuinfo/src/arm/linux/ |
D | hwcap.c | 95 uint32_t hwcaps[2] = { 0, 0 }; in cpuinfo_arm_linux_hwcap_from_procfs() 116 hwcaps[0] = (uint32_t) elf_auxv.a_un.a_val; in cpuinfo_arm_linux_hwcap_from_procfs() 119 hwcaps[1] = (uint32_t) elf_auxv.a_un.a_val; in cpuinfo_arm_linux_hwcap_from_procfs() 132 *hwcap = hwcaps[0]; in cpuinfo_arm_linux_hwcap_from_procfs() 133 *hwcap2 = hwcaps[1]; in cpuinfo_arm_linux_hwcap_from_procfs()
|
/external/skqp/src/core/ |
D | SkCpu.cpp | 81 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local 82 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features() 83 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features() 98 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local 99 if (hwcaps & kHWCAP_NEON ) { in read_cpu_features() 101 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
|
/external/skia/src/core/ |
D | SkCpu.cpp | 84 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local 85 if (hwcaps & kHWCAP_CRC32 ) { features |= SkCpu::CRC32; } in read_cpu_features() 86 if (hwcaps & kHWCAP_ASIMDHP) { features |= SkCpu::ASIMDHP; } in read_cpu_features() 129 uint32_t hwcaps = getauxval(AT_HWCAP); in read_cpu_features() local 130 if (hwcaps & kHWCAP_NEON ) { in read_cpu_features() 132 if (hwcaps & kHWCAP_VFPv4) { features |= SkCpu::NEON_FMA|SkCpu::VFP_FP16; } in read_cpu_features()
|
/external/cpu_features/test/ |
D | hwcaps_for_testing.cc | 28 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2) { in SetHardwareCapabilities() argument 29 g_hardware_capabilities->hwcaps = hwcaps; in SetHardwareCapabilities()
|
D | hwcaps_for_testing.h | 22 void SetHardwareCapabilities(uint32_t hwcaps, uint32_t hwcaps2);
|
D | CMakeLists.txt | 25 add_library(all_libraries ../src/hwcaps.c ../src/stack_line_reader.c)
|
/external/flac/src/libFLAC/ |
D | cpu.c | 257 long hwcaps; in ppc_cpu_info() 259 elf_aux_info(AT_HWCAP2, &hwcaps, sizeof(hwcaps)); in ppc_cpu_info() 260 if (hwcaps & PPC_FEATURE2_ARCH_3_00) { in ppc_cpu_info() 262 } else if (hwcaps & PPC_FEATURE2_ARCH_2_07) { in ppc_cpu_info() 270 #error Unsupported platform! Please add support for reading ppc hwcaps. in ppc_cpu_info()
|
/external/elfutils/backends/ |
D | sparc_attrs.c | 44 static const char *hwcaps[32] = in sparc_check_object_attribute() local 81 caps = hwcaps; in sparc_check_object_attribute()
|
/external/cpu_features/ |
D | Android.bp | 68 name: "libcpu_features-hwcaps", 71 "src/hwcaps.c", 107 "libcpu_features-hwcaps", 115 "libcpu_features-hwcaps", 222 "src/hwcaps.c",
|
D | CMakeLists.txt | 116 ${PROJECT_SOURCE_DIR}/include/internal/hwcaps.h 117 ${PROJECT_SOURCE_DIR}/src/hwcaps.c
|
/external/cpu_features/include/internal/ |
D | hwcaps.h | 169 unsigned long hwcaps; member 175 const HardwareCapabilities hwcaps);
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | minidump_writer.cc | 1020 uint32_t hwcaps; in WriteCPUInformation() member 1196 sys_info->cpu.arm_cpu_info.elf_hwcaps |= entry.hwcaps; in WriteCPUInformation()
|