Home
last modified time | relevance | path

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

/ndk/sources/android/cpufeatures/
Dcpu-features.c567 get_elf_hwcap_from_proc_cpuinfo(const char* cpuinfo, int cpuinfo_len) { in get_elf_hwcap_from_proc_cpuinfo() argument
570 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in get_elf_hwcap_from_proc_cpuinfo()
585 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap_from_proc_cpuinfo()
662 int cpuinfo_len; in android_cpuInit() local
670 cpuinfo_len = get_file_size("/proc/cpuinfo"); in android_cpuInit()
671 if (cpuinfo_len < 0) { in android_cpuInit()
675 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
680 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
681 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit()
682 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
[all …]