Home
last modified time | relevance | path

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

/ndk/sources/android/cpufeatures/
Dcpu-features.c583 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()
[all …]