Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 8 of 8) sorted by relevance

/busybox-1.35.0/runit/
Dsv.c309 uint64_t timestamp; in svstatus_print() local
319 timestamp = SWAP_BE64(svstatus.time_be64); in svstatus_print()
328 diff = tnow - timestamp; in svstatus_print()
398 uint64_t timestamp; in check() local
431 timestamp = SWAP_BE64(svstatus.time_be64); in check()
432 if ((tstart > timestamp) || !pid_le32 || svstatus.got_term || !checkscript()) in check()
436 timestamp = SWAP_BE64(svstatus.time_be64); in check()
437 if ((!pid_le32 && tstart > timestamp) || (pid_le32 && svstatus.want != 'd')) in check()
Dsvlogd.c1057 unsigned timestamp = 0; in svlogd_main() local
1063 &r, &replace, &l, &b, &timestamp, &verbose in svlogd_main()
1124 memRchr = (timestamp ? memchr : memrchr); in svlogd_main()
1140 if (timestamp) in svlogd_main()
1183 if (timestamp) { in svlogd_main()
1184 if (timestamp == 1) in svlogd_main()
1187 fmt_time_human_30nul(stamp, timestamp == 2 ? '_' : 'T'); in svlogd_main()
1249 memmove((timestamp ? line+26 : line), lineptr, stdin_cnt); in svlogd_main()
/busybox-1.35.0/util-linux/
Dmkfs_ext2.c238 time_t timestamp; in mkfs_ext2_main() local
503 timestamp = time(NULL); in mkfs_ext2_main()
504 STORE_LE(sb->s_mkfs_time, timestamp); in mkfs_ext2_main()
505 STORE_LE(sb->s_wtime, timestamp); in mkfs_ext2_main()
506 STORE_LE(sb->s_lastcheck, timestamp); in mkfs_ext2_main()
630 STORE_LE(inode->i_mtime, timestamp); in mkfs_ext2_main()
631 STORE_LE(inode->i_atime, timestamp); in mkfs_ext2_main()
632 STORE_LE(inode->i_ctime, timestamp); in mkfs_ext2_main()
Dmkfs_reiser.c155 time_t timestamp; in mkfs_reiser_main() local
219 timestamp = time(NULL); in mkfs_reiser_main()
220 srand(timestamp); in mkfs_reiser_main()
234 STORE_LE(sb->sb_lastcheck, timestamp); in mkfs_reiser_main()
/busybox-1.35.0/sysklogd/
Dsyslogd.c826 char *timestamp = NULL; in timestamp_and_log() local
836 timestamp = msg; in timestamp_and_log()
843 if (!timestamp) { in timestamp_and_log()
847 timestamp = ctime(&now) + 4; /* skip day of week */ in timestamp_and_log()
849 sprintf(timestamp + 15, ".%03u", (unsigned)tv.tv_usec / 1000u); in timestamp_and_log()
851 timestamp[15] = '\0'; in timestamp_and_log()
854 if (!timestamp) { in timestamp_and_log()
856 timestamp = ctime(&now) + 4; /* skip day of week */ in timestamp_and_log()
858 timestamp[15] = '\0'; in timestamp_and_log()
867 sprintf(G.printbuf, "%s %s\n", timestamp, msg); in timestamp_and_log()
[all …]
/busybox-1.35.0/procps/
Dmpstat.c105 struct tm timestamp[3]; member
442 strftime(prev_time, sizeof(prev_time), "%X", &G.timestamp[!current]); in write_stats()
443 strftime(curr_time, sizeof(curr_time), "%X", &G.timestamp[current]); in write_stats()
695 G.timestamp[1] = G.timestamp[0]; in main_loop()
711 G.timestamp[2] = G.timestamp[0]; in main_loop()
731 get_localtime(&G.timestamp[current]); in main_loop()
946 get_localtime(&G.timestamp[0]); in mpstat_main()
949 print_header(&G.timestamp[0]); in mpstat_main()
/busybox-1.35.0/networking/udhcp/
Ddhcprelay.c34 unsigned timestamp; member
55 item->timestamp = monotonic_sec(); in xid_add()
69 if ((current_time - item->timestamp) > MAX_LIFETIME) { in xid_expire()
/busybox-1.35.0/scripts/
DKbuild.include32 # - If they are equal no change, and no timestamp update