/external/cpuinfo/src/mach/ |
D | topology.c | 17 if (sysctlbyname("hw.physicalcpu_max", &cores, &sizeof_cores, NULL, 0) != 0) { in cpuinfo_mach_detect_topology() 26 if (sysctlbyname("hw.logicalcpu_max", &threads, &sizeof_threads, NULL, 0) != 0) { in cpuinfo_mach_detect_topology() 36 if (sysctlbyname("hw.packages", &packages, &sizeof_packages, NULL, 0) != 0) { in cpuinfo_mach_detect_topology() 53 if (sysctlbyname("hw.cacheconfig", NULL, &cacheconfig_size, NULL, 0) != 0) { in cpuinfo_mach_detect_topology() 57 if (sysctlbyname("hw.cacheconfig", cacheconfig, &cacheconfig_size, NULL, 0) != 0) { in cpuinfo_mach_detect_topology()
|
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/ |
D | cpu_iphone.cc | 31 sysctlbyname("hw.ncpu", &ncpu, &len, NULL, 0); in gpr_cpu_num_cores()
|
/external/compiler-rt/test/builtins/timing/ |
D | timing.h | 19 int err2 = sysctlbyname( "hw.cpufrequency", &freq, &freqSize, NULL, 0L ); in intervalInCycles()
|
/external/llvm-project/compiler-rt/test/builtins/timing/ |
D | timing.h | 19 int err2 = sysctlbyname( "hw.cpufrequency", &freq, &freqSize, NULL, 0L ); in intervalInCycles()
|
/external/webrtc/sdk/objc/native/src/audio/ |
D | helpers.mm | 82 sysctlbyname("hw.machine", NULL, &size, NULL, 0); 85 sysctlbyname("hw.machine", machine.get(), &size, NULL, 0);
|
/external/mesa3d/src/mesa/x86/ |
D | common_x86.c | 136 ret = sysctlbyname("hw.instruction_sse", &enabled, &len, NULL, 0); in _mesa_check_os_sse_support() 144 ret = sysctlbyname("machdep.sse", &enabled, &len, (void *)NULL, 0); in _mesa_check_os_sse_support()
|
/external/mesa3d/src/gallium/auxiliary/hud/ |
D | hud_cpu.c | 129 if (sysctlbyname("kern.cp_time", cp_time, &len, NULL, 0) == -1) in get_cpu_stats() 148 if (sysctlbyname("kern.cp_times", NULL, &len, NULL, 0) == -1) in get_cpu_stats() 156 if (sysctlbyname("kern.cp_times", cp_times, &len, NULL, 0) == -1) in get_cpu_stats()
|
/external/cpuinfo/src/arm/mach/ |
D | init.c | 75 if (sysctlbyname(type_specifier, NULL, &size, NULL, 0) != 0) { in get_sys_info_by_name() 78 sysctlbyname(type_specifier, &result, &size, NULL, 0); in get_sys_info_by_name() 133 if (sysctlbyname("hw.machine", NULL, &size, NULL, 0) != 0) { in decode_package_name() 139 if (sysctlbyname("hw.machine", machine_name, &size, NULL, 0) != 0) { in decode_package_name()
|
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
D | sysctl.cpp | 31 int rv = sysctlbyname("kern.ostype", buf, &len, NULL, 0); in test_sysctlbyname()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mac_test.cpp | 76 int res = sysctlbyname("kern.osrelease", buf, &len, nullptr, 0); in TEST()
|
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/base/internal/ |
D | unscaledcycleclock.cc | 95 sysctlbyname("kern.timecounter.tc.timebase.frequency", &timebase_frequency,
|
/external/libtextclassifier/abseil-cpp/absl/base/internal/ |
D | unscaledcycleclock.cc | 95 sysctlbyname("kern.timecounter.tc.timebase.frequency", &timebase_frequency,
|
/external/abseil-cpp/absl/base/internal/ |
D | unscaledcycleclock.cc | 95 sysctlbyname("kern.timecounter.tc.timebase.frequency", &timebase_frequency,
|
/external/openscreen/third_party/abseil/src/absl/base/internal/ |
D | unscaledcycleclock.cc | 95 sysctlbyname("kern.timecounter.tc.timebase.frequency", &timebase_frequency,
|
/external/webrtc/third_party/abseil-cpp/absl/base/internal/ |
D | unscaledcycleclock.cc | 95 sysctlbyname("kern.timecounter.tc.timebase.frequency", &timebase_frequency,
|
/external/angle/third_party/abseil-cpp/absl/base/internal/ |
D | unscaledcycleclock.cc | 95 sysctlbyname("kern.timecounter.tc.timebase.frequency", &timebase_frequency,
|
/external/tensorflow/tensorflow/core/platform/profile_utils/ |
D | cpu_utils.cc | 126 sysctlbyname("hw.cpufrequency_max", &freq_hz, &freq_size, NULL, 0); in GetCycleCounterFrequencyImpl()
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_netbsd.cpp | 312 DEFINE__REAL(int, sysctlbyname, const char *a, void *b, size_t *c, in internal_sysctlbyname() 314 return _REAL(sysctlbyname, sname, oldp, (size_t *)oldlenp, newp, in internal_sysctlbyname()
|
/external/pthreadpool/src/ |
D | gcd.c | 49 if (sysctlbyname("hw.logicalcpu_max", &threads, &sizeof_threads, NULL, 0) != 0) { in pthreadpool_create()
|
/external/libfuse/lib/ |
D | mount_bsd.c | 144 if (sysctlbyname("vfs.fuse.init_backgrounded", &ibg, &len, NULL, 0)) in init_backgrounded()
|
/external/llvm-project/llvm/utils/benchmark/src/ |
D | sysinfo.cc | 160 if (sysctlbyname(Name.c_str(), nullptr, &CurBuffSize, nullptr, 0) == -1) in GetSysctlImp() 164 if (sysctlbyname(Name.c_str(), buff.data(), &buff.Size, nullptr, 0) == 0) in GetSysctlImp()
|
/external/google-breakpad/src/client/ios/ |
D | BreakpadController.mm | 80 if (sysctlbyname(kHwMachineSysctlName, NULL, &size, NULL, 0) || size == 0) 83 if (sysctlbyname(kHwMachineSysctlName, machine.get(), &size, NULL, 0) == 0)
|
/external/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 162 if (sysctlbyname(Name.c_str(), nullptr, &CurBuffSize, nullptr, 0) == -1) in GetSysctlImp() 166 if (sysctlbyname(Name.c_str(), buff.data(), &buff.Size, nullptr, 0) == 0) in GetSysctlImp()
|
/external/llvm-project/libcxx/utils/google-benchmark/src/ |
D | sysinfo.cc | 162 if (sysctlbyname(Name.c_str(), nullptr, &CurBuffSize, nullptr, 0) == -1) in GetSysctlImp() 166 if (sysctlbyname(Name.c_str(), buff.data(), &buff.Size, nullptr, 0) == 0) in GetSysctlImp()
|
/external/llvm-project/lldb/source/Host/macosx/objcxx/ |
D | HostInfoMacOSX.mm | 237 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) { 239 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) != 0) 243 ::sysctlbyname("hw.cpu64bit_capable", &is_64_bit_capable, &len, NULL, 0);
|