| /freebsd-14.2/contrib/libarchive/libarchive/ |
| H A D | archive_entry_copy_stat.c | 41 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtimespec.tv_nsec); in archive_entry_copy_stat() 45 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtim.tv_nsec); in archive_entry_copy_stat() 49 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_nsec); in archive_entry_copy_stat() 53 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_n); in archive_entry_copy_stat() 57 archive_entry_set_mtime(entry, st->st_mtime, st->st_umtime * 1000); in archive_entry_copy_stat() 61 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_usec * 1000); in archive_entry_copy_stat() 65 archive_entry_set_mtime(entry, st->st_mtime, 0); in archive_entry_copy_stat()
|
| /freebsd-14.2/usr.sbin/cron/cron/ |
| H A D | database.c | 70 syscron_stat.st_mtime = 0; in load_database() 72 maxmtime = TMAX(statbuf.st_mtime, syscron_stat.st_mtime); in load_database() 76 maxmtime = TMAX(syscrontabs[i].st.st_mtime, maxmtime); in load_database() 86 maxmtime = TMAX(st.st_mtime, maxmtime); in load_database() 90 syscrontabs[i].st.st_mtime = 0; in load_database() 115 if (syscron_stat.st_mtime) { in load_database() 123 if (syscrontabs[i].st.st_mtime == 0) in load_database() 271 if (u->mtime == statbuf->st_mtime) { in process_crontab() 292 u->mtime = statbuf->st_mtime; in process_crontab()
|
| /freebsd-14.2/bin/pax/ |
| H A D | ar_subs.c | 213 if ((arcn->sb.st_mtime <= sb.st_mtime) && in extract() 223 } else if (arcn->sb.st_mtime <= sb.st_mtime) { in extract() 249 if ((arcn->sb.st_mtime <= sb.st_mtime) && in extract() 259 } else if (arcn->sb.st_mtime <= sb.st_mtime) { in extract() 828 if ((arcn->sb.st_mtime<=sb.st_mtime) && in copy() 834 } else if (arcn->sb.st_mtime <= sb.st_mtime) in copy() 861 if ((arcn->sb.st_mtime <= sb.st_mtime) && in copy() 867 } else if (arcn->sb.st_mtime <= sb.st_mtime) in copy()
|
| H A D | cpio.c | 300 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in cpio_rd() 573 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in vcpio_rd() 869 arcn->sb.st_mtime = (time_t)(RSHRT_EXT(hd->h_mtime_1)); in bcpio_rd() 870 arcn->sb.st_mtime = (arcn->sb.st_mtime << 16) | in bcpio_rd() 884 arcn->sb.st_mtime = (time_t)(SHRT_EXT(hd->h_mtime_1)); in bcpio_rd() 885 arcn->sb.st_mtime = (arcn->sb.st_mtime << 16) | in bcpio_rd() 1059 hd->h_mtime_1[0] = CHR_WR_0(arcn->sb.st_mtime); in bcpio_wr() 1060 hd->h_mtime_1[1] = CHR_WR_1(arcn->sb.st_mtime); in bcpio_wr() 1061 hd->h_mtime_2[0] = CHR_WR_2(arcn->sb.st_mtime); in bcpio_wr() 1062 hd->h_mtime_2[1] = CHR_WR_3(arcn->sb.st_mtime); in bcpio_wr() [all …]
|
| H A D | gen_subs.c | 102 if ((sbp->st_mtime + SIXMONTHS) <= now) in ls_list() 110 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 | 160 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0); in file_close() 479 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0); in node_creat() 647 tv[1].tv_sec = sb.st_mtime; in set_ftime() 876 set_ftime(arcn->org_name, arcn->sb.st_mtime, arcn->sb.st_atime, 1); in rdfile_close() 931 else if (arcn->sb.st_mtime != sb.st_mtime) in set_crc()
|
| H A D | sel_subs.c | 479 (arcn->sb.st_mtime < pt->low_time) && in trng_match() 482 (arcn->sb.st_mtime > pt->high_time) && in trng_match() 506 (arcn->sb.st_mtime < pt->low_time)) || in trng_match() 508 (arcn->sb.st_mtime > pt->high_time))) { in trng_match()
|
| H A D | buf_subs.c | 636 else if (arcn->sb.st_mtime != sb.st_mtime) in wr_rdfile() 808 else if (arcn->sb.st_mtime != sb.st_mtime) in cp_file()
|
| H A D | tar.c | 397 arcn->sb.st_mtime = (time_t)asc_uqd(hd->mtime, sizeof(hd->mtime), OCT); in tar_rd() 398 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in tar_rd() 609 ul_oct((u_long)arcn->sb.st_mtime, hd->mtime, sizeof(hd->mtime), 1)) in tar_wr() 757 arcn->sb.st_mtime = (time_t)asc_uqd(hd->mtime, sizeof(hd->mtime), OCT); in ustar_rd() 758 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime; in ustar_rd() 995 ul_oct((u_long)arcn->sb.st_mtime,hd->mtime,sizeof(hd->mtime),3)) in ustar_wr()
|
| /freebsd-14.2/tools/regression/tmpfs/ |
| H A D | t_times | 55 [ ${st_mtime} -eq ${ost_mtime} ] || die 63 [ ${st_mtime} -gt ${ost_mtime} ] || die 75 [ ${st_mtime} -eq ${ost_mtime} ] || die 87 [ ${st_mtime} -eq ${ost_mtime} ] || die 100 [ ${st_mtime} -eq ${ost_mtime} ] || die
|
| /freebsd-14.2/contrib/netbsd-tests/fs/tmpfs/ |
| H A D | t_times.sh | 52 [ ${st_mtime} -eq ${ost_mtime} ] || atf_fail "Incorrect mtime" 60 [ ${st_mtime} -gt ${ost_mtime} ] || atf_fail "Incorrect mtime" 86 [ ${st_mtime} -eq ${ost_mtime} ] || atf_fail "Incorrect mtime" 108 [ ${st_mtime} -eq ${ost_mtime} ] || atf_fail "Incorrect mtime" 130 [ ${st_mtime} -eq ${ost_mtime} ] || atf_fail "Incorrect mtime" 154 [ ${st_mtime} -eq ${ost_mtime} ] || atf_fail "Incorrect mtime"
|
| /freebsd-14.2/tools/test/stress2/misc/ |
| H A D | tmpfs22.sh | 108 if (st1.st_mtime == st2.st_mtime) { 110 (long)st1.st_mtime, (long)st2.st_mtime);
|
| /freebsd-14.2/bin/sh/ |
| H A D | mail.c | 99 statb.st_mtime = 0; in chkmail() 100 if (statb.st_mtime > mailtime[i] && ! silent) { in chkmail() 104 mailtime[i] = statb.st_mtime; in chkmail()
|
| /freebsd-14.2/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() 221 struct tm *ltime = localtime(&st->st_mtime); in ls_file() 244 if (now - (365*24*60*60)/2 < st->st_mtime && in ls_file() 245 now >= st->st_mtime) in ls_file()
|
| /freebsd-14.2/contrib/libarchive/tar/test/ |
| H A D | test_option_newer_than.c | 24 sleepUntilAfter(st.st_mtime); in DEFINE_TEST() 27 sleepUntilAfter(st.st_mtime); in DEFINE_TEST()
|
| H A D | test_option_older_than.c | 26 sleepUntilAfter(st.st_mtime); in DEFINE_TEST() 29 sleepUntilAfter(st.st_mtime); in DEFINE_TEST()
|
| /freebsd-14.2/contrib/netbsd-tests/fs/vfs/ |
| H A D | t_mtime_otrunc.c | 52 st.st_mtime = 0; in lock_it() 58 return st.st_mtime; in lock_it()
|
| /freebsd-14.2/crypto/openssh/openbsd-compat/regress/ |
| H A D | utimensattest.c | 83 if (sb.st_mtime != 34567890) in main() 115 if (sb.st_mtime == 55667788) in main()
|
| /freebsd-14.2/contrib/libarchive/libarchive/test/ |
| H A D | test_extattr_freebsd.c | 107 assertEqualInt(st.st_mtime, 123456); in DEFINE_TEST() 119 assertEqualInt(st.st_mtime, 12345678); in DEFINE_TEST()
|
| /freebsd-14.2/usr.bin/mail/ |
| H A D | edit.c | 166 modtime = statb.st_mtime; in run_editor() 199 if (modtime == statb.st_mtime) { in run_editor()
|
| /freebsd-14.2/tests/sys/fifo/ |
| H A D | fifo_create.c | 162 if (old_dirsb.st_mtime == dirsb.st_mtime) { in fifo_create_test()
|
| /freebsd-14.2/tests/sys/fs/fusefs/ |
| H A D | copy_file_range.cc | 631 EXPECT_EQ(sb1a.st_mtime, sb1b.st_mtime); in TEST_F() 634 EXPECT_NE(sb2a.st_mtime, sb2b.st_mtime); in TEST_F() 794 EXPECT_EQ(sb1a.st_mtime, sb1b.st_mtime); in TEST_F() 797 EXPECT_NE(sb2a.st_mtime, sb2b.st_mtime); in TEST_F()
|
| /freebsd-14.2/contrib/diff/src/ |
| H A D | system.h | 324 && (s)->st_mtime == (t)->st_mtime \
|
| H A D | context.c | 59 struct tm const *tm = localtime (&inf->stat.st_mtime); in print_context_label() 63 time_t sec = inf->stat.st_mtime; in print_context_label() 64 verify (info_preserved, sizeof inf->stat.st_mtime <= sizeof sec); in print_context_label()
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_memset.c | 201 st.st_mtime = 9; in ATF_TC_BODY() 214 ATF_CHECK(st.st_mtime == 0); in ATF_TC_BODY()
|