Home
last modified time | relevance | path

Searched refs:sysctlbyname (Results 1 – 16 of 16) sorted by relevance

/external/v8/src/base/
Dsys-info.cc70 sysctlbyname("vm.stats.vm.v_page_count", &pages, &size, NULL, 0); in AmountOfPhysicalMemory()
71 sysctlbyname("vm.stats.vm.v_page_size", &page_size, &size, NULL, 0); in AmountOfPhysicalMemory()
/external/mesa3d/src/mesa/x86/
Dcommon_x86.c127 ret = sysctlbyname("hw.instruction_sse", &enabled, &len, NULL, 0); in _mesa_check_os_sse_support()
135 ret = sysctlbyname("machdep.sse", &enabled, &len, (void *)NULL, 0); in _mesa_check_os_sse_support()
/external/compiler-rt/test/builtins/timing/
Dtiming.h19 int err2 = sysctlbyname( "hw.cpufrequency", &freq, &freqSize, NULL, 0L ); in intervalInCycles()
/external/netperf/
Dnetcpu_sysctl.c84 if (sysctlbyname("kern.cp_time", cpu_time, &cpu_time_len, NULL, 0) == -1) { in get_cpu_time()
/external/flac/libFLAC/
Dcpu.c222 …len = sizeof(sse); sse = sse || (sysctlbyname("hw.instruction_sse", &sse, &len, NULL, 0) == 0 && s… in FLAC__cpu_info()
223 …len = sizeof(sse); sse = sse || (sysctlbyname("hw.optional.sse" , &sse, &len, NULL, 0) == 0 && s… in FLAC__cpu_info()
/external/google-breakpad/src/client/ios/
DBreakpadController.mm80 if (sysctlbyname(kHwMachineSysctlName, NULL, &size, NULL, 0) || size == 0)
83 if (sysctlbyname(kHwMachineSysctlName, machine.get(), &size, NULL, 0) == 0)
/external/lldb/source/Host/common/
DHost.cpp311 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) in GetArchitecture()
314 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) != 0) in GetArchitecture()
318 if (::sysctlbyname("hw.cpu64bit_capable", &is_64_bit_capable, &len, NULL, 0) == 0) in GetArchitecture()
/external/lldb/tools/debugserver/source/MacOSX/arm/
DDNBArchImpl.cpp672 if (::sysctlbyname("hw.optional.breakpoint", &n, &len, NULL, 0) == 0) in NumSupportedHardwareBreakpoints()
701 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0) in NumSupportedHardwareBreakpoints()
731 if (::sysctlbyname("hw.optional.watchpoint", &n, &len, NULL, 0) == 0) in NumSupportedHardwareWatchpoints()
758 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0) in NumSupportedHardwareWatchpoints()
/external/google-breakpad/src/client/mac/handler/
Dminidump_generator.cc1163 sysctlbyname("hw.ncpu", &number_of_processors, &len, NULL, 0); in WriteSystemInfoStream()
1549 sysctlbyname("hw.cpufrequency_max", &speed, &size, NULL, 0); in WriteMiscInfoStream()
1553 sysctlbyname("hw.cpufrequency", &speed, &size, NULL, 0); in WriteMiscInfoStream()
/external/valgrind/coregrind/m_syswrap/
Dpriv_syswrap-darwin.h339 DECL_TEMPLATE(darwin, sysctlbyname); // 274
Dsyswrap-darwin.c9235 PRE(sysctlbyname) in PRE() argument
9270 POST(sysctlbyname) in POST() argument
9885 MACXY(__NR_sysctlbyname, sysctlbyname), // 274
/external/libdrm/
Dxf86drmMode.c795 ret = sysctlbyname(oid, sbusid, &len, NULL, 0); in drmCheckModesettingSupported()
805 ret = sysctlbyname(oid, &modesetting, &len, NULL, 0); in drmCheckModesettingSupported()
/external/lldb/tools/debugserver/source/
DRNBRemote.cpp3900 if (::sysctlbyname("hw.cputype", &cputype, &len, NULL, 0) == 0) in HandlePacket_qHostInfo()
3903 if (::sysctlbyname("hw.cpu64bit_capable", &is_64_bit_capable, &len, NULL, 0) == 0) in HandlePacket_qHostInfo()
3917 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0) in HandlePacket_qHostInfo()
4020 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &cpusubtype_len, NULL, 0) == 0) in HandlePacket_qProcessInfo()
/external/lldb/source/Host/macosx/
DHost.mm1117 if (::sysctlbyname("hw.cpusubtype", &cpusubtype, &len, NULL, 0) == 0)
/external/sqlite/dist/
Dsqlite3.c17254 sysctlbyname("hw.ncpu", &cpuCount, &len, NULL, 0); in sqlite3MemInit()
/external/sqlite/dist/orig/
Dsqlite3.c17254 sysctlbyname("hw.ncpu", &cpuCount, &len, NULL, 0); in sqlite3MemInit()