Home
last modified time | relevance | path

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

123456

/freebsd/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/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/bin/pax/
H A Dar_subs.c207 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()
822 if ((arcn->sb.st_mtime<=sb.st_mtime) && in copy()
828 } else if (arcn->sb.st_mtime <= sb.st_mtime) in copy()
855 if ((arcn->sb.st_mtime <= sb.st_mtime) && in copy()
861 } else if (arcn->sb.st_mtime <= sb.st_mtime) in copy()
H A Dgen_subs.c96 if ((sbp->st_mtime + SIXMONTHS) <= now) in ls_list()
104 if (strftime(f_date,DATELEN,timefrmt,localtime(&(sbp->st_mtime))) == 0) in ls_list()
149 if ((arcn->sb.st_mtime + SIXMONTHS) <= time(NULL)) in ls_tty()
158 localtime(&(arcn->sb.st_mtime))) == 0) in ls_tty()
H A Dfile_subs.c154 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0); in file_close()
473 set_ftime(arcn->name, arcn->sb.st_mtime, arcn->sb.st_atime, 0); in node_creat()
646 tv[1].tv_sec = sb.st_mtime; in set_ftime()
875 set_ftime(arcn->org_name, arcn->sb.st_mtime, arcn->sb.st_atime, 1); in rdfile_close()
930 else if (arcn->sb.st_mtime != sb.st_mtime) in set_crc()
H A Dsel_subs.c473 (arcn->sb.st_mtime < pt->low_time) && in trng_match()
476 (arcn->sb.st_mtime > pt->high_time) && in trng_match()
500 (arcn->sb.st_mtime < pt->low_time)) || in trng_match()
502 (arcn->sb.st_mtime > pt->high_time))) { in trng_match()
H A Dbuf_subs.c630 else if (arcn->sb.st_mtime != sb.st_mtime) in wr_rdfile()
802 else if (arcn->sb.st_mtime != sb.st_mtime) in cp_file()
/freebsd/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/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/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/bin/sh/
H A Dmail.c93 statb.st_mtime = 0; in chkmail()
94 if (statb.st_mtime > mailtime[i] && ! silent) { in chkmail()
98 mailtime[i] = statb.st_mtime; in chkmail()
/freebsd/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/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/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/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/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/usr.bin/mail/
H A Dedit.c160 modtime = statb.st_mtime; in run_editor()
193 if (modtime == statb.st_mtime) { in run_editor()
/freebsd/tests/sys/fifo/
H A Dfifo_create.c162 if (old_dirsb.st_mtime == dirsb.st_mtime) { in fifo_create_test()
/freebsd/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/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/usr.sbin/makefs/
H A Dwalk.c232 cur->inode->st.st_mtime = stampst.st_mtime; in create_fsnode()
435 stbuf.st_mtime = stbuf.st_atime = in apply_specdir()
517 (long)dirnode->inode->st.st_mtime, in apply_specentry()
519 dirnode->inode->st.st_mtime = specnode->st_mtimespec.tv_sec; in apply_specentry()
/freebsd/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()
/freebsd/contrib/processor-trace/libipt/src/posix/
H A Dpt_section_posix.c93 if (stat.st_mtime != status->stat.st_mtime) in check_file_status()

123456