/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_entry_copy_stat.c | 42 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtimespec.tv_nsec); in archive_entry_copy_stat() 46 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtim.tv_nsec); in archive_entry_copy_stat() 50 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_nsec); in archive_entry_copy_stat() 54 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_n); in archive_entry_copy_stat() 58 archive_entry_set_mtime(entry, st->st_mtime, st->st_umtime * 1000); in archive_entry_copy_stat() 62 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_usec * 1000); in archive_entry_copy_stat() 66 archive_entry_set_mtime(entry, st->st_mtime, 0); in archive_entry_copy_stat()
|
/dragonfly/bin/pax/ |
H A D | ar_subs.c | 207 if ((arcn->sb.st_mtime <= sb.st_mtime) && in extract() 217 } else if (arcn->sb.st_mtime <= sb.st_mtime) { in extract() 243 if ((arcn->sb.st_mtime <= sb.st_mtime) && in extract() 253 } else if (arcn->sb.st_mtime <= sb.st_mtime) { in extract() 817 if ((arcn->sb.st_mtime<=sb.st_mtime) && in copy() 823 } else if (arcn->sb.st_mtime <= sb.st_mtime) in copy() 850 if ((arcn->sb.st_mtime <= sb.st_mtime) && in copy() 856 } else if (arcn->sb.st_mtime <= sb.st_mtime) in copy()
|
H A D | cpio.c | 297 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in cpio_rd() 572 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in vcpio_rd() 870 arcn->sb.st_mtime = (time_t)(RSHRT_EXT(hd->h_mtime_1)); in bcpio_rd() 871 arcn->sb.st_mtime = (arcn->sb.st_mtime << 16) | in bcpio_rd() 885 arcn->sb.st_mtime = (time_t)(SHRT_EXT(hd->h_mtime_1)); in bcpio_rd() 886 arcn->sb.st_mtime = (arcn->sb.st_mtime << 16) | in bcpio_rd() 1062 hd->h_mtime_1[0] = CHR_WR_0(arcn->sb.st_mtime); in bcpio_wr() 1063 hd->h_mtime_1[1] = CHR_WR_1(arcn->sb.st_mtime); in bcpio_wr() 1064 hd->h_mtime_2[0] = CHR_WR_2(arcn->sb.st_mtime); in bcpio_wr() 1065 hd->h_mtime_2[1] = CHR_WR_3(arcn->sb.st_mtime); in bcpio_wr() [all …]
|
H A D | gen_subs.c | 101 if ((sbp->st_mtime + SIXMONTHS) <= now) in ls_list() 109 if (strftime(f_date,DATELEN,timefrmt,localtime(&(sbp->st_mtime))) == 0) in ls_list() 155 if ((arcn->sb.st_mtime + SIXMONTHS) <= time(NULL)) in ls_tty() 164 localtime(&(arcn->sb.st_mtime))) == 0) in ls_tty()
|
H A D | file_subs.c | 157 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0); in file_close() 484 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0); in node_creat() 652 tv[1].tv_sec = (long)sb.st_mtime; in set_ftime() 905 set_ftime(arcn->org_name, arcn->sb.st_mtime, arcn->sb.st_atime, 1); in rdfile_close() 960 else if (arcn->sb.st_mtime != sb.st_mtime) in set_crc()
|
H A D | sel_subs.c | 472 (arcn->sb.st_mtime < pt->low_time) && in trng_match() 475 (arcn->sb.st_mtime > pt->high_time) && in trng_match() 499 (arcn->sb.st_mtime < pt->low_time)) || in trng_match() 501 (arcn->sb.st_mtime > pt->high_time))) { in trng_match()
|
H A D | buf_subs.c | 632 else if (arcn->sb.st_mtime != sb.st_mtime) in wr_rdfile() 804 else if (arcn->sb.st_mtime != sb.st_mtime) in cp_file()
|
H A D | tar.c | 390 arcn->sb.st_mtime = (time_t)asc_ul(hd->mtime, sizeof(hd->mtime), OCT); in tar_rd() 391 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in tar_rd() 608 ul_oct((u_long)arcn->sb.st_mtime, hd->mtime, sizeof(hd->mtime), 1)) in tar_wr() 746 arcn->sb.st_mtime = (time_t)asc_ul(hd->mtime, sizeof(hd->mtime), OCT); in ustar_rd() 747 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in ustar_rd() 994 ul_oct((u_long)arcn->sb.st_mtime,hd->mtime,sizeof(hd->mtime),3)) in ustar_wr()
|
H A D | tables.c | 421 if (arcn->sb.st_mtime > pt->mtime) { in chk_ftime() 425 pt->mtime = arcn->sb.st_mtime; in chk_ftime() 445 pt->mtime = arcn->sb.st_mtime; in chk_ftime() 1140 dblk.mtime = psb->st_mtime; in add_dir()
|
/dragonfly/usr.sbin/cron/cron/ |
H A D | database.c | 62 syscron_stat.st_mtime = 0; in load_database() 71 if (old_db->mtime == TMAX(statbuf.st_mtime, syscron_stat.st_mtime)) { in load_database() 82 new_db.mtime = TMAX(statbuf.st_mtime, syscron_stat.st_mtime); in load_database() 85 if (syscron_stat.st_mtime) { in load_database() 216 if (u->mtime == statbuf->st_mtime) { in process_crontab() 237 u->mtime = statbuf->st_mtime; in process_crontab()
|
/dragonfly/games/hack/ |
H A D | hack.unix.c | 217 if (buf.st_mtime < hbuf.st_mtime) { in uptodate() 236 if (date - buf.st_mtime < 3L * 24L * 60L * 60L) { /* recent */ in veryold() 382 omstat.st_mtime = 0; in getmailstatus() 402 nmstat.st_mtime = 0; in ckmailstatus() 404 } else if (nmstat.st_mtime > omstat.st_mtime) { in ckmailstatus()
|
/dragonfly/bin/sh/ |
H A D | mail.c | 101 statb.st_mtime = 0; in chkmail() 102 if (statb.st_mtime > mailtime[i] && ! silent) { in chkmail() 106 mailtime[i] = statb.st_mtime; in chkmail()
|
/dragonfly/crypto/openssh/ |
H A D | sftp-common.c | 81 a->mtime = st->st_mtime; in stat_to_attrib() 100 st->st_mtime = a->mtime; in attrib_to_stat() 219 struct tm *ltime = localtime(&st->st_mtime); in ls_file() 242 if (now - (365*24*60*60)/2 < st->st_mtime && in ls_file() 243 now >= st->st_mtime) in ls_file()
|
/dragonfly/contrib/cvs-1.12/src/ |
H A D | vers_ts.c | 333 else if (sb.st_mtime == 0) in time_stamp_server() 350 tm_p = gmtime (&sb.st_mtime); in time_stamp_server() 351 cp = tm_p ? asctime (tm_p) : ctime (&sb.st_mtime); in time_stamp_server() 406 mtime = sb.st_mtime; in unix_time_stamp() 414 if (mtime < sb.st_mtime) in unix_time_stamp() 415 mtime = sb.st_mtime; in unix_time_stamp()
|
H A D | logmsg.c | 287 pre_stbuf.st_mtime = 0; in do_editor() 352 if (pre_stbuf.st_mtime == post_stbuf.st_mtime || *messagep == NULL) in do_editor() 456 (data.pre_stbuf.st_mtime != post_stbuf.st_mtime || in do_verify() 910 sleep_past (vpd->pre_stbuf.st_mtime); in verifymsg_proc()
|
/dragonfly/contrib/binutils-2.34/binutils/ |
H A D | rename.c | 100 tb.modtime = statbuf->st_mtime; in set_times() 107 tb[1] = statbuf->st_mtime; in set_times() 114 tv[1].tv_sec = statbuf->st_mtime; in set_times()
|
/dragonfly/contrib/binutils-2.27/binutils/ |
H A D | rename.c | 100 tb.modtime = statbuf->st_mtime; in set_times() 107 tb[1] = statbuf->st_mtime; in set_times() 114 tv[1].tv_sec = statbuf->st_mtime; in set_times()
|
/dragonfly/bin/cpdup/ |
H A D | cpdup.c | 1044 tv[0].tv_sec = stat1->st_mtime; in DoCopy() 1045 tv[1].tv_sec = stat1->st_mtime; in DoCopy() 1046 #if defined(st_mtime) /* A macro, so very likely on modern POSIX */ in DoCopy() 1150 tv[0].tv_sec = stat1->st_mtime; in DoCopy() 1151 tv[1].tv_sec = stat1->st_mtime; in DoCopy() 1152 #if defined(st_mtime) in DoCopy() 1245 tv[0].tv_sec = stat1->st_mtime; in DoCopy() 1246 tv[1].tv_sec = stat1->st_mtime; in DoCopy() 1247 #if defined(st_mtime) in DoCopy() 1815 if (st1->st_mtime < st2->st_mtime) in mtimecmp() [all …]
|
/dragonfly/contrib/diffutils/src/ |
H A D | context.c | 53 struct tm const *tm = localtime (&inf->stat.st_mtime); in print_context_label() 61 long int sec = inf->stat.st_mtime; in print_context_label() 66 intmax_t sec = inf->stat.st_mtime; in print_context_label() 71 uintmax_t sec = inf->stat.st_mtime; in print_context_label()
|
H A D | system.h | 228 && (s)->st_mtime == (t)->st_mtime \
|
/dragonfly/gnu/usr.bin/diff/diff/ |
H A D | system.h | 228 && (s)->st_mtime == (t)->st_mtime \
|
/dragonfly/usr.bin/mail/ |
H A D | edit.c | 158 modtime = statb.st_mtime; in run_editor() 191 if (modtime == statb.st_mtime) { in run_editor()
|
/dragonfly/usr.sbin/makefs/ |
H A D | walk.c | 236 cur->inode->st.st_mtime = stampst.st_mtime; in create_fsnode() 441 stbuf.st_mtime = stbuf.st_atime = in apply_specdir() 523 (long)dirnode->inode->st.st_mtime, in apply_specentry() 525 dirnode->inode->st.st_mtime = specnode->st_mtimespec.tv_sec; in apply_specentry()
|
/dragonfly/sbin/hammer/ |
H A D | cmd_config.c | 162 times[0].tv_sec = st.st_mtime - 1; in hammer_cmd_viconfig() 182 if (times[0].tv_sec == st.st_mtime) { in hammer_cmd_viconfig()
|
/dragonfly/gnu/usr.bin/rcs/ci/ |
H A D | ci.c | 595 time2date(workstat.st_mtime, altdate); 793 || workstat.st_mtime != checkworkstat.st_mtime 811 : finptr && wtime < RCSstat.st_mtime ? RCSstat.st_mtime
|