Home
last modified time | relevance | path

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

1234

/external/valgrind/main/tests/
Dmips_features.c49 int cpuinfo; in go() local
52 cpuinfo = mipsCPUInfo(dsp); in go()
53 if (cpuinfo == 1) { in go()
60 cpuinfo = mipsCPUInfo(dsp2); in go()
61 if (cpuinfo == 1) { in go()
68 cpuinfo = mipsCPUInfo(cavium); in go()
69 if (cpuinfo == 1) { in go()
76 cpuinfo = mipsCPUInfo(cavium2); in go()
77 if (cpuinfo == 1) { in go()
/external/webp/src/dsp/
Dcpu-features.c225 char cpuinfo[4096]; in android_cpuInit() local
232 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit()
234 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
241 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "processor"); in android_cpuInit()
243 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "Processor"); in android_cpuInit()
264 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
295 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
320 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in android_cpuInit()
/external/webrtc/src/system_wrappers/source/android/
Dcpu-features.c225 char cpuinfo[4096]; in android_cpuInit() local
232 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, sizeof cpuinfo); in android_cpuInit()
234 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
241 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "processor"); in android_cpuInit()
243 g_cpuCount = count_cpuinfo_field(cpuinfo, cpuinfo_len, "Processor"); in android_cpuInit()
264 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
295 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
320 char* cpuFeatures = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "Features"); in android_cpuInit()
/external/libopus/celt/arm/
Darmcpu.c96 FILE *cpuinfo; in opus_cpu_capabilities() local
100 cpuinfo = fopen("/proc/cpuinfo", "r"); in opus_cpu_capabilities()
102 if(cpuinfo != NULL) in opus_cpu_capabilities()
108 while(fgets(buf, 512, cpuinfo) != NULL) in opus_cpu_capabilities()
142 fclose(cpuinfo); in opus_cpu_capabilities()
/external/chromium_org/third_party/opus/src/celt/arm/
Darmcpu.c96 FILE *cpuinfo; in opus_cpu_capabilities() local
100 cpuinfo = fopen("/proc/cpuinfo", "r"); in opus_cpu_capabilities()
102 if(cpuinfo != NULL) in opus_cpu_capabilities()
108 while(fgets(buf, 512, cpuinfo) != NULL) in opus_cpu_capabilities()
142 fclose(cpuinfo); in opus_cpu_capabilities()
/external/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c499 char* cpuinfo = NULL; in android_cpuInit() local
513 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
514 if (cpuinfo == NULL) { in android_cpuInit()
518 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
520 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
523 free(cpuinfo); in android_cpuInit()
548 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
579 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
696 free(cpuinfo); in android_cpuInit()
/external/chromium_org/third_party/skia/platform_tools/android/third_party/cpufeatures/
Dcpu-features.c499 char* cpuinfo = NULL; in android_cpuInit() local
513 cpuinfo = malloc(cpuinfo_len); in android_cpuInit()
514 if (cpuinfo == NULL) { in android_cpuInit()
518 cpuinfo_len = read_file("/proc/cpuinfo", cpuinfo, cpuinfo_len); in android_cpuInit()
520 cpuinfo_len >= 0 ? cpuinfo_len : 0, cpuinfo); in android_cpuInit()
523 free(cpuinfo); in android_cpuInit()
548 char* cpuArch = extract_cpuinfo_field(cpuinfo, cpuinfo_len, "CPU architecture"); in android_cpuInit()
579 char* cpuProc = extract_cpuinfo_field(cpuinfo, cpuinfo_len, in android_cpuInit()
696 free(cpuinfo); in android_cpuInit()
/external/iptables/extensions/
Dlibxt_cpu.c25 struct xt_cpu_info *cpuinfo = cb->data; in cpu_parse() local
29 cpuinfo->invert = true; in cpu_parse()
/external/qemu/distrib/sdl-1.2.15/src/video/ipod/
DSDL_ipodvideo.c81 char cpuinfo[256]; in iPod_GetGeneration() local
86 while (fgets(cpuinfo, sizeof(cpuinfo), file) != NULL) in iPod_GetGeneration()
87 if (SDL_strncmp(cpuinfo, "Revision", 8) == 0) in iPod_GetGeneration()
91 for (i = 0; !isspace(cpuinfo[i]); i++); in iPod_GetGeneration()
92 for (; isspace(cpuinfo[i]); i++); in iPod_GetGeneration()
93 ptr = cpuinfo + i + 2; in iPod_GetGeneration()
/external/sepolicy/
Dzygote.te49 # /proc/cpuinfo with /system/lib/<ISA>/cpuinfo using a bind mount
Dgenfs_contexts7 genfscon proc /cpuinfo u:object_r:proc_cpuinfo:s0
/external/chromium_org/third_party/leveldatabase/src/doc/bench/
Ddb_bench_tree_db.cc189 FILE* cpuinfo = fopen("/proc/cpuinfo", "r"); in PrintEnvironment() local
190 if (cpuinfo != NULL) { in PrintEnvironment()
195 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in PrintEnvironment()
209 fclose(cpuinfo); in PrintEnvironment()
Ddb_bench_sqlite3.cc213 FILE* cpuinfo = fopen("/proc/cpuinfo", "r"); in PrintEnvironment() local
214 if (cpuinfo != NULL) { in PrintEnvironment()
219 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in PrintEnvironment()
233 fclose(cpuinfo); in PrintEnvironment()
/external/chromium_org/tools/traceline/traceline/
DMakefile30 rm -f *.obj {cpuinfo,traceline,assembler_unittest,vc80}.{exe,ilk,pdb} stubs
/external/chromium_org/chrome/installer/linux/common/
Dwrapper15 grep ^flags /proc/cpuinfo|grep -qs sse2
/external/qemu/distrib/sdl-1.2.15/
DMakefile.minimal14 src/cpuinfo/*.c \
DREADME.Porting31 src/cpuinfo/*.c
/external/qemu/
Dandroid-rebuild.sh55 HOST_NUM_CPUS=`cat /proc/cpuinfo | grep processor | wc -l`
/external/valgrind/main/exp-bbv/tests/ppc32-linux/
Dll.S193 # Load /proc/cpuinfo into buffer
197 # addi 3,DATA_BEGIN,(cpuinfo-data_begin)
/external/eigen/bench/btl/data/
Dgo_mean27 '<li>' `cat /proc/cpuinfo | grep "model name" | head -n 1`\
/external/oprofile/libpp/
Darrange_profiles.h145 std::string cpuinfo; member
/external/valgrind/main/exp-bbv/tests/x86-linux/
Dll.S165 # Load /proc/cpuinfo into buffer
173 # mov $cpuinfo,%ebx # '/proc/cpuinfo'
385 mov $disk_buffer-1,%esi # look in cpuinfo buffer
558 cpuinfo: .ascii "/proc/cpuinfo\0"
/external/valgrind/main/exp-bbv/tests/amd64-linux/
Dll.S173 # Load /proc/cpuinfo into buffer
181 # mov $cpuinfo,%edi # '/proc/cpuinfo'
387 mov $disk_buffer-1,%esi # look in cpuinfo buffer
558 cpuinfo: .ascii "/proc/cpuinfo\0"
/external/libpng/
DANNOUNCE61 compile and link on Android by using /proc/cpuinfo, and the old linux code
63 dependencies apart from opening /proc/cpuinfo and is C90 compliant.
/external/chromium_org/third_party/leveldatabase/src/db/
Ddb_bench.cc361 FILE* cpuinfo = fopen("/proc/cpuinfo", "r"); in PrintEnvironment() local
362 if (cpuinfo != NULL) { in PrintEnvironment()
367 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in PrintEnvironment()
381 fclose(cpuinfo); in PrintEnvironment()

1234