Home
last modified time | relevance | path

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

/ndk/sources/android/cpufeatures/
Dcpu-features.c535 get_elf_hwcap_from_proc_cpuinfo(const char* cpuinfo, int cpuinfo_len) { in get_elf_hwcap_from_proc_cpuinfo() argument
538 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in get_elf_hwcap_from_proc_cpuinfo()
553 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap_from_proc_cpuinfo()
629 char* cpuinfo = NULL; in android_cpuInit() local
643 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
644 if (cpuinfo == NULL) { in android_cpuInit()
648 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
650 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
653 free(cpuinfo); in android_cpuInit()
675 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
[all …]
/ndk/build/tools/
Ddev-rebuild-ndk.sh117 if [ -e /proc/cpuinfo ] ; then
118 HOST_NUM_CPUS=`cat /proc/cpuinfo | grep -c processor`
Dndk-common.sh369 HOST_NUM_CPUS=`cat /proc/cpuinfo | grep processor | wc -l`
/ndk/sources/host-tools/make-3.81/config/
Dconfig.guess906 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
921 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
/ndk/sources/host-tools/sed-4.2.1/build-aux/
Dconfig.guess921 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
939 case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in