Home
last modified time | relevance | path

Searched refs:cpuinfo_line (Results 1 – 4 of 4) sorted by relevance

/external/libyuv/files/source/
Dcpu_id.cc141 char cpuinfo_line[512]; in ArmCpuCaps() local
148 while (fgets(cpuinfo_line, sizeof(cpuinfo_line) - 1, f)) { in ArmCpuCaps()
149 if (memcmp(cpuinfo_line, "Features", 8) == 0) { in ArmCpuCaps()
150 char* p = strstr(cpuinfo_line, " neon"); in ArmCpuCaps()
156 p = strstr(cpuinfo_line, " asimd"); in ArmCpuCaps()
169 char cpuinfo_line[512]; in MipsCpuCaps() local
179 while (fgets(cpuinfo_line, sizeof(cpuinfo_line) - 1, f)) { in MipsCpuCaps()
180 if (memcmp(cpuinfo_line, "ASEs implemented", 16) == 0) { in MipsCpuCaps()
181 char* p = strstr(cpuinfo_line, ase); in MipsCpuCaps()
/external/valgrind/tests/
Dmips_features.c26 char cpuinfo_line[256]; in mipsCPUInfo() local
32 while (fgets (cpuinfo_line, sizeof (cpuinfo_line), f) != NULL) in mipsCPUInfo()
34 if (strstr (cpuinfo_line, search_string) != NULL) in mipsCPUInfo()
/external/libvpx/libvpx/third_party/libyuv/source/
Dcpu_id.cc138 char cpuinfo_line[512]; in ArmCpuCaps() local
145 while (fgets(cpuinfo_line, sizeof(cpuinfo_line) - 1, f)) { in ArmCpuCaps()
146 if (memcmp(cpuinfo_line, "Features", 8) == 0) { in ArmCpuCaps()
147 char* p = strstr(cpuinfo_line, " neon"); in ArmCpuCaps()
153 p = strstr(cpuinfo_line, " asimd"); in ArmCpuCaps()
/external/libjpeg-turbo/simd/
Djsimd_mips.c38 char cpuinfo_line[256]; in parse_proc_cpuinfo() local
43 while (fgets(cpuinfo_line, sizeof(cpuinfo_line), f) != NULL) { in parse_proc_cpuinfo()
44 if (strstr(cpuinfo_line, search_string) != NULL) { in parse_proc_cpuinfo()