Home
last modified time | relevance | path

Searched refs:st_mtime (Results 1 – 25 of 150) 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()
273 if (u->mtime == statbuf->st_mtime) { in process_crontab()
294 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.c95 statb.st_mtime = 0; in chkmail()
96 if (statb.st_mtime > mailtime[i] && ! silent) { in chkmail()
100 mailtime[i] = statb.st_mtime; in chkmail()
/freebsd/usr.sbin/makefs/tests/
H A Dmakefs_msdos_tests.sh61 atf_check_equal $st_mtime $timestamp
87 atf_check_equal $st_mtime $timestamp_F
111 atf_check_equal $st_mtime $timestamp
H A Dmakefs_ffs_tests.sh246 atf_check_equal $st_mtime $timestamp
271 atf_check_equal $st_mtime $timestamp_F
294 atf_check_equal $st_mtime $timestamp
H A Dmakefs_cd9660_tests.sh348 atf_check_equal $st_mtime $timestamp
373 atf_check_equal $st_mtime $timestamp_F
395 atf_check_equal $st_mtime $timestamp
/freebsd/crypto/openssh/
H A Dsftp-common.c79 a->mtime = st->st_mtime; in stat_to_attrib()
98 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()
/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.c89 if (sb.st_mtime != 34567890) in main()
121 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/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/usr.bin/find/
H A Dprintf.c329 fp_ctime(fout, sp->st_mtime); in do_printf()
332 fp_strftime(fout, sp->st_mtime, *fmt++); in do_printf()

123456