Lines Matching refs:cpuinfo_len
583 get_elf_hwcap_from_proc_cpuinfo(const char* cpuinfo, int cpuinfo_len) { in get_elf_hwcap_from_proc_cpuinfo() argument
586 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in get_elf_hwcap_from_proc_cpuinfo()
601 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap_from_proc_cpuinfo()
678 int cpuinfo_len; in android_cpuInit() local
686 cpuinfo_len = get_file_size("/proc/cpuinfo"); in android_cpuInit()
687 if (cpuinfo_len < 0) { in android_cpuInit()
691 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
696 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
697 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit()
698 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
700 if (cpuinfo_len < 0) /* should not happen */ { in android_cpuInit()
723 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
751 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
787 hwcaps = get_elf_hwcap_from_proc_cpuinfo(cpuinfo, cpuinfo_len); in android_cpuInit()
891 cpuinfo_len, in android_cpuInit()
945 cpuinfo_len, in android_cpuInit()