Home
last modified time | relevance | path

Searched refs:sysinfo (Results 1 – 25 of 144) sorted by relevance

123456

/third_party/node/deps/uv/src/unix/
Dsysinfo-memory.c29 struct sysinfo info; in uv_get_free_memory()
31 if (sysinfo(&info) == 0) in uv_get_free_memory()
37 struct sysinfo info; in uv_get_total_memory()
39 if (sysinfo(&info) == 0) in uv_get_total_memory()
Dsysinfo-loadavg.c29 struct sysinfo info; in uv_loadavg()
31 if (sysinfo(&info) < 0) return; in uv_loadavg()
Dcygwin.c29 struct sysinfo info; in uv_uptime()
31 if (sysinfo(&info) < 0) in uv_uptime()
/third_party/libuv/src/unix/
Dsysinfo-memory.c29 struct sysinfo info; in uv_get_free_memory()
31 if (sysinfo(&info) == 0) in uv_get_free_memory()
37 struct sysinfo info; in uv_get_total_memory()
39 if (sysinfo(&info) == 0) in uv_get_total_memory()
Dsysinfo-loadavg.c29 struct sysinfo info; in uv_loadavg()
31 if (sysinfo(&info) < 0) return; in uv_loadavg()
Dcygwin.c29 struct sysinfo info; in uv_uptime()
31 if (sysinfo(&info) < 0) in uv_uptime()
/third_party/musl/porting/liteos_a/kernel/include/
Dsysinfo.h8 struct sysinfo { struct
24 int sysinfo (struct sysinfo *); argument
/third_party/musl/porting/liteos_a_newlib/kernel/include/
Dsysinfo.h8 struct sysinfo { struct
24 int sysinfo (struct sysinfo *); argument
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dsysinfo.h10 struct sysinfo { struct
26 int sysinfo (struct sysinfo *); argument
/third_party/musl/include/sys/
Dsysinfo.h10 struct sysinfo { struct
26 int sysinfo (struct sysinfo *); argument
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dsysinfo.h10 struct sysinfo { struct
26 int sysinfo (struct sysinfo *); argument
/third_party/musl/porting/uniproton/kernel/include/sys/
Dsysinfo.h10 struct sysinfo { struct
26 int sysinfo (struct sysinfo *); argument
/third_party/musl/ndk_musl_include/sys/
Dsysinfo.h11 struct sysinfo { struct
28 int sysinfo (struct sysinfo *); argument
/third_party/musl/porting/linux/user/include/sys/
Dsysinfo.h11 struct sysinfo { struct
30 int sysinfo (struct sysinfo *);
/third_party/ltp/lib/
Dtst_virt.c69 FILE *sysinfo; in is_ibmz() local
76 sysinfo = SAFE_FOPEN(NULL, "/proc/sysinfo", "r"); in is_ibmz()
79 while (fgets(line, sizeof(line), sysinfo) != NULL) { in is_ibmz()
86 SAFE_FCLOSE(NULL, sysinfo); in is_ibmz()
/third_party/alsa-lib/test/
Dseq.c40 snd_seq_system_info_t *sysinfo; in system_info() local
42 snd_seq_system_info_alloca(&sysinfo); in system_info()
43 if ((err = snd_seq_system_info(handle, sysinfo))<0) { in system_info()
47 max_clients = snd_seq_system_info_get_clients(sysinfo); in system_info()
48 max_ports = snd_seq_system_info_get_ports(sysinfo); in system_info()
49 max_queues = snd_seq_system_info_get_ports(sysinfo); in system_info()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dsysinfo.c29 struct sysinfo info; in sysinfo_0100()
32 int result = sysinfo(&info); in sysinfo_0100()
71 int result = sysinfo(NULL); in sysinfo_0200()
/third_party/ltp/testcases/kernel/syscalls/sysinfo/
Dsysinfo03.c38 struct sysinfo si; in verify_sysinfo()
47 sysinfo(&si); in verify_sysinfo()
52 sysinfo(&si); in verify_sysinfo()
Dsysinfo01.c84 struct sysinfo *sys_buf; in main()
89 sys_buf = malloc(sizeof(struct sysinfo)); in main()
101 TEST(sysinfo(sys_buf)); in main()
/third_party/rust/crates/nix/src/sys/
Dsysinfo.rs11 pub struct SysInfo(libc::sysinfo);
79 pub fn sysinfo() -> Result<SysInfo> { in sysinfo() function
81 let res = unsafe { libc::sysinfo(info.as_mut_ptr()) }; in sysinfo()
/third_party/astc-encoder/Source/
Dastcenccli_platform_dependents.cpp79 SYSTEM_INFO sysinfo; in get_cpu_count() local
80 GetSystemInfo(&sysinfo); in get_cpu_count()
81 return sysinfo.dwNumberOfProcessors; in get_cpu_count()
/third_party/musl/src/linux/
Dsysinfo.c4 int __lsysinfo(struct sysinfo *info) in __lsysinfo()
9 weak_alias(__lsysinfo, sysinfo);
/third_party/musl/src/legacy/
Dgetloadavg.c7 struct sysinfo si; in getloadavg()
9 sysinfo(&si); in getloadavg()
/third_party/rust/crates/nix/test/sys/
Dtest_sysinfo.rs1 use nix::sys::sysinfo::*;
5 let info = sysinfo().unwrap(); in sysinfo_works()
/third_party/skia/src/core/
DSkExecutor.cpp19 SYSTEM_INFO sysinfo; in num_cores() local
20 GetNativeSystemInfo(&sysinfo); in num_cores()
21 return (int)sysinfo.dwNumberOfProcessors; in num_cores()

123456