/netbsd-current/external/mpl/bind/dist/bin/tests/system/cds/ |
H A D | checkmtime.pl | 16 my $mtime = time - (stat $file)[9]; 17 die "bad mtime $mtime" 18 unless ($mtime - $target >= 0 && $mtime - $target < 60);
|
/netbsd-current/usr.bin/make/unit-tests/ |
H A D | varmod-mtime.mk | 1 # $NetBSD: varmod-mtime.mk,v 1.10 2024/04/20 10:18:55 rillig Exp $ 3 # Tests for the ':mtime' variable modifier, which maps each word of the 12 # didn't exist, the ':mtime' modifier would return the current time. 13 .if ${MAKEFILE:mtime} >= ${start} 18 # For a file that doesn't exist, the ':mtime' modifier returns the current 23 not_found_mtime:= ${no/such/file:L:mtime} 29 # The ':mtime' modifier accepts a timestamp in seconds as an optional 32 .if ${no/such/file:L:mtime=0} != "0" 39 .if ${no/such/file:L:mtime=00042} != "42" 45 # expect+2: while evaluating variable "no/such/file": Invalid argument '123x' for modifier ':mtime' [all...] |
H A D | varmod-mtime.exp | 1 make: "varmod-mtime.mk" line 47: while evaluating variable "no/such/file": Invalid argument '123x' for modifier ':mtime' 2 make: "varmod-mtime.mk" line 47: Malformed conditional (${no/such/file:L:mtime=123x}) 3 make: "varmod-mtime.mk" line 70: while evaluating variable "no/such/file1 no/such/file2": Cannot determine mtime for 'no/such/file1': <ENOENT> 4 make: "varmod-mtime.mk" line 70: while evaluating variable "no/such/file1 no/such/file2": Cannot determine mtime for 'no/such/file2': <ENOENT> 5 make: "varmod-mtime.mk" line 70: Malformed conditional (${no/such/file1 no/such/file2:L:mtime [all...] |
/netbsd-current/bin/pax/ |
H A D | tables.h | 71 * with -u, the mtime for every node in the archive must always be available 79 time_t mtime; /* files last modification time */ member in struct:ftm 147 time_t mtime; /* access and mod time to reset to */ member in struct:atdir 172 time_t mtime; /* mtime to set */ member in struct:dirdata
|
H A D | tar.h | 104 char mtime[12]; /* modification time */ member in struct:__anon32 143 char mtime[12]; /* modification time */ member in struct:__anon33
|
H A D | tables.c | 436 if (arcn->sb.st_mtime > pt->mtime) { 440 pt->mtime = arcn->sb.st_mtime; 460 pt->mtime = arcn->sb.st_mtime; 955 set_ftime(pt->name, pt->mtime, pt->atime, 1, 0); 966 add_atdir(char *fname, dev_t dev, ino_t ino, time_t mtime, time_t atime) argument 1003 pt->mtime = mtime; 1028 get_atdir(dev_t dev, ino_t ino, time_t *mtime, time_t *atime) argument 1064 *mtime = pt->mtime; [all...] |
/netbsd-current/external/bsd/libarchive/dist/cpio/test/ |
H A D | test_option_t.c | 36 time_t mtime; local 86 mtime = 1; 91 strftime(date2, sizeof(date2)-1, "%b %d %Y", localtime(&mtime)); 94 strftime(date2, sizeof(date2)-1, "%b %e %Y", localtime(&mtime));
|
/netbsd-current/external/bsd/file/dist/src/ |
H A D | tar.h | 61 char mtime[12]; member in struct:record::header
|
/netbsd-current/external/bsd/nsd/dist/ |
H A D | dbaccess.c | 80 zone->mtime.tv_sec = 0; 81 zone->mtime.tv_nsec = 0; 169 /** get the file mtime stat (or nonexist or error) */ 171 file_get_mtime(const char* file, struct timespec* mtime, int* nonexist) argument 175 mtime->tv_sec = 0; 176 mtime->tv_nsec = 0; 181 mtime->tv_sec = s.st_mtime; 183 mtime->tv_nsec = s.st_mtimensec; 185 mtime->tv_nsec = s.st_mtim.tv_nsec; 187 mtime 196 struct timespec mtime; local [all...] |
H A D | dbcreate.c | 239 struct timespec mtime; local 259 /* fetch the mtime of the just created zonefile so we 261 if(!file_get_mtime(zfile, &mtime, ¬exist)) { 262 get_time(&mtime); 264 zone->mtime = mtime;
|
/netbsd-current/external/bsd/cron/dist/ |
H A D | structs.h | 53 time_t mtime; /* last modtime of crontab */ member in struct:_user 59 time_t mtime; /* last modtime on spooldir */ member in struct:_cron_db
|
/netbsd-current/external/gpl2/gmake/dist/ |
H A D | remake.c | 184 FILE_TIMESTAMP mtime = MTIME (file); 188 mtime != file->mtime_before_update) 476 FILE_TIMESTAMP mtime; 482 mtime = file_mtime (d->file); 543 d->changed = ((file_mtime (d->file) != mtime) 544 /* || (mtime == NONEXISTENT_MTIME) */); 560 FILE_TIMESTAMP mtime = file_mtime (d->file); 598 || file_mtime (d->file) != mtime); 793 /* Set FILE's `updated' flag and re-check its mtime and the mtime' 183 FILE_TIMESTAMP mtime = MTIME (file); local 473 FILE_TIMESTAMP mtime; local 557 FILE_TIMESTAMP mtime = file_mtime (d->file); local 946 FILE_TIMESTAMP mtime; local 957 FILE_TIMESTAMP mtime; local 1146 FILE_TIMESTAMP mtime; local 1357 FILE_TIMESTAMP mtime; local 1472 FILE_TIMESTAMP mtime; local [all...] |
/netbsd-current/crypto/external/bsd/openssh/dist/ |
H A D | sftp-common.h | 43 u_int32_t mtime; member in struct:Attrib
|
H A D | sftp-common.c | 66 a->mtime = 0; 84 a->mtime = st->st_mtime; 103 st->st_mtime = a->mtime; 131 (r = sshbuf_get_u32(b, &a->mtime)) != 0) 181 (r = sshbuf_put_u32(b, a->mtime)) != 0)
|
/netbsd-current/external/mpl/bind/dist/bin/tests/system/statschannel/ |
H A D | generic.py | 32 # Wait for the secondary zone files to appear to extract their mtime 77 mtime = datetime.utcfromtimestamp(si.st_mtime).replace(microsecond=0) 79 return mtime 91 mtime = zone_mtime(zonedir, name) 92 check_zone_timers(loaded, expires, refresh, mtime) 107 mtime = zone_mtime(zonedir, name) 108 if (mtime != dayzero) or (tries == 0): 109 # mtime was either retrieved successfully or no tries were 111 check_zone_timers(loaded, expires, refresh, mtime)
|
/netbsd-current/external/gpl3/autoconf/dist/lib/Autom4te/ |
H A D | FileUtils.pm | 49 &find_file &mtime 125 =item C<mtime ($file)> 127 Return the mtime of C<$file>. Missing files, or C<-> standing for 135 sub mtime ($) subroutine 145 return $stat->mtime; 221 my $mtime = mtime ($file); 225 if ($mtime < mtime ($dep))
|
/netbsd-current/external/bsd/nvi/dist/ex/ |
H A D | tag.h | 25 time_t mtime; /* Last modification time of cscope database. */ member in struct:_csc
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_write_format_mtree_classic.c | 35 time_t mtime; member in struct:__anon170 132 archive_entry_set_mtime(ae, entries[i].mtime, 0); 133 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); 171 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae));
|
H A D | test_write_format_mtree_classic_indent.c | 35 time_t mtime; member in struct:__anon171 134 archive_entry_set_mtime(ae, entries[i].mtime, 0); 135 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); 173 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae));
|
H A D | test_write_format_mtree.c | 34 time_t mtime; member in struct:__anon1250 54 time_t mtime; member in struct:__anon1251 92 archive_entry_set_mtime(ae, entries[i].mtime, 0); 93 assert(entries[i].mtime == archive_entry_mtime(ae)); 147 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); 180 archive_entry_set_mtime(ae, entries2[i].mtime, 0); 181 assert(entries2[i].mtime == archive_entry_mtime(ae)); 237 assertEqualInt(entries2[i].mtime, archive_entry_mtime(ae));
|
/netbsd-current/usr.bin/make/ |
H A D | make.c | 219 if (gn->youngestChild == NULL || cgn->mtime > gn->youngestChild->mtime) 229 if (gn->mtime < gn->youngestChild->mtime) { 237 if (gn->mtime == 0 && !(gn->type & OP_OPTIONAL)) { 259 * The mtime field of the node and the youngestChild field of its parents 274 if (gn->mtime != 0) 276 Targ_FmtTime(gn->mtime)); 307 } else if ((gn->type & OP_LIB) && (gn->mtime == 0 || Arch_IsLib(gn))) { 314 oodate = (gn->mtime 519 time_t mtime; local 672 time_t mtime = -1; local [all...] |
/netbsd-current/external/gpl2/xcvs/dist/src/ |
H A D | vers_ts.c | 219 * its mtime. 404 time_t mtime; local 409 mtime = sb.st_mtime; 411 /* If it's a symlink, return whichever is the newest mtime of 416 if (mtime < sb.st_mtime) 417 mtime = sb.st_mtime; 420 return mtime; 432 time_t mtime = unix_time_stamp (file); local 433 return mtime ? entries_time (mtime) [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gdb/ |
H A D | source-cache.c | 68 time_t mtime = 0; local 70 mtime = SYMTAB_OBJFILE (s)->mtime; 72 mtime = exec_bfd_mtime; 74 if (mtime && mtime < st.st_mtime)
|
/netbsd-current/external/gpl3/gdb/dist/gdb/ |
H A D | source-cache.c | 109 time_t mtime = 0; local 112 mtime = s->compunit ()->objfile ()->mtime; 114 mtime = current_program_space->ebfd_mtime; 116 if (mtime && mtime < st.st_mtime)
|
/netbsd-current/sys/nfs/ |
H A D | nfs_clntsubs.c | 157 struct timespec mtime; local 170 fxdr_nfsv3time(&fp->fa3_mtime, &mtime); 178 fxdr_nfsv2time(&fp->fa2_mtime, &mtime); 211 np->n_mtime = mtime; 228 vap->va_mtime = mtime; 384 struct timespec *mtime, bool docheck) 398 if (timespeccmp(omtime, mtime, <=)) { 399 reason = "mtime"; 430 " mtime %u.%09u %u.%09u)\n", 439 (unsigned int)mtime 383 nfs_check_wccdata(struct nfsnode *np, const struct timespec *ctime, struct timespec *mtime, bool docheck) argument [all...] |