/freebsd/contrib/bmake/unit-tests/ |
H A D | varmod-mtime.mk | 13 .if ${MAKEFILE:mtime} >= ${start} 23 not_found_mtime:= ${no/such/file:L:mtime} 32 .if ${no/such/file:L:mtime=0} != "0" 39 .if ${no/such/file:L:mtime=00042} != "42" 46 .if ${no/such/file:L:mtime=123x} 55 COOKIE= ${TMPDIR:U/tmp}/varmod-mtime.cookie 57 .if ${COOKIE:mtime=0} < ${start} 58 . error ${COOKIE:mtime=0} < ${start} 68 .if ${no/such/file1 no/such/file2:L:mtime=error} 78 .if ${MAKEFILE:mtime=errorhandler-no} > 0 [all …]
|
/freebsd/contrib/pjdfstest/tests/open/ |
H A D | 00.t | 64 mtime=`${fstest} stat ${n0} mtime` 65 test_check $time -lt $mtime 68 mtime=`${fstest} stat . mtime` 69 test_check $time -lt $mtime 76 dmtime=`${fstest} stat . mtime` 80 mtime=`${fstest} stat . mtime` 81 test_check $dmtime -eq $mtime 88 mtime1=`${fstest} stat ${n0} mtime` 92 mtime2=`${fstest} stat ${n0} mtime`
|
/freebsd/contrib/pjdfstest/tests/unlink/ |
H A D | 00.t | 142 mtime=`${fstest} stat ${n0} mtime` 143 test_check $time -lt $mtime 153 mtime=`${fstest} stat ${n0} mtime` 154 test_check $time -lt $mtime 164 mtime=`${fstest} stat ${n0} mtime` 165 test_check $time -lt $mtime 175 mtime=`${fstest} stat ${n0} mtime` 176 test_check $time -lt $mtime 186 mtime=`${fstest} stat ${n0} mtime` 187 test_check $time -lt $mtime [all …]
|
/freebsd/contrib/pjdfstest/tests/mknod/ |
H A D | 11.t | 68 mtime=`${fstest} stat ${n0} mtime` 69 test_check $time -lt $mtime 72 mtime=`${fstest} stat . mtime` 73 test_check $time -lt $mtime
|
H A D | 00.t | 63 mtime=`${fstest} stat ${n0} mtime` 64 test_check $time -lt $mtime 67 mtime=`${fstest} stat . mtime` 68 test_check $time -lt $mtime
|
/freebsd/contrib/pjdfstest/tests/mkdir/ |
H A D | 00.t | 63 mtime=`${fstest} stat ${n0} mtime` 64 test_check $time -lt $mtime 67 mtime=`${fstest} stat . mtime` 68 test_check $time -lt $mtime
|
/freebsd/contrib/pjdfstest/tests/mkfifo/ |
H A D | 00.t | 63 mtime=`${fstest} stat ${n0} mtime` 64 test_check $time -lt $mtime 67 mtime=`${fstest} stat . mtime` 68 test_check $time -lt $mtime
|
/freebsd/contrib/sendmail/contrib/ |
H A D | buildvirtuser | 141 my $mtime = 0; 143 $mtime = $st->mtime if (defined($st)); 144 if ($mtime > $newest) 146 $newest = $mtime; 184 $virtmtime = $st->mtime if (defined($st));
|
H A D | re-mqueue.pl | 156 $atime,$mtime,$ctime,$blksize,$blocks) = stat($dfile); 157 if (! defined $mtime) { 163 if (($mtime + $age) > $now) { 164 printf ("%s is %d seconds old - skipping\n", $dfile, $now-$mtime) if ($debug);
|
/freebsd/contrib/libarchive/unzip/ |
H A D | bsdunzip.c | 618 struct timespec mtime; in extract_file() local 633 mtime.tv_sec = archive_entry_mtime(e); in extract_file() 634 mtime.tv_nsec = archive_entry_mtime_nsec(e); in extract_file() 643 sb.st_mtimespec.tv_sec > mtime.tv_sec || in extract_file() 644 (sb.st_mtimespec.tv_sec == mtime.tv_sec && in extract_file() 645 sb.st_mtimespec.tv_nsec >= mtime.tv_nsec) in extract_file() 647 sb.st_mtim.tv_sec > mtime.tv_sec || in extract_file() 648 (sb.st_mtim.tv_sec == mtime.tv_sec && in extract_file() 649 sb.st_mtim.tv_nsec >= mtime.tv_nsec) in extract_file() 651 sb.st_mtime > mtime.tv_sec || in extract_file() [all …]
|
/freebsd/contrib/libarchive/cpio/test/ |
H A D | test_option_t.c | 17 time_t mtime; in DEFINE_TEST() local 71 mtime = 1; in DEFINE_TEST() 77 tmptr = localtime_s(&tmbuf, &mtime) ? NULL : &tmbuf; in DEFINE_TEST() 79 tmptr = localtime_r(&mtime, &tmbuf); in DEFINE_TEST() 81 tmptr = localtime(&mtime); in DEFINE_TEST()
|
/freebsd/contrib/bmake/ |
H A D | make.c | 219 if (gn->youngestChild == NULL || cgn->mtime > gn->youngestChild->mtime) in GNode_UpdateYoungestChild() 229 if (gn->mtime < gn->youngestChild->mtime) { in IsOODateRegular() 237 if (gn->mtime == 0 && !(gn->type & OP_OPTIONAL)) { in IsOODateRegular() 274 if (gn->mtime != 0) in GNode_IsOODate() 276 Targ_FmtTime(gn->mtime)); in GNode_IsOODate() 307 } else if ((gn->type & OP_LIB) && (gn->mtime == 0 || Arch_IsLib(gn))) { in GNode_IsOODate() 314 oodate = (gn->mtime == 0 || Arch_LibOODate(gn) || in GNode_IsOODate() 519 time_t mtime; in Make_Recheck() local 522 mtime = gn->mtime; in Make_Recheck() 548 gn->mtime = now; in Make_Recheck() [all …]
|
/freebsd/contrib/pjdfstest/tests/utimensat/ |
H A D | 05.t | 35 expect $DATE2 lstat ${n0} mtime 37 expect $DATE4 lstat ${n2} mtime 41 expect $DATE6 lstat ${n0} mtime 47 expect $DATE4 lstat ${n2} mtime
|
H A D | 02.t | 24 orig_mtime=`$fstest lstat ${n0} mtime` 27 expect $orig_mtime lstat ${n0} mtime 31 expect $DATE2 lstat ${n0} mtime
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_subr.h | 137 struct timespec *mtime, struct smb_cred *scred); 138 int smbfs_smb_setptime2(struct smbnode *np, struct timespec *mtime, 141 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 143 int smbfs_smb_setftime(struct smbnode *np, struct timespec *mtime, 146 struct timespec *mtime, struct timespec *atime, struct smb_cred *scred); 150 struct timespec *mtime, struct smb_cred *scred);
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/nopwrite/ |
H A D | nopwrite_mtime.ksh | 72 mtime=$(stat -c %Y $TESTDIR/clone/file) 76 mtime=$(stat -f "%m" $TESTDIR/clone/file) 80 mtime=$(ls -E% all $TESTDIR/clone/file | awk '/mtime/ {print $4}') 85 [[ $o_mtime = $mtime ]] && log_fail "mtime unchanged: $o_mtime $mtime"
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | mcache.c | 48 time_t mtime; member 99 m->mtime = time(NULL); in mcc_alloc() 165 m->mtime = time(NULL); in mcc_initialize() 261 m->mtime = time(NULL); in mcc_store_cred() 336 m->mtime = time(NULL); in mcc_remove_cred() 443 mto->mtime = mfrom->mtime = time(NULL); in mcc_move() 464 mcc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime) in mcc_lastchange() argument 466 *mtime = MCACHE(id)->mtime; in mcc_lastchange()
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_write_format_mtree.c | 33 time_t mtime; 53 time_t mtime; 91 archive_entry_set_mtime(ae, entries[i].mtime, 0); in test_write_format_mtree_sub() 92 assert(entries[i].mtime == archive_entry_mtime(ae)); in test_write_format_mtree_sub() 146 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); in test_write_format_mtree_sub() 179 archive_entry_set_mtime(ae, entries2[i].mtime, 0); in test_write_format_mtree_sub2() 180 assert(entries2[i].mtime == archive_entry_mtime(ae)); in test_write_format_mtree_sub2() 236 assertEqualInt(entries2[i].mtime, archive_entry_mtime(ae)); in test_write_format_mtree_sub2() 34 time_t mtime; global() member 54 time_t mtime; global() member
|
H A D | test_write_format_mtree_classic.c | 34 time_t mtime; 131 archive_entry_set_mtime(ae, entries[i].mtime, 0); in test_write_format_mtree_sub() 132 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); in test_write_format_mtree_sub() 170 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); in test_write_format_mtree_sub() 35 time_t mtime; global() member
|
H A D | test_write_format_mtree_classic_indent.c | 34 time_t mtime; 133 archive_entry_set_mtime(ae, entries[i].mtime, 0); in test_write_format_mtree_sub() 134 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); in test_write_format_mtree_sub() 172 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); in test_write_format_mtree_sub() 35 time_t mtime; global() member
|
/freebsd/contrib/pjdfstest/tests/rmdir/ |
H A D | 00.t | 25 mtime=`${fstest} stat ${n0} mtime` 26 test_check $time -lt $mtime
|
/freebsd/bin/pax/ |
H A D | tables.c | 420 if (arcn->sb.st_mtime > pt->mtime) { in chk_ftime() 424 pt->mtime = arcn->sb.st_mtime; in chk_ftime() 444 pt->mtime = arcn->sb.st_mtime; in chk_ftime() 937 set_ftime(pt->name, pt->mtime, pt->atime, 1); in atdir_end() 948 add_atdir(char *fname, dev_t dev, ino_t ino, time_t mtime, time_t atime) in add_atdir() argument 985 pt->mtime = mtime; in add_atdir() 1010 get_atdir(dev_t dev, ino_t ino, time_t *mtime, time_t *atime) in get_atdir() argument 1046 *mtime = pt->mtime; in get_atdir() 1139 dblk.mtime = psb->st_mtime; in add_dir() 1193 set_ftime(name, dblk.mtime, dblk.atime, 0); in proc_dir()
|
H A D | tables.h | 77 time_t mtime; /* files last modification time */ member 145 time_t mtime; /* access and mod time to reset to */ member 165 time_t mtime; /* mtime to set */ member
|
/freebsd/contrib/pjdfstest/tests/symlink/ |
H A D | 00.t | 28 mtime=`${fstest} stat ${n0} mtime` 29 test_check $time -lt $mtime
|
/freebsd/contrib/pjdfstest/tests/link/ |
H A D | 00.t | 62 dmtime1=`${fstest} stat . mtime` 69 dmtime2=`${fstest} stat . mtime` 81 dmtime1=`${fstest} stat . mtime` 88 dmtime2=`${fstest} stat . mtime`
|