/ast/src/cmd/3d/ |
H A D | utimensat3d.c | 41 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 D | utimets3d.c | 41 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 D | utime3d.c | 61 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 D | utimes3d.c | 35 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 D | touch.c | 73 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 D | vcs.c | 367 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 D | testar.c | 44 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 D | ardir.h | 71 time_t mtime; member in struct:Ardirent_s
|
H A D | ar-pdp11.c | 119 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 D | ar-s5r0.c | 149 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 D | ar-omf.c | 151 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 D | ar-local.c | 113 ar->dirent.mtime = tmdate(s, &e, NiL);
|
H A D | ar-aix.c | 184 ar->dirent.mtime = u; 235 sfsprintf(buf, sizeof(buf), "%-*lu", sizeof(buf) - 1, (unsigned long)ent->mtime);
|
H A D | ar-aixbig.c | 185 ar->dirent.mtime = u; 236 sfsprintf(buf, sizeof(buf), "%-*lu", sizeof(buf) - 1, (unsigned long)ent->mtime);
|
H A D | ar-port.c | 276 ar->dirent.mtime = n; 354 sfsprintf(buf, sizeof(buf), "%-*lu", sizeof(buf) - 1, (unsigned long)ent->mtime);
|
/ast/src/cmd/nmake/ |
H A D | archive.c | 79 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 D | vcs_search.c | 215 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 D | ifs_agent.c | 560 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 D | tar.h | 99 char mtime[TMTMLEN]; member in struct:header
|
/ast/src/lib/libcs/ |
H A D | csslib.h | 48 time_t mtime; member in struct:__anon339
|
/ast/src/cmd/mailx/ |
H A D | local.c | 831 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 D | path.h | 59 time_t mtime; member in struct:pathcomp
|
/ast/src/cmd/pax/ |
H A D | pax-cpio.c | 62 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 D | pax-ar.c | 90 f->st->st_mtime = ar->ent->mtime;
|
/ast/src/cmd/std/ |
H A D | shar.sh | 387 mtime=$(date -m -f %# "$file") 388 printf "chmod ${fmode//-} %q&&\n\t\$touch -am $mtime %q\n" "$name" "$name"
|