Searched refs:uv__slurp (Results 1 – 5 of 5) sorted by relevance
/libuv/src/unix/ |
H A D | hurd.c | 114 if (0 == uv__slurp("/proc/uptime", buf, sizeof(buf))) in uv_uptime() 126 if (0 == uv__slurp("/proc/loadavg", buf, sizeof(buf))) in uv_loadavg()
|
H A D | cygwin.c | 47 rc = uv__slurp("/proc/self/stat", buf, sizeof(buf)); in uv_resident_set_memory()
|
H A D | linux.c | 1666 rc = uv__slurp("/proc/self/stat", buf, sizeof(buf)); in uv_resident_set_memory() 1701 if (0 == uv__slurp("/proc/uptime", buf, sizeof(buf))) in uv_uptime() 2048 if (uv__slurp("/proc/meminfo", buf, sizeof(buf))) in uv__read_proc_meminfo() 2102 if (0 == uv__slurp(filename, buf, sizeof(buf))) in uv__read_uint64() 2212 if (uv__slurp("/proc/self/cgroup", buf, sizeof(buf))) in uv_get_constrained_memory() 2263 if (uv__slurp("/proc/self/cgroup", buf, sizeof(buf))) in uv_get_available_memory() 2309 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv2_constrained_cpu() 2325 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv2_constrained_cpu() 2368 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu() 2379 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu() [all …]
|
H A D | internal.h | 288 int uv__slurp(const char* filename, char* buf, size_t len);
|
H A D | core.c | 1072 int uv__slurp(const char* filename, char* buf, size_t len) { in uv__slurp() function
|
Completed in 21 milliseconds