Lines Matching refs:cpuinfo_len
428 get_elf_hwcap(const char* cpuinfo, int cpuinfo_len) in get_elf_hwcap() argument
472 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap()
544 int cpuinfo_len; in android_cpuInit() local
552 cpuinfo_len = get_file_size("/proc/cpuinfo"); in android_cpuInit()
553 if (cpuinfo_len < 0) { in android_cpuInit()
557 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
562 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
563 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit()
564 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
566 if (cpuinfo_len < 0) /* should not happen */ { in android_cpuInit()
592 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
623 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
648 uint32_t hwcaps = get_elf_hwcap(cpuinfo, cpuinfo_len); in android_cpuInit()