| /src/usr.bin/make/unit-tests/ |
| varmod-mtime.exp | 1 make: varmod-mtime.mk:46: Invalid argument "123x" for modifier ":mtime" 3 make: varmod-mtime.mk:68: Cannot determine mtime for "no/such/file1": <ENOENT> 5 make: varmod-mtime.mk:68: Cannot determine mtime for "no/such/file2": <ENOENT> 7 make: varmod-mtime.mk:78: Invalid argument "errorhandler-no" for modifier ":mtime" 8 while evaluating variable "MAKEFILE" with value "varmod-mtime.mk" 9 make: varmod-mtime.mk:86: Invalid argument "warn" for modifier ":mtime [all...] |
| varmod-mtime.mk | 1 # $NetBSD: varmod-mtime.mk,v 1.17 2025/06/28 22:39:29 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+1: Invalid argument "123x" for modifier ":mtime" [all...] |
| /src/external/bsd/libarchive/dist/cpio/test/ |
| test_option_t.c | 17 time_t mtime; local 71 mtime = 1; 77 tmptr = localtime_s(&tmbuf, &mtime) ? NULL : &tmbuf; 79 tmptr = localtime_r(&mtime, &tmbuf); 81 tmptr = localtime(&mtime);
|
| /src/bin/pax/ |
| 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
|
| tar.h | 104 char mtime[12]; /* modification time */ member in struct:__anon32 143 char mtime[12]; /* modification time */ member in struct:__anon33
|
| 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) 1003 pt->mtime = mtime; 1028 get_atdir(dev_t dev, ino_t ino, time_t *mtime, time_t *atime) 1064 *mtime = pt->mtime; [all...] |
| /src/external/bsd/file/dist/src/ |
| tar.h | 61 char mtime[12]; member in struct:record::header
|
| /src/external/bsd/cron/dist/ |
| 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
|
| /src/external/gpl2/gmake/dist/ |
| remake.c | 88 #define MTIME(file) (rebuilding_makefiles ? file_mtime_no_search (file) \ 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); 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...] |
| /src/external/bsd/nsd/dist/ |
| dbaccess.c | 81 zone->mtime.tv_sec = 0; 82 zone->mtime.tv_nsec = 0; 205 /** get the file mtime stat (or nonexist or error) */ 207 file_get_mtime(const char* file, struct timespec* mtime, int* nonexist) 211 mtime->tv_sec = 0; 212 mtime->tv_nsec = 0; 217 mtime->tv_sec = s.st_mtime; 219 mtime->tv_nsec = s.st_mtimensec; 221 mtime->tv_nsec = s.st_mtim.tv_nsec; 223 mtime->tv_nsec = 0 232 struct timespec mtime; local [all...] |
| dbcreate.c | 201 struct timespec mtime; local 223 /* fetch the mtime of the just created zonefile so we 225 if(!file_get_mtime(zfile, &mtime, ¬exist)) { 226 get_time(&mtime); 228 zone->mtime = mtime;
|
| /src/external/gpl3/autoconf/dist/lib/Autom4te/ |
| FileUtils.pm | 49 &find_file &mtime 125 =item C<mtime ($file)> 127 Return the mtime of C<$file>. Missing files, or C<-> standing for 132 # $MTIME 133 # MTIME ($FILE) 135 sub mtime ($) subroutine 145 return $stat->mtime; 221 my $mtime = mtime ($file); 225 if ($mtime < mtime ($dep) [all...] |
| /src/usr.bin/make/ |
| make.c | 223 if (gn->youngestChild == NULL || cgn->mtime > gn->youngestChild->mtime) 233 if (gn->mtime < gn->youngestChild->mtime) { 241 if (gn->mtime == 0 && !(gn->type & OP_OPTIONAL)) { 263 * The mtime field of the node and the youngestChild field of its parents 278 if (gn->mtime != 0) 280 Targ_FmtTime(gn->mtime)); 311 } else if ((gn->type & OP_LIB) && (gn->mtime == 0 || Arch_IsLib(gn))) { 318 oodate = (gn->mtime == 0 || Arch_LibOODate(gn) | 516 time_t mtime; local 669 time_t mtime = -1; local [all...] |
| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_write_format_mtree_classic.c | 34 time_t mtime; member in struct:__anon4823 131 archive_entry_set_mtime(ae, entries[i].mtime, 0); 132 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); 170 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae));
|
| test_write_format_mtree_classic_indent.c | 34 time_t mtime; member in struct:__anon4824 133 archive_entry_set_mtime(ae, entries[i].mtime, 0); 134 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); 172 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae));
|
| test_write_format_mtree.c | 33 time_t mtime; member in struct:__anon4821 53 time_t mtime; member in struct:__anon4822 91 archive_entry_set_mtime(ae, entries[i].mtime, 0); 92 assert(entries[i].mtime == archive_entry_mtime(ae)); 146 assertEqualInt(entries[i].mtime, archive_entry_mtime(ae)); 179 archive_entry_set_mtime(ae, entries2[i].mtime, 0); 180 assert(entries2[i].mtime == archive_entry_mtime(ae)); 236 assertEqualInt(entries2[i].mtime, archive_entry_mtime(ae));
|
| /src/external/bsd/nvi/dist/ex/ |
| tag.h | 25 time_t mtime; /* Last modification time of cscope database. */ member in struct:_csc
|
| /src/external/gpl2/xcvs/dist/src/ |
| 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) : NULL [all...] |
| /src/sys/nfs/ |
| 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->tv_sec [all...] |
| /src/external/bsd/fetch/dist/libfetch/ |
| file.c | 108 u->last_modified >= us->mtime) { 195 us->atime = us->mtime = 0; 202 us->mtime = sb.st_mtime;
|
| /src/share/examples/refuse/ian/libfetch/ |
| file.c | 98 us->atime = us->mtime = 0; 105 us->mtime = sb.st_mtime;
|
| /src/sys/fs/v7fs/ |
| v7fs_inode_util.c | 78 printf("atime %d mtime %d ctime %d\n", 79 p->atime, p->mtime, p->ctime); 82 time_t mt = p->mtime; 84 printf(" atime %s mtime %s ctime %s", ctime(&at), ctime(&mt),
|
| /src/usr.sbin/puffs/mount_9p/ |
| nineproto.c | 127 uint32_t rdev, mode, atime, mtime; local 145 GETFIELD(p9pbuf_get_4, &mtime, 4); 154 vap->va_mtime.tv_sec = mtime; 155 vap->va_ctime.tv_sec = mtime; 327 uint32_t mode, atime, mtime; local 349 mtime = vap->va_mtime.tv_sec; 351 mtime = P9PROTO_STAT_NOVAL4; 372 p9pbuf_put_4(pb, mtime);
|
| /src/external/bsd/am-utils/dist/amd/ |
| info_hesiod.c | 177 time_t mtime; local 180 error = hesiod_search(m, map, "/defaults", &val, &mtime);
|
| /src/external/bsd/am-utils/dist/conf/nfs_prot/ |
| nfs_prot_default.h | 75 #define na_mtime mtime 115 #define sa_mtime mtime
|