Home
last modified time | relevance | path

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

123

/third_party/pulseaudio/src/pulsecore/
Dcpu-arm.c39 get_cpuinfo_line(char *cpuinfo, const char *tag) { in get_cpuinfo_line() argument
42 if (!(line = strstr(cpuinfo, tag))) in get_cpuinfo_line()
58 char *cpuinfo; in get_cpuinfo() local
61 cpuinfo = pa_xmalloc(MAX_BUFFER); in get_cpuinfo()
64 pa_xfree(cpuinfo); in get_cpuinfo()
68 if ((n = pa_read(fd, cpuinfo, MAX_BUFFER-1, NULL)) < 0) { in get_cpuinfo()
69 pa_xfree(cpuinfo); in get_cpuinfo()
73 cpuinfo[n] = 0; in get_cpuinfo()
76 return cpuinfo; in get_cpuinfo()
82 char *cpuinfo, *line; in pa_cpu_get_arm_flags() local
[all …]
/third_party/node/deps/uv/src/unix/
Dqnx.c118 struct cpuinfo_entry* cpuinfo = in uv_cpu_info() local
120 size_t cpuinfo_size = _SYSPAGE_ELEMENT_SIZE(_syspage_ptr, cpuinfo); in uv_cpu_info()
131 (*cpu_infos)[i].model = strdup(&strings->data[cpuinfo->name]); in uv_cpu_info()
132 (*cpu_infos)[i].speed = cpuinfo->speed; in uv_cpu_info()
133 SYSPAGE_ARRAY_ADJ_OFFSET(cpuinfo, cpuinfo, cpuinfo_size); in uv_cpu_info()
/third_party/libuv/src/unix/
Dqnx.c118 struct cpuinfo_entry* cpuinfo = in uv_cpu_info() local
120 size_t cpuinfo_size = _SYSPAGE_ELEMENT_SIZE(_syspage_ptr, cpuinfo); in uv_cpu_info()
131 (*cpu_infos)[i].model = strdup(&strings->data[cpuinfo->name]); in uv_cpu_info()
132 (*cpu_infos)[i].speed = cpuinfo->speed; in uv_cpu_info()
133 SYSPAGE_ARRAY_ADJ_OFFSET(cpuinfo, cpuinfo, cpuinfo_size); in uv_cpu_info()
/third_party/ltp/testcases/kernel/power_management/
Dpm_include.sh89 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'`
90 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
133 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'`
134 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq | cut -f2 -d':'`
144 siblings=`grep siblings /proc/cpuinfo | uniq | cut -f2 -d':'`
145 cpu_cores=`grep "cpu cores" /proc/cpuinfo | uniq \
/third_party/ltp/lib/
Dtst_virt.c31 FILE *cpuinfo; in is_kvm() local
37 cpuinfo = SAFE_FOPEN(NULL, "/proc/cpuinfo", "r"); in is_kvm()
39 while (fgets(line, sizeof(line), cpuinfo) != NULL) { in is_kvm()
46 SAFE_FCLOSE(NULL, cpuinfo); in is_kvm()
/third_party/openssl/apps/
Dversion.c47 int engdir = 0, moddir = 0, cpuinfo = 0; in version_main() local
91 dirty = cpuinfo = 1; in version_main()
95 = dir = engdir = moddir = cpuinfo in version_main()
133 if (cpuinfo) in version_main()
/third_party/node/deps/openssl/openssl/apps/
Dversion.c47 int engdir = 0, moddir = 0, cpuinfo = 0; in version_main() local
91 dirty = cpuinfo = 1; in version_main()
95 = dir = engdir = moddir = cpuinfo in version_main()
133 if (cpuinfo) in version_main()
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dcpu.c222 FILE* const cpuinfo = fopen("/proc/cpuinfo", "r"); in armCPUInfo() local
223 if (cpuinfo == NULL) return 0; in armCPUInfo()
224 while (fgets(line, sizeof(line), cpuinfo)) { in armCPUInfo()
232 fclose(cpuinfo); in armCPUInfo()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcpuinfo.h4 struct cpuinfo { struct
12 extern struct cpuinfo *cpus; argument
Dcpuinfo.c24 struct cpuinfo *cpus;
/third_party/skia/third_party/externals/microhttpd/m4/
Dax_count_cpus.m445 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
46 AS_IF([test "x$CPU_COUNT" = "x0" -a -e /proc/cpuinfo],[
47 CPU_COUNT=`$EGREP -c '^processor' /proc/cpuinfo`
/third_party/mesa3d/.gitlab-ci/common/
Dinit-stage2.sh57 grep -qs '\bvmx\b' /proc/cpuinfo && KVM_KERNEL_MODULE=kvm_intel || {
58 grep -qs '\bsvm\b' /proc/cpuinfo && KVM_KERNEL_MODULE=kvm_amd
/third_party/node/deps/v8/tools/testrunner/local/
Dutils.py101 cpuinfo = subprocess.check_output("cat /proc/cpuinfo", shell=True)
102 cpuinfo_list = cpuinfo.strip().decode("utf-8").splitlines()
/third_party/ltp/testcases/kernel/power_management/lib/
Dpm_sched_mc.py41 cpuinfo = open('/proc/cpuinfo', 'r')
43 for line in cpuinfo:
46 cpuinfo.close()
589 cpuinfo = open('/proc/cpuinfo', 'r')
590 for line in cpuinfo:
594 cpuinfo.close()
/third_party/ltp/testcases/kdump/lib/
Dsysinfo.sh14 cat /proc/cpuinfo
/third_party/libffi/m4/
Dax_gcc_archflag.m4167 …cputype=`(((grep cpu /proc/cpuinfo | cut -d: -f2) ; ($PRTDIAG -v |grep -i sparc) ; grep -i cpu /va…
190 …cputype=`((grep cpu /proc/cpuinfo | head -n 1 | cut -d: -f2 | cut -d, -f1 | $SED 's/ //g') ; /usr/…
210 … cpuimpl=`grep 'CPU implementer' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
211 … cpuarch=`grep 'CPU architecture' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
212 cpuvar=`grep 'CPU variant' /proc/cpuinfo 2> /dev/null | cut -d: -f2 | tr -d " " | head -n 1`
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_enabled/
Dsmt_smp_enabled.sh63 cpu_cores=`cat /proc/cpuinfo | grep "cpu cores" | cut -f 2 -d ':'\
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/
Dsmt_smp_affinity.sh67 cpu_cores=`cat /proc/cpuinfo | grep "cpu cores" | cut -f 2 -d ':'\
/third_party/ltp/testcases/network/nfs/nfsstat01/
Dnfsstat0145 cat /proc/cpuinfo > nfsstat01.tmp
/third_party/ltp/
Dver_linux139 tst_cmd_run lscpu || cat /proc/cpuinfo
/third_party/ltp/utils/benchmark/kernbench-0.42/
Dkernbench92 cpus=`grep -c ^processor /proc/cpuinfo`
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DMinidumpConstants.def64 HANDLE_MDMP_STREAM_TYPE(0x47670003, LinuxCPUInfo) // /proc/cpuinfo
/third_party/node/test/common/
Dindex.js134 const cpuinfo = fs.readFileSync('/proc/cpuinfo', { encoding: 'utf8' });
135 const ok = /^Hardware\s*:\s*(.*)$/im.exec(cpuinfo)?.[1] === 'BCM2835';
/third_party/mesa3d/src/mesa/
Dmeson.build61 'main/cpuinfo.c',
62 'main/cpuinfo.h',
/third_party/node/deps/v8/src/base/
Dcpu.cc719 uint32_t cpu_flags = SYSPAGE_ENTRY(cpuinfo)->flags; in CPU()

123