/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/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:__anon7c22972a0108 143 char mtime[12]; /* modification time */ member in struct:__anon7c22972a0208
|
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...] |
tar.c | 491 arcn->sb.st_mtime = (time_t)(int32_t)asc_u32(hd->mtime, sizeof(hd->mtime), OCT); 594 uintmax_t mtime; local in function:tar_wr 703 mtime = tst.st_ino ? tst.st_mtime : arcn->sb.st_mtime; 707 u32_oct(mtime, hd->mtime, sizeof(hd->mtime), 1)) 867 arcn->sb.st_mtime = (time_t)(int32_t)asc_u32(hd->mtime, sizeof(hd->mtime), OCT); 1057 uintmax_t mtime; local in function:ustar_wr [all...] |
ftree.c | 417 time_t atime, mtime; local in function:next_file 536 &mtime, &atime) == 0)) { 538 mtime, atime, 1, 0); 610 &mtime, &atime) < 0)) 612 set_ftime(ftent->fts_path, mtime, atime, 1, 0);
|
dumptar.c | 87 OPR(mtime);
|
/src/usr.bin/make/ |
make.c | 222 if (gn->youngestChild == NULL || cgn->mtime > gn->youngestChild->mtime) 232 if (gn->mtime < gn->youngestChild->mtime) { 240 if (gn->mtime == 0 && !(gn->type & OP_OPTIONAL)) { 262 * The mtime field of the node and the youngestChild field of its parents 277 if (gn->mtime != 0) 279 Targ_FmtTime(gn->mtime)); 310 } else if ((gn->type & OP_LIB) && (gn->mtime == 0 || Arch_IsLib(gn))) { 317 oodate = (gn->mtime == 0 || Arch_LibOODate(gn) | 515 time_t mtime; local in function:Make_Recheck 668 time_t mtime = -1; local in function:Make_Update [all...] |
arch.c | 673 DEBUG5(ARCH, "Reading archive %s member %.*s mtime %.*s\n", 794 * Update the mtime of the GNode with the mtime from the archive member on 804 gn->mtime = (time_t)strtol(arh->ar_date, NULL, 10); 806 gn->mtime = 0; 810 * Given a nonexistent archive member's node, update gn->mtime from its 837 gn->mtime = pgn->mtime; 844 gn->mtime = 0; 894 gn->youngestChild->mtime > tocModTime [all...] |
targ.c | 193 gn->mtime = 0; 487 if (gn->mtime != 0) { 489 Targ_FmtTime(gn->mtime),
|
/src/sys/nfs/ |
nfs_clntsubs.c | 157 struct timespec mtime; local in function:nfs_loadattrcache 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/share/examples/refuse/ian/libfetch/ |
file.c | 98 us->atime = us->mtime = 0; 105 us->mtime = sb.st_mtime;
|
fetch.h | 54 time_t mtime; member in struct:url_stat
|
/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),
|
v7fs_inode.h | 44 v7fs_time_t mtime; member in struct:v7fs_inode
|
v7fs.h | 159 v7fs_time_t mtime; member in struct:v7fs_inode_diskimage
|
v7fs_file.c | 156 if (attr->mtime) 157 inode.mtime = attr->mtime;
|
/src/usr.sbin/puffs/mount_9p/ |
nineproto.c | 127 uint32_t rdev, mode, atime, mtime; local in function:proto_getstat 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 in function:proto_make_stat 349 mtime = vap->va_mtime.tv_sec; 351 mtime = P9PROTO_STAT_NOVAL4; 372 p9pbuf_put_4(pb, mtime);
|
/src/sys/ufs/chfs/ |
media.h | 90 le32 mtime; /* last modification time */ member in struct:chfs_flash_vnode
|
chfs_inode.h | 105 uint32_t mtime; /* modify time */ member in struct:chfs_inode 118 #define IN_UPDATE 0x0004 /* Inode was written to; update mtime. */
|
/src/usr.bin/rdist/ |
server.c | 92 * Qname - Query if file exists. Return mtime & size if it does. 613 time_t mtime; local in function:update 677 mtime = 0; 679 mtime = mtime * 10 + (*s++ - '0'); 681 error("update: mtime not delimited\n"); 688 if (st->st_mtime == mtime) 690 if (st->st_mtime < mtime) { 695 } else if (st->st_mtime == mtime && st->st_size == size) 703 * Ysize mtime\n - exists and its a regular file (size & mtime of file 755 time_t mtime; local in function:recvf [all...] |
/src/usr.bin/unzip/ |
unzip.c | 600 time_t mtime; local in function:extract_file 609 mtime = archive_entry_mtime(e); 616 if (S_ISREG(sb.st_mode) && sb.st_mtime >= mtime) 639 tv[1].tv_sec = mtime; 809 time_t mtime; local in function:list 812 mtime = archive_entry_mtime(e); 813 tm = localtime(&mtime);
|
/src/lib/librpcsvc/ |
nfs_prot.x | 130 nfstime mtime; /* time of last modification */ 143 nfstime mtime; /* time of last modification */ 404 nfstime3 mtime; /* time of last modification */ 417 nfstime3 mtime; 486 nfstime3 mtime; 497 set_mtime mtime;
|
/src/sys/fs/adosfs/ |
adosfs.h | 80 struct datestamp mtime; /* (r/d/f) last modified */ member in struct:anode
|