Home | History | Annotate | Download | only in cpu-features

Lines Matching full:cpuinfo

37  *          the "Features" field in /proc/cpuinfo.
40 * of /proc/cpuinfo to deal with newer hardware.
147 /* Read the content of /proc/cpuinfo into a user-provided buffer.
182 * the content of /proc/cpuinfo and return it as a heap-allocated
428 get_elf_hwcap(const char* cpuinfo, int cpuinfo_len)
469 // Recreate ELF hwcaps by parsing /proc/cpuinfo Features tag.
472 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features");
543 char* cpuinfo = NULL;
552 cpuinfo_len = get_file_size("/proc/cpuinfo");
557 cpuinfo = malloc(cpuinfo_len);
558 if (cpuinfo == NULL) {
559 D("cpuinfo buffer could not be allocated");
562 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len);
564 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo);
567 free(cpuinfo);
592 char* cpuArch = extract_cpuinfo_field(cpuinfo
623 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len,
648 uint32_t hwcaps = get_elf_hwcap(cpuinfo, cpuinfo_len);
740 free(cpuinfo);
822 * /proc/cpuinfo). Always try to use the full designation when