Searched refs:cpuinfo_len (Results 1 – 4 of 4) sorted by relevance
/external/webp/src/dsp/ |
D | cpu-features.c | 228 int cpuinfo_len; in android_cpuInit() local 234 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit() 235 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit() 236 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit() 238 if (cpuinfo_len < 0) /* should not happen */ { in android_cpuInit() 243 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "processor"); in android_cpuInit() 245 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "Processor"); in android_cpuInit() 266 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit() 297 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit() 322 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in android_cpuInit()
|
/external/webrtc/webrtc/system_wrappers/source/android/ |
D | cpu-features.c | 228 int cpuinfo_len; in android_cpuInit() local 234 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit() 235 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit() 236 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit() 238 if (cpuinfo_len < 0) /* should not happen */ { in android_cpuInit() 243 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "processor"); in android_cpuInit() 245 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "Processor"); in android_cpuInit() 266 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit() 297 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit() 322 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in android_cpuInit()
|
/external/opencv3/3rdparty/libwebp/cpu-features/ |
D | cpu-features.c | 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() [all …]
|
/external/skia/platform_tools/android/third_party/cpufeatures/ |
D | cpu-features.c | 558 get_elf_hwcap_from_proc_cpuinfo(const char* cpuinfo, int cpuinfo_len) { in get_elf_hwcap_from_proc_cpuinfo() argument 561 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in get_elf_hwcap_from_proc_cpuinfo() 576 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in get_elf_hwcap_from_proc_cpuinfo() 668 int cpuinfo_len; in android_cpuInit() local 676 cpuinfo_len = get_file_size("/proc/cpuinfo"); in android_cpuInit() 677 if (cpuinfo_len < 0) { in android_cpuInit() 681 cpuinfo = malloc(cpuinfo_len); in android_cpuInit() 686 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit() 687 D("cpuinfo_len is (%d):\n%.*s\n", cpuinfo_len, in android_cpuInit() 688 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit() [all …]
|