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 | 1667 rc = uv__slurp("/proc/self/stat", buf, sizeof(buf)); in uv_resident_set_memory() 1702 if (0 == uv__slurp("/proc/uptime", buf, sizeof(buf))) in uv_uptime() 2063 if (uv__slurp("/proc/meminfo", buf, sizeof(buf))) in uv__read_proc_meminfo() 2117 if (0 == uv__slurp(filename, buf, sizeof(buf))) in uv__read_uint64() 2227 if (uv__slurp("/proc/self/cgroup", buf, sizeof(buf))) in uv_get_constrained_memory() 2278 if (uv__slurp("/proc/self/cgroup", buf, sizeof(buf))) in uv_get_available_memory() 2324 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv2_constrained_cpu() 2340 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv2_constrained_cpu() 2383 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu() 2394 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu() [all …]
|
H A D | internal.h | 292 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 29 milliseconds