Home
last modified time | relevance | path

Searched refs:st_mtime (Results 1 – 25 of 143) sorted by relevance

123456

/freebsd-14.2/contrib/libarchive/libarchive/
H A Darchive_entry_copy_stat.c41 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 Ddatabase.c70 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 Dar_subs.c213 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 Dcpio.c300 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 Dgen_subs.c102 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 Dfile_subs.c160 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 Dsel_subs.c479 (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 Dbuf_subs.c636 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 Dtar.c397 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 Dt_times55 [ ${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 Dt_times.sh52 [ ${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 Dtmpfs22.sh108 if (st1.st_mtime == st2.st_mtime) {
110 (long)st1.st_mtime, (long)st2.st_mtime);
/freebsd-14.2/bin/sh/
H A Dmail.c99 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 Dsftp-common.c81 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 Dtest_option_newer_than.c24 sleepUntilAfter(st.st_mtime); in DEFINE_TEST()
27 sleepUntilAfter(st.st_mtime); in DEFINE_TEST()
H A Dtest_option_older_than.c26 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 Dt_mtime_otrunc.c52 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 Dutimensattest.c83 if (sb.st_mtime != 34567890) in main()
115 if (sb.st_mtime == 55667788) in main()
/freebsd-14.2/contrib/libarchive/libarchive/test/
H A Dtest_extattr_freebsd.c107 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 Dedit.c166 modtime = statb.st_mtime; in run_editor()
199 if (modtime == statb.st_mtime) { in run_editor()
/freebsd-14.2/tests/sys/fifo/
H A Dfifo_create.c162 if (old_dirsb.st_mtime == dirsb.st_mtime) { in fifo_create_test()
/freebsd-14.2/tests/sys/fs/fusefs/
H A Dcopy_file_range.cc631 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 Dsystem.h324 && (s)->st_mtime == (t)->st_mtime \
H A Dcontext.c59 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 Dt_memset.c201 st.st_mtime = 9; in ATF_TC_BODY()
214 ATF_CHECK(st.st_mtime == 0); in ATF_TC_BODY()

123456