Searched defs:mtime (Results 1 - 15 of 15) sorted by relevance

/ast/src/cmd/3d/
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 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 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/cmd/ksh93/include/
H A Dpath.h59 time_t mtime; member in struct:pathcomp
/ast/src/lib/libcs/
H A Dcsslib.h48 time_t mtime; member in struct:__anon339
/ast/src/lib/libardir/
H A Dardir.h71 time_t mtime; member in struct:Ardirent_s
/ast/src/lib/libast/include/
H A Dtar.h99 char mtime[TMTMLEN]; member in struct:header
/ast/src/cmd/pax/
H A Dcopy.c251 if (!f->delta.base || (unsigned long)f->delta.base->mtime.tv_sec >= (unsigned long)f->st->st_mtime)
269 if (!f->delta.base || f->delta.base->mtime.tv_sec != f->st->st_mtime)
497 char* mtime; local
524 mtime = state.mtime;
593 else if (streq(s, "mtime"))
594 state.mtime = v;
604 state.mtime = mtime;
H A Dformat.c286 putinfo(register Archive_t* ap, char* file, unsigned long mtime, unsigned long checksum) argument
310 f->st->st_mtime = mtime;
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.h313 Tv_t mtime; /* modify time */ member in struct:Member_s
353 Tv_t mtime; /* modify time */ member in struct:Post_s
576 int modtime; /* retain mtime */ \
577 char* mtime; /* output date(1) mtime */ \
/ast/src/cmd/cs/vcs_src/
H A Difs_agent.c560 unsigned long mtime; local
572 mtime = st.st_mtime;
573 return ( mtime > cs.time || (cs.time - mtime) < expire );
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...]
/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;

Completed in 32 milliseconds