Searched refs:st_mtime (Results 1 - 25 of 135) sorted by relevance

123456

/freebsd-current/contrib/libarchive/tar/test/
H A Dtest_option_older_than.c44 sleepUntilAfter(st.st_mtime);
47 sleepUntilAfter(st.st_mtime);
H A Dtest_option_newer_than.c42 sleepUntilAfter(st.st_mtime);
45 sleepUntilAfter(st.st_mtime);
/freebsd-current/contrib/libarchive/libarchive/
H A Darchive_entry_copy_stat.c41 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtimespec.tv_nsec);
45 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtim.tv_nsec);
49 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_nsec);
53 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_n);
57 archive_entry_set_mtime(entry, st->st_mtime, st->st_umtime * 1000);
61 archive_entry_set_mtime(entry, st->st_mtime, st->st_mtime_usec * 1000);
65 archive_entry_set_mtime(entry, st->st_mtime, 0);
/freebsd-current/contrib/netbsd-tests/fs/vfs/
H A Dt_mtime_otrunc.c52 st.st_mtime = 0;
58 return st.st_mtime;
/freebsd-current/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-current/bin/sh/
H A Dmail.c93 statb.st_mtime = 0;
94 if (statb.st_mtime > mailtime[i] && ! silent) {
98 mailtime[i] = statb.st_mtime;
/freebsd-current/usr.sbin/cron/cron/
H A Ddatabase.c70 syscron_stat.st_mtime = 0;
72 maxmtime = TMAX(statbuf.st_mtime, syscron_stat.st_mtime);
76 maxmtime = TMAX(syscrontabs[i].st.st_mtime, maxmtime);
86 maxmtime = TMAX(st.st_mtime, maxmtime);
90 syscrontabs[i].st.st_mtime = 0;
115 if (syscron_stat.st_mtime) {
123 if (syscrontabs[i].st.st_mtime == 0)
271 if (u->mtime == statbuf->st_mtime) {
292 u->mtime = statbuf->st_mtime;
[all...]
/freebsd-current/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
H A Dt_setattr96 [ ${st_atime} = ${st_mtime} ] || die
/freebsd-current/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-current/contrib/elftoolchain/libelftc/
H A Delftc_set_timestamps.c82 utb.modtime = sb->st_mtime;
/freebsd-current/bin/pax/
H A Dar_subs.c207 if ((arcn->sb.st_mtime <= sb.st_mtime) &&
217 } else if (arcn->sb.st_mtime <= sb.st_mtime) {
243 if ((arcn->sb.st_mtime <= sb.st_mtime) &&
253 } else if (arcn->sb.st_mtime <= sb.st_mtime) {
822 if ((arcn->sb.st_mtime<=sb.st_mtime)
[all...]
H A Dcpio.c292 arcn->sb.st_mtime = (time_t)asc_uqd(hd->c_mtime, sizeof(hd->c_mtime),
294 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime;
434 ul_asc((u_long)arcn->sb.st_mtime,hd->c_mtime,sizeof(hd->c_mtime),
568 arcn->sb.st_mtime = (time_t)asc_uqd(hd->c_mtime,sizeof(hd->c_mtime),HEX);
569 arcn->sb.st_ctime = arcn->sb.st_atime = arcn->sb.st_mtime;
745 ul_asc((u_long)arcn->sb.st_mtime, hd->c_mtime, sizeof(hd->c_mtime),
867 arcn->sb.st_mtime = (time_t)(RSHRT_EXT(hd->h_mtime_1));
868 arcn->sb.st_mtime = (arcn->sb.st_mtime << 16) |
882 arcn->sb.st_mtime
[all...]
H A Dgen_subs.c96 if ((sbp->st_mtime + SIXMONTHS) <= now)
104 if (strftime(f_date,DATELEN,timefrmt,localtime(&(sbp->st_mtime))) == 0)
149 if ((arcn->sb.st_mtime + SIXMONTHS) <= time(NULL))
158 localtime(&(arcn->sb.st_mtime))) == 0)
H A Dfile_subs.c154 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0);
473 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0);
646 tv[1].tv_sec = sb.st_mtime;
875 set_ftime(arcn->org_name, arcn->sb.st_mtime, arcn->sb.st_atime, 1);
930 else if (arcn->sb.st_mtime != sb.st_mtime)
H A Dsel_subs.c473 (arcn->sb.st_mtime < pt->low_time) &&
476 (arcn->sb.st_mtime > pt->high_time) &&
500 (arcn->sb.st_mtime < pt->low_time)) ||
502 (arcn->sb.st_mtime > pt->high_time))) {
/freebsd-current/crypto/openssh/openbsd-compat/regress/
H A Dutimensattest.c83 if (sb.st_mtime != 34567890)
84 fail("st_mtime", 0, 0 );
115 if (sb.st_mtime == 55667788)
116 fail("utimensat symlink st_mtime", 0, 0 );
/freebsd-current/crypto/openssh/
H A Dsftp-common.c81 a->mtime = st->st_mtime;
100 st->st_mtime = a->mtime;
221 struct tm *ltime = localtime(&st->st_mtime);
244 if (now - (365*24*60*60)/2 < st->st_mtime &&
245 now >= st->st_mtime)
/freebsd-current/contrib/libarchive/libarchive/test/
H A Dtest_extattr_freebsd.c107 assertEqualInt(st.st_mtime, 123456);
119 assertEqualInt(st.st_mtime, 12345678);
/freebsd-current/tools/regression/security/cap_test/
H A Dcap_test_pdfork.c93 CHECK(stat.st_ctime == stat.st_mtime);
/freebsd-current/tests/sys/fifo/
H A Dfifo_create.c59 * - The st_atime, st_ctime, st_mtime of the fifo will be set appropriately,
60 * and st_ctime and st_mtime on the directory will be updated. (XXX: We
162 if (old_dirsb.st_mtime == dirsb.st_mtime) {
164 errx(-1, "basic_create_test: %s: old_dirsb.st_mtime == "
165 "dirsb.st_mtime", testname);
/freebsd-current/usr.bin/mail/
H A Dedit.c160 modtime = statb.st_mtime;
193 if (modtime == statb.st_mtime) {
/freebsd-current/usr.bin/find/
H A Dls.c70 printtime(sb->st_mtime);
/freebsd-current/contrib/diff/src/
H A Dcontext.c60 struct tm const *tm = localtime (&inf->stat.st_mtime);
64 time_t sec = inf->stat.st_mtime;
65 verify (info_preserved, sizeof inf->stat.st_mtime <= sizeof sec);
/freebsd-current/lib/libfetch/
H A Dfile.c109 us->mtime = sb.st_mtime;

Completed in 465 milliseconds

123456