/third_party/pulseaudio/src/pulsecore/ |
D | cpu-arm.c | 39 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/ |
D | qnx.c | 118 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/ |
D | qnx.c | 118 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/ |
D | pm_include.sh | 89 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/ |
D | tst_virt.c | 31 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/ |
D | version.c | 47 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/ |
D | version.c | 47 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/ |
D | cpu.c | 222 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/ |
D | cpuinfo.h | 4 struct cpuinfo { struct 12 extern struct cpuinfo *cpus; argument
|
D | cpuinfo.c | 24 struct cpuinfo *cpus;
|
/third_party/skia/third_party/externals/microhttpd/m4/ |
D | ax_count_cpus.m4 | 45 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/ |
D | init-stage2.sh | 57 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/ |
D | utils.py | 101 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/ |
D | pm_sched_mc.py | 41 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/ |
D | sysinfo.sh | 14 cat /proc/cpuinfo
|
/third_party/libffi/m4/ |
D | ax_gcc_archflag.m4 | 167 …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/ |
D | smt_smp_enabled.sh | 63 cpu_cores=`cat /proc/cpuinfo | grep "cpu cores" | cut -f 2 -d ':'\
|
/third_party/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
D | smt_smp_affinity.sh | 67 cpu_cores=`cat /proc/cpuinfo | grep "cpu cores" | cut -f 2 -d ':'\
|
/third_party/ltp/testcases/network/nfs/nfsstat01/ |
D | nfsstat01 | 45 cat /proc/cpuinfo > nfsstat01.tmp
|
/third_party/ltp/ |
D | ver_linux | 139 tst_cmd_run lscpu || cat /proc/cpuinfo
|
/third_party/ltp/utils/benchmark/kernbench-0.42/ |
D | kernbench | 92 cpus=`grep -c ^processor /proc/cpuinfo`
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/ |
D | MinidumpConstants.def | 64 HANDLE_MDMP_STREAM_TYPE(0x47670003, LinuxCPUInfo) // /proc/cpuinfo
|
/third_party/node/test/common/ |
D | index.js | 134 const cpuinfo = fs.readFileSync('/proc/cpuinfo', { encoding: 'utf8' }); 135 const ok = /^Hardware\s*:\s*(.*)$/im.exec(cpuinfo)?.[1] === 'BCM2835';
|
/third_party/mesa3d/src/mesa/ |
D | meson.build | 61 'main/cpuinfo.c', 62 'main/cpuinfo.h',
|
/third_party/node/deps/v8/src/base/ |
D | cpu.cc | 719 uint32_t cpu_flags = SYSPAGE_ENTRY(cpuinfo)->flags; in CPU()
|