/freebsd/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/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/bin/pax/ |
H A D | ar_subs.c | 207 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 D | gen_subs.c | 96 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 D | file_subs.c | 154 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 D | sel_subs.c | 473 (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 D | buf_subs.c | 630 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 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/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/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/bin/sh/ |
H A D | mail.c | 93 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 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/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/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/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/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/usr.bin/mail/ |
H A D | edit.c | 160 modtime = statb.st_mtime; in run_editor() 193 if (modtime == statb.st_mtime) { in run_editor()
|
/freebsd/tests/sys/fifo/ |
H A D | fifo_create.c | 162 if (old_dirsb.st_mtime == dirsb.st_mtime) { in fifo_create_test()
|
/freebsd/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/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/usr.sbin/makefs/ |
H A D | walk.c | 232 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 D | t_memset.c | 201 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 D | pt_section_posix.c | 93 if (stat.st_mtime != status->stat.st_mtime) in check_file_status()
|