Searched refs:cpuinfo_len (Results 1 – 1 of 1) sorted by relevance
427 get_elf_hwcap(const char* cpuinfo, int cpuinfo_len) in get_elf_hwcap() argument471 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap()543 int cpuinfo_len; in android_cpuInit() local551 cpuinfo_len = get_file_size("/proc/cpuinfo"); in android_cpuInit()552 if (cpuinfo_len < 0) { in android_cpuInit()556 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()561 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()562 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit()563 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()565 if (cpuinfo_len < 0) /* should not happen */ { in android_cpuInit()[all …]