Searched defs:date (Results 1 - 18 of 18) sorted by relevance

/ast/src/lib/libtksh/tcl/
H A DtclUnixTime.c117 struct timeval date;
124 gettimeofday(&date, &tz);
125 now = date.tv_sec*1000000 + date.tv_usec;
115 struct timeval date; local
/ast/src/cmd/msgcc/
H A Dmsggen.c89 " the newest date for a given \aidentification\a"
124 char* date; member in struct:Xl_s
158 if (strcoll(px->date, d) < 0)
160 free(px->date);
161 if (!(px->date = strdup(d)))
168 if (!(px = newof(0, Xl_t, 1, strlen(s))) || !(px->date = strdup(d)))
494 if (px->date && (!bp || strcoll(bp->date, px->date) < 0))
498 sfprintf(tp, "%s%s %s", t, bp->name, bp->date);
[all...]
/ast/src/cmd/INIT/
H A Drelease.c39 "[+DESCRIPTION?\brelease\b lists the changes within the date range specified"
41 " contain date tag lines of the form [\acc\a]]\ayy-mm-dd\a [ \atext\a ]]"
44 " can be patented?, how about 1+1=2?.) The date tag lines are followed by"
50 "[f:from?Entries older than \adate\a are omitted.]:[date]"
52 " A release mark has a date tag followed by optional space and at least"
54 " listed. If there are no release marks then the date range is used;"
55 " if there is at least one release mark then the date range is ignored"
57 "[t:to?Entries newer than \adate\a are omitted.]:[date]"
93 fprintf(stderr, "Usage: release [-V] [-h hi-date] [-l lo-date] [
135 date(char* s, char** e) function
[all...]
H A Dproto.c385 struct ppcontext* context; long state; long mode; long option; long test; struct { char* sp; long flags; } filedeps; struct ppdirs* firstdir; struct ppdirs* lastdir; int hide; int column; int pending; char* firstfile; char* lastfile; char* ignore; char* probe; char* filtab; char* prdtab; char* date; char* time; char* maps; long ro_state; long ro_mode; long ro_option; long ro_op[2]; struct pathid cdir; struct pathid hostdir; char* ppdefault; struct ppindex* firstindex; struct ppindex* lastindex; struct oplist* firstop; struct oplist* lastop; struct oplist* firsttx; struct oplist* lasttx; unsigned char arg_file; unsigned char arg_mode; unsigned char arg_style; unsigned char c; unsigned char hosted; unsigned char ignoresrc; unsigned char initialized; unsigned char standalone; unsigned char spare_1; member in struct:ppglobals
437 struct ppcontext* context; long state; long mode; long option; long test; struct { char* sp; long flags; } filedeps; struct ppdirs* firstdir; struct ppdirs* lastdir; int hide; int column; int pending; char* firstfile; char* lastfile; char* ignore; char* probe; char* filtab; char* prdtab; char* date; char* time; char* maps; long ro_state; long ro_mode; long ro_option; long ro_op[2]; struct pathid cdir; struct pathid hostdir; char* ppdefault; struct ppindex* firstindex; struct ppindex* lastindex; struct oplist* firstop; struct oplist* lastop; struct oplist* firsttx; struct oplist* lasttx; unsigned char arg_file; unsigned char arg_mode; unsigned char arg_style; unsigned char c; unsigned char hosted; unsigned char ignoresrc; unsigned char initialized; unsigned char standalone; unsigned char spare_1; member in struct:ppcontext
/ast/src/cmd/mailx/
H A Dsend.c189 char* date; local
214 date = 0;
218 if (!strcasecmp(pp.name, "date"))
219 date = savestr(pp.data);
236 if (!date)
237 date = s;
240 if (date || (date = strchr(head, ' ')) && ++date)
241 fprintf(op, "On %s ", date);
[all...]
H A Dimap.c138 char* date; /* localized date */ member in struct:__anon125
858 if (ip->date)
859 strcpy(ip->date, s);
861 ip->date = vmstrdup(imap->vm, s);
1085 if (!ip->date && (s = ap->value.string))
1086 ip->date = vmstrdup(imap->vm, fmttime("%a %b %e %H:%M %Z %Y", tmdate(s, NiL, NiL)));
2036 sfprintf(op, "From %s %s\n", ip->from, ip->date);
2408 current, disposition, m, ip->from, ip->date, sizes,
2412 current, disposition, m, ip->from, ip->date, size
[all...]
/ast/src/cmd/at/
H A Dat.c63 "[t:time|date?Schedule the command to be run at \atime\a. Most common"
64 " date formats are accepted. The keyword \bevery\b can be combined"
65 " with date parts to specify repeat executions, e.g.,"
176 char* date = 0; local
193 date = "now";
235 date = opt_info.arg;
327 if (date || *argv)
332 if (date)
333 sfputr(tp, date, -1);
/ast/src/cmd/builtin/
H A Dwho.c171 char *date = ctime(&t); local
184 sfprintf(out,"%-*.*s %c %-*.*s %.12s ",sp->siz_user,sp->siz_user,up->ut_user,state,sp->siz_line,sp->siz_line,up->ut_line,date+4);
187 sfprintf(out,"%-*.*s %-*.*s %.12s ",sp->siz_user,sp->siz_user,up->ut_user,sp->siz_line,sp->siz_line,up->ut_line,date+4);
H A Dpr.c133 char *date; member in struct:_pr_
163 pp->date = (char*)(pp+1);
182 if(sfprintf(pp->outfile,"%s %s Page %d\n\n\n",pp->date,header,pp->pageno)<0)
885 strcpy(pp->date, "- Date/Time --");
887 tmfmt(pp->date, DATESZ, "%b %e %H:%M %Y", fstat(sffileno(fp), &statb) ? (time_t*)0 : &statb.st_mtime);
/ast/src/cmd/nmake/
H A Dstate.c509 badlock(char* file, int view, Time_t date) argument
517 d = state.regress ? 0 : (CURSECS - tmxsec(date));
H A Dbind.c237 addfile(Dir_t* d, char* name, Time_t date) argument
261 if (n->time < date)
262 n->time = date;
270 message((-12, "%s: %s %s%s", d->name, name, timestr(date), d->ignorecase ? " [ignorecase]" : null));
275 f->time = date;
284 addfile(d, name, date);
297 newfile(register Rule_t* r, char* dir, Time_t date) argument
331 addfile(d, s + 1, date);
H A Dscan.c1519 Time_t date; local
1521 if (date = strtol((char*)b + arg[1].begin, NiL, 10))
1522 date = tmxsns(date, 0);
1524 date = tmxdate((char*)b + arg[1].begin, NiL, TMX_NOW);
1525 addfile(state.archive, (char*)b + arg[0].begin, date);
/ast/src/lib/libast/include/
H A Dast.h141 unsigned long date; member in struct:__anon264
H A Dtm.h47 #define TM_PEDANTIC (1<<3) /* pedantic date parse */
48 #define TM_DATESTYLE (1<<4) /* date(1) style mmddHHMMccyy */
131 Tm_zone_t* date; /* timezone from last tmdate() */ member in struct:__anon277
/ast/src/lib/libjcl/
H A Djcl.h132 time_t date; /* system date */ member in struct:Jcldisc_s
133 time_t odate; /* original date */
134 time_t rdate; /* current run date */
235 #define jclinit(d,e) (memset(d,0,sizeof(*(d))),(d)->version=JCL_VERSION,(d)->errorf=(Error_f)(e),(d)->date=(d)->odate=(d)->rdate=time(NiL))
/ast/src/cmd/html/
H A Dtroff2html.h209 time_t date; /* global date */ member in struct:State_s
/ast/src/cmd/jcl/
H A Djcm.c139 char date[5]; member in struct:Jcmevent_s
399 copy(event->date, d, 4);
/ast/src/cmd/coshell/
H A Devent.c84 "\bcron\b(1) expression \adate-expression\a.]:[date-expression]"
89 "specified then only event times > newer and < older match.]:[date]"
91 "specified then only event times > newer and < older match.]:[date]"
609 * convert s to a date/time
613 date(State_t* state, Connection_t* con, const char* s) function
634 log(state, con, 'E', "%s: invalid date/time", s);
723 newer = date(state, con, opt_info.arg);
726 older = date(state, con, opt_info.arg);

Completed in 50 milliseconds