Searched refs:date (Results 1 - 25 of 44) sorted by relevance

12

/ast/src/lib/libpp/
H A Dppcontext.c53 if (op->date) free(op->date);
H A Dppbuiltin.c192 if (!(p = pp.date))
200 pp.date = p = strdup(a);
/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/proto/
H A Dchanges.sh31 files that changed between \afrom-date\a between \ato-date\a. The
32 default \afrom-date\a is the modify time of \b$PACKAGEROOT/README\b.
33 The default \ato-date\a is \bnow\b. The changed files are listed by
39 [ from-date [ to-date ] ] [ -- ls-option ... ]
84 then print -u2 $command: a date must be specified
87 from=$(date -f %K -m README)
/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/jcl/
H A Djcl.c108 "[O:odate?Set the control-M original date to \adate\a.]:[date:=now]"
109 "[R:rdate?Set the control-M current run date to \adate\a.]:[date:=now]"
110 "[S:date?Set the control-M system date to \adate\a.]:[date:=now]"
218 date:
222 error(2, "%s: %s: invalid date", opt_info.name, opt_info.arg);
234 goto date;
[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/ksh93/tests/
H A Dsubshell.sh237 date=$(whence -p date)
240 x=$( $date > /dev/null 2>&1 ;:)
504 x=$( { time $SHELL -c date >| /dev/null;} 2>&1)
511 date=$(whence -p date)
514 : $( $date)
553 date=$(whence -p date)
559 print -u2 -- "$($date) SUCCES
[all...]
H A Dpath.sh121 var=$(whence date)
129 print 'print hello' > date
130 chmod +x date
137 # print path=$PATH $(whence date)
139 date
142 builtin -d date 2> /dev/null
143 if [[ $(PATH=:/usr/bin; date) != 'hello' ]]
165 for cmd in date foo
189 for cmd in date foo
H A Doptions.sh407 pipe() { date | cat > /dev/null ;}
519 date | wc > /dev/null
533 do if { date | true;} ; true
H A Dbasic.sh91 date > dat1 || err_exit "date > dat1 failed"
97 $(date)
/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...]
/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/warp/
H A Dwarp.sh42 \afactor\a is 1 by default. Command argument date specifications
51 [b:base?Set the base or starting date to \adate\a. Useful for repeating
52 a set of tests.]:[date:=date]
99 date [ command [ arg ... ] ]
111 [+$ date -f %K?1998-03-11+13:41]
112 [+$ warp 2000-02-29+12::30::30 date -f %K?2000-02-29+12:30]
113 [+$ warp "2 years" date -f %K?2000-01-01+00:00]
123 USAGE='b:[base]f:[factor]nt date [ command [ arg ... ] ]'
164 (( now = $(LD_LIBRARY_PATH=$root/lib:$LD_LIBRARY_PATH $root/bin/date
[all...]
/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))
H A Dlib.c117 t = jcl->disc->date;
/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 DMakefile89 :TEST: asa cat chmod chown cksum cmp cp cut date expr fmt head join ln \
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/lib/libast/include/
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
H A Dast.h141 unsigned long date; member in struct:__anon264
/ast/src/lib/libcmd/
H A DMakefile23 comm.c cp.c cut.c dirname.c date.c expr.c fds.c fmt.c fold.c \
/ast/src/cmd/html/
H A Dtroff2html.h209 time_t date; /* global date */ member in struct:State_s
/ast/src/cmd/nmake/
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);

Completed in 50 milliseconds

12