Home
last modified time | relevance | path

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

12345

/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_newlib/kernel/include/
Dsysinfo.h8 struct sysinfo { struct
24 int sysinfo (struct sysinfo *); argument
/third_party/musl/porting/liteos_a/kernel/include/
Dsysinfo.h8 struct sysinfo { struct
24 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/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/linux/user/include/sys/
Dsysinfo.h11 struct sysinfo { struct
28 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/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()
Dsysinfo02.c85 struct sysinfo *sysinfo_buf; in main()
100 TEST(sysinfo(sysinfo_buf)); in main()
/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/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()
/third_party/flutter/skia/src/core/
DSkExecutor.cpp20 SYSTEM_INFO sysinfo; in num_cores() local
21 GetNativeSystemInfo(&sysinfo); in num_cores()
22 return (int)sysinfo.dwNumberOfProcessors; in num_cores()
/third_party/iowow/src/platform/win32/
Dwin32.c65 static SYSTEM_INFO sysinfo; variable
68 GetSystemInfo(&sysinfo); in _iwp_getsysinfo()
72 return sysinfo.dwPageSize; in iwp_page_size()
76 return sysinfo.dwAllocationGranularity; in iwp_alloc_unit()
80 return sysinfo.dwNumberOfProcessors; in iwp_num_cpu_cores()
/third_party/toybox/porting/liteos_a/toys/other/
Dfree.c43 struct sysinfo in; in free_main()
45 sysinfo(&in); in free_main()
/third_party/toybox/toys/other/
Dfree.c43 struct sysinfo in; in free_main()
45 sysinfo(&in); in free_main()
Duptime.c28 struct sysinfo info; in uptime_main()
36 sysinfo(&info); in uptime_main()

12345