Searched refs:mtime (Results 1 - 25 of 36) sorted by relevance

12

/ast/src/cmd/3d/
H A Dutimensat3d.c41 time_t mtime;
51 mtime = mtimeof(tms);
53 else atime = mtime = time((time_t*)0);
55 if (!fscall(NiL, MSG_utime, 0, path, atime, mtime))
68 fscall(mp, MSG_utime, 0, path, atime, mtime);
71 fscall(mp, MSG_utime, 0, path, atime, mtime);
H A Dutimets3d.c41 time_t mtime;
51 mtime = mtimeof(tms);
53 else atime = mtime = time((time_t*)0);
55 if (!fscall(NiL, MSG_utime, 0, path, atime, mtime))
66 fscall(mp, MSG_utime, 0, path, atime, mtime);
69 fscall(mp, MSG_utime, 0, path, atime, mtime);
H A Dutime3d.c61 time_t mtime; local
71 mtime = mtimeof(tms);
73 else atime = mtime = time((time_t*)0);
75 if (!fscall(NiL, MSG_utime, 0, path, atime, mtime))
86 fscall(mp, MSG_utime, 0, path, atime, mtime);
89 fscall(mp, MSG_utime, 0, path, atime, mtime);
H A Dutimes3d.c35 time_t mtime; local
45 mtime = mtimeof(tms);
47 else atime = mtime = time((time_t*)0);
49 if (!fscall(NiL, MSG_utime, 0, path, atime, mtime))
60 fscall(mp, MSG_utime, 0, path, atime, mtime);
63 fscall(mp, MSG_utime, 0, path, atime, mtime);
H A Dtouch.c73 touch(const char* file, time_t atime, time_t mtime, int force) argument
90 if (atime == (time_t)(-1) || mtime == (time_t)(-1))
94 if (mtime == (time_t)(-1)) mtime = st.st_mtime;
96 if (!atime || !mtime)
98 if (atime || mtime)
103 if (!mtime) mtime = now;
108 ut.modtime = mtime;
110 n = utime(file, (force < 0 || atime || mtime)
[all...]
H A Dvcs.c367 register time_t mtime; local
375 for (rd = rdir, mtime = 0L; rd; rd = rd->next)
377 if (rd->tag->stat.st_mtime > mtime)
380 mtime = rd->tag->stat.st_mtime;
383 if (mtime)
/ast/src/lib/libardir/
H A Dtestar.c44 ent->mtime = touch;
49 sfprintf(sfstdout, "%s %8u %8u %8llu %8llu %s %s\n", fmtmode(ent->mode, 1), ent->uid, ent->gid, ent->size, ent->offset, fmttime("%k", ent->mtime), ent->name);
H A Dardir.h71 time_t mtime; member in struct:Ardirent_s
H A Dar-pdp11.c119 ar->dirent.mtime = swapget(state->swap, (char*)&state->header.ar_date, sizeof(state->header.ar_date));
145 swapput(state->swap, (char*)&state->header.ar_date, sizeof(state->header.ar_date), (intmax_t)ent->mtime);
H A Dar-s5r0.c149 ar->dirent.mtime = swapget(0, (char*)&state->member.arf_date, sizeof(state->member.arf_date));
175 swapput(0, (char*)&state->member.arf_date, sizeof(state->member.arf_date), (intmax_t)ent->mtime);
H A Dar-omf.c151 fp->st.mtime = ar->st.st_mtime;
177 write(ar->fd,(void*)&fp->st.mtime,sizeof(time_t));
234 fp->st.mtime = (time_t)ip[1];
432 if(fp->st.mtime>= statb.st_mtime && (op&ARDIR_NEWER))
446 fp->st.mtime = statb.st_mtime;
H A Dar-local.c113 ar->dirent.mtime = tmdate(s, &e, NiL);
H A Dar-aix.c184 ar->dirent.mtime = u;
235 sfsprintf(buf, sizeof(buf), "%-*lu", sizeof(buf) - 1, (unsigned long)ent->mtime);
H A Dar-aixbig.c185 ar->dirent.mtime = u;
236 sfsprintf(buf, sizeof(buf), "%-*lu", sizeof(buf) - 1, (unsigned long)ent->mtime);
H A Dar-port.c276 ar->dirent.mtime = n;
354 sfsprintf(buf, sizeof(buf), "%-*lu", sizeof(buf) - 1, (unsigned long)ent->mtime);
/ast/src/cmd/nmake/
H A Darchive.c79 if ((Seconds_t)ent->mtime > (Seconds_t)ar->st.st_mtime)
81 addfile(d, ent->name, ((r = staterule(RULE, NiL, ent->name, -1)) && ent->mtime == tmxsec(r->time)) ? r->time : tmxsns(ent->mtime, 0));
85 ent->mtime = CURSECS;
88 staterule(RULE, r, NiL, 1)->time = r->time = tmxsns(ent->mtime, 0);
/ast/src/cmd/cs/vcs_src/
H A Dvcs_search.c215 time_t mtime; local
273 for (p = list, mtime = 0L; p; p = p->next)
275 if (p->tag->stat.st_mtime > mtime)
278 mtime = p->tag->stat.st_mtime;
292 for (p = sp, mtime = 0L; p != ep->next; p = p->next)
294 if (p->tag->stat.st_mtime > mtime)
297 mtime = p->tag->stat.st_mtime;
452 tag_t* gettagbytime(list, mtime)
454 register time_t mtime;
460 if (ep->tag->stat.st_mtime == mtime)
[all...]
H A Difs_agent.c560 unsigned long mtime; local
572 mtime = st.st_mtime;
573 return ( mtime > cs.time || (cs.time - mtime) < expire );
/ast/src/lib/libast/include/
H A Dtar.h99 char mtime[TMTMLEN]; member in struct:header
/ast/src/lib/libcs/
H A Dcsslib.h48 time_t mtime; member in struct:__anon339
/ast/src/cmd/mailx/
H A Dlocal.c831 touch(const char* file, time_t atime, time_t mtime, int force) argument
850 if (mtime == (time_t)0)
851 mtime = now;
852 else if (mtime == (time_t)(-1))
853 mtime = st.st_mtime;
856 tv[1].tv_sec = mtime;
/ast/src/cmd/ksh93/include/
H A Dpath.h59 time_t mtime; member in struct:pathcomp
/ast/src/cmd/pax/
H A Dpax-cpio.c62 unsigned short mtime[2]; member in struct:Binary_header_s
76 long mtime; member in struct:Localstat_s
369 &lst.mtime,
380 f->st->st_mtime = lst.mtime;
537 &lst.mtime,
554 f->st->st_mtime = lst.mtime;
619 &lst.mtime,
636 f->st->st_mtime = lst.mtime;
740 f->st->st_mtime = binary_long(hdr.mtime);
768 binary_short(hdr.mtime, (lon
[all...]
H A Dpax-ar.c90 f->st->st_mtime = ar->ent->mtime;
/ast/src/cmd/std/
H A Dshar.sh387 mtime=$(date -m -f %# "$file")
388 printf "chmod ${fmode//-} %q&&\n\t\$touch -am $mtime %q\n" "$name" "$name"

Completed in 72 milliseconds

12