/external/toybox/toys/other/ |
H A D | uptime.c | 0 /* uptime.c - Tell how long the system has been running. 8 USE_UPTIME(NEWTOY(uptime, NULL, TOYFLAG_USR|TOYFLAG_BIN)) 11 bool "uptime" 15 usage: uptime 45 info.uptime /= 60; 46 minutes = info.uptime%60; 47 info.uptime /= 60; 48 hours = info.uptime%24; 49 days = info.uptime/24;
|
/external/iptables/include/linux/ |
H A D | kernel.h | 13 long uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/kernel-headers/original/uapi/linux/ |
H A D | sysinfo.h | 8 __kernel_long_t uptime; /* Seconds since boot */ member in struct:sysinfo
|
/external/strace/tests/ |
H A D | sysinfo.c | 37 printf("sysinfo({uptime=%llu" 50 (unsigned long long) si.uptime
|
/external/strace/ |
H A D | sysinfo.c | 49 tprintf("{uptime=%llu" 62 (unsigned long long) si.uptime
|
/external/iproute2/misc/ |
H A D | rtacct.c | 582 long uptime = -1; local 583 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 584 if (fscanf(tfp, "%ld", &uptime) != 1) 585 uptime = -1; 589 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
H A D | nstat.c | 644 long uptime = -1; local 645 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 646 if (fscanf(tfp, "%ld", &uptime) != 1) 647 uptime = -1; 650 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
H A D | ifstat.c | 814 long uptime = -1; local 815 if ((tfp = fopen("/proc/uptime", "r")) != NULL) { 816 if (fscanf(tfp, "%ld", &uptime) != 1) 817 uptime = -1; 820 if (uptime >= 0 && time(NULL) >= stb.st_mtime+uptime) {
|
/external/autotest/client/site_tests/platform_BootPerf/ |
H A D | platform_BootPerf.py | 104 _UPTIME_PREFIX = 'uptime-' 140 /proc/uptime ("uptime-" files) or /sys/block/<dev>/stat 145 The given event file can contain either uptime or disk data. 304 # Not all 'uptime-network-*-ready' files necessarily exist; 363 /proc/uptime). The input values `t0` and `t1` are two 442 with open('/proc/uptime') as uptime_file: 443 uptime = float(uptime_file.readline().split()[0]) 447 boot_t0, boot_t1, uptime)
|
/external/dhcpcd-6.8.2/ |
H A D | common.h | 186 time_t uptime(void);
|
H A D | common.c | 300 uptime(void) function
|
H A D | ipv4ll.c | 177 up = uptime();
|
H A D | dhcp6.c | 312 up = uptime() - state->start_uptime; 1243 state->start_uptime = uptime(); 1384 state->start_uptime = uptime(); 1550 state->start_uptime = uptime(); 1582 state->start_uptime = uptime(); 1627 state->start_uptime = uptime();
|
H A D | dhcp.c | 726 time_t up = uptime() - state->start_uptime; 3578 state->start_uptime = uptime();
|
/external/toybox/ |
H A D | Android.mk | 131 toys/other/uptime.c \ 360 uptime \
|
/external/tcpdump/ |
H A D | print-sflow.c | 49 * | Switch uptime in ms | 62 uint8_t uptime[4]; member in struct:sflow_datagram_t 857 ND_PRINT((ndo, "sFlowv%u, %s agent %s, agent-id %u, seqnum %u, uptime %u, samples %u, length %u", 863 EXTRACT_32BITS(sflow_datagram->uptime),
|
/external/wpa_supplicant_8/hostapd/src/radius/ |
H A D | radius_server.c | 1897 int ret, uptime; local 1912 uptime = (now.sec - data->start_time.sec) * 100 + 1920 uptime);
|
/external/wpa_supplicant_8/src/radius/ |
H A D | radius_server.c | 1897 int ret, uptime; local 1912 uptime = (now.sec - data->start_time.sec) * 100 + 1920 uptime);
|
/external/wpa_supplicant_8/wpa_supplicant/src/radius/ |
H A D | radius_server.c | 1897 int ret, uptime; local 1912 uptime = (now.sec - data->start_time.sec) * 100 + 1920 uptime);
|
/external/toybox/generated/ |
H A D | newtoys.h | 249 USE_UPTIME(NEWTOY(uptime, NULL, TOYFLAG_USR|TOYFLAG_BIN))
|
H A D | flags.h | 2865 // uptime 5459 #define TT this.uptime
|
/external/toybox/toys/posix/ |
H A D | ps.c | 299 SLOT_uptime, /*si.uptime @read time*/ SLOT_vsz, // Virtual mem Size 642 // systems (or ps | more) we re-fetch uptime as we fetch each /proc line. 644 slot[SLOT_uptime] = TT.si.uptime;
|
/external/valgrind/include/vki/ |
H A D | vki-linux.h | 260 long uptime; /* Seconds since boot */ member in struct:vki_sysinfo
|
/external/robolectric/v3/runtime/ |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |