/titanic_51/usr/src/cmd/date/ |
H A D | date.c | 46 * date - with format capabilities and international flair 106 gettext("date: invalid argument -- %s\n"), in main() 136 perror(gettext("date: Failed to obtain system time")); in main() 143 perror(gettext("date: Failed to adjust date")); in main() 181 setdate(struct tm *current_date, char *date) in setdate() argument 195 /* Parse date string */ in setdate() 196 if ((secptr = strchr(date, '.')) != NULL && strlen(&secptr[1]) == 2 && in setdate() 201 len = strlen(date); in setdate() 204 if (!isdigit(date[ in setdate() [all...] |
H A D | Makefile | 27 PROG= date 28 XPG4PROG= date 29 OBJS= date.o 55 # do not lint date.xpg4
|
/titanic_51/usr/src/lib/libsqlite/test/ |
H A D | date.test | 15 # focus of this file is testing date and time functions. 17 # $Id: date.test,v 1.7.2.1 2004/07/18 22:25:16 drh Exp $ 23 do_test date-$tnum [subst { 56 datetest 2.3 {date('2003-10-22','weekday 0')} 2003-10-26 57 datetest 2.4 {date('2003-10-22','weekday 1')} 2003-10-27 58 datetest 2.5 {date('2003-10-22','weekday 2')} 2003-10-28 59 datetest 2.6 {date('2003-10-22','weekday 3')} 2003-10-22 60 datetest 2.7 {date('2003-10-22','weekday 4')} 2003-10-23 61 datetest 2.8 {date('2003-10-22','weekday 5')} 2003-10-24 62 datetest 2.9 {date('200 [all...] |
/titanic_51/usr/src/cmd/acct/ |
H A D | runacct.sh | 42 _date="`date +%m%d`" 48 date > ${_nite}/lock1 53 (date ; echo "$_lnkerr" ) | logger -p daemon.err 85 (date; echo "${_errormsg}") | logger -p daemon.err 87 echo "ERROR: acctg already run for `date`: check ${_lastdate}" >> ${_active} 96 echo "\n\n\n\n\n********** SYSTEM ACCOUNTING STARTED `date` **********\n\n\n\n\n" | logger -p daemon.notice 101 # "runacct MMDD (date) will restart at current state" 105 echo "\n\n\n\n\n********** SYSTEM ACCOUNTING RESTARTED `date` **********\n\n\n\n\n" | logger -p daemon.notice 115 echo "\n\n\n\n\n********** SYSTEM ACCOUNTING RESTARTED `date` **********\n\n\n\n\n" | logger -p daemon.notice 118 (date; ech [all...] |
H A D | prdaily.sh | 34 # "if given a date mmdd, will print that report" 47 date=`date +%m%d` 54 if [ `expr "$1" : [01][0-9][0-3][0-9]` -eq 4 -a "$1" != "$date" ]; then 57 echo "Cannot print command exception reports except for `date '+%h %d'`" >&2 75 acctmerg -a < ${_sum}/tacct${date} | awk -f ${_lib}/ptelus.awk
|
/titanic_51/usr/src/cmd/ast/msgcc/ |
H A D | msggen.c | 124 char* date; member 158 if (strcoll(px->date, d) < 0) in translation() 160 free(px->date); in translation() 161 if (!(px->date = strdup(d))) in translation() 168 if (!(px = newof(0, Xl_t, 1, strlen(s))) || !(px->date = strdup(d))) in translation() 494 if (px->date && (!bp || strcoll(bp->date, px->date) < 0)) in main() 498 sfprintf(tp, "%s%s %s", t, bp->name, bp->date); in main() 500 bp->date = 0; in main()
|
/titanic_51/usr/src/contrib/ast/src/cmd/msgcc/ |
H A D | msggen.c | 89 " the newest date for a given \aidentification\a" 124 char* date; member 158 if (strcoll(px->date, d) < 0) in translation() 160 free(px->date); in translation() 161 if (!(px->date = strdup(d))) in translation() 168 if (!(px = newof(0, Xl_t, 1, strlen(s))) || !(px->date = strdup(d))) in translation() 494 if (px->date && (!bp || strcoll(bp->date, px->date) < 0)) in main() 498 sfprintf(tp, "%s%s %s", t, bp->name, bp->date); in main() [all...] |
/titanic_51/usr/src/cmd/sendmail/cf/sh/ |
H A D | makeinfo.sh | 90 echo '#####' built on `date` 93 echo '#####' built by $user@$host on `date` 95 echo '#####' built automatically @$host on `date`
|
/titanic_51/usr/src/cmd/valtools/ |
H A D | ckdate.c | 60 "\t%%D #date as %%m/%%d/%%y or %%m-%%d-%%y (default)\n" \ 122 char *date; in main() local 234 date = (char *)malloc(len); in main() 235 if (!date) { in main() 240 n = ckdate(date, fmt, deflt, error, help, prompt); in main() 246 (void) printf("%s", date); in main()
|
/titanic_51/usr/src/cmd/krb5/ldap_util/ |
H A D | kdb5_ldap_policy.c | 115 time_t date = 0; local 140 date = get_date(argv[i]); 141 if (date == (time_t)(-1)) { 147 policyparams->maxtktlife = date - now; 154 date = get_date(argv[i]); 155 if (date == (time_t)(-1)) { 161 policyparams->maxrenewlife = date - now; 451 time_t date = 0; local 521 date = get_date(argv[i]); 522 if (date [all...] |
/titanic_51/usr/src/cmd/sgs/packages/common/ |
H A D | readme_revision | 53 # - date, 61 use vars qw($debug $last_cr $wsname $date); 103 # At the date this script was put into service, the SCCS revision 136 $date = `date +%m/%d/%y`; 138 print "1.$cnt:$wsname-$ENV{USER}-$last_cr-$date\n";
|
/titanic_51/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/ |
H A D | SysloglikeFormatter.java | 50 * The date set for each published Record. 52 private Date date = new Date(); field in SysloglikeFormatter 66 * For published dates, the argument to date formatter. 68 private Object args[] = { date }; 123 date.setTime(record.getMillis()); in format() 127 sb.append(dateFormatter.format(date)); in format()
|
/titanic_51/usr/src/cmd/lp/cmd/lpsched/ |
H A D | rstatus.c | 134 * will be the request with the LATER date. In case of a tie, in rsort() 153 * the same priority, the first is the one with the EARLIER date. in rsort() 171 if (prs1->secure->date > prs2->secure->date) in later() 174 else if (prs1->secure->date < prs2->secure->date) in later()
|
/titanic_51/usr/src/lib/libshell/common/tests/ |
H A D | shtests | 95 then echo test $i begins ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} 100 then echo test $i passed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} "[ $t $T 0 ${E}s ]" 109 echo test $i failed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T $e $E ]" 128 echo test $o begins ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} 135 then echo test $o passed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} "[ $t $T 0 ${E}s ]" 144 echo test $o failed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T $e $E ]" 152 …echo test $o failed to compile ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T…
|
H A D | path.sh | 121 var=$(whence date) 129 print 'print hello' > date 130 chmod +x 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
|
/titanic_51/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | release.c | 39 "[+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] [ in usage() 135 date(char* s, char** e) date() function [all...] |
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/tests/ |
H A D | subshell.sh | 237 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 D | path.sh | 121 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
|
/titanic_51/usr/src/lib/libcmd/common/ |
H A D | RELEASE | 11 09-11-30 cat.c,date.c,cksum.c: drop setlocale() call already done by optget() 46 08-12-07 date.c: add %[_][EO]K for [space pad] [full|long] iso docs 82 07-03-28 date.c: add --unelapsed=scale, -U: fmtelapsed() => strelapsed() 106 06-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict 118 06-09-08 date.c: add output write error diagnostic 130 06-05-03 date.c: add --last -L to list last of multiple time args 140 05-03-07 date.c: add --listzones to list the time zone table 144 04-12-08 date.c: add high resolution time support 160 04-09-14 date.c: add %| and %& --parse docs 163 04-07-22 date.c,uname.c: access() => eaccess() [all …]
|
/titanic_51/usr/src/cmd/touch/ |
H A D | touch.c | 270 char date[64]; in parse_datetime() local 285 * The date string has the format (defined by the touch(1) spec): in parse_datetime() 294 * Make a copy of the date string so it can be tokenized. in parse_datetime() 296 if (strlcpy(date, t, sizeof (date)) >= sizeof (date)) in parse_datetime() 300 p = date + strlen(date) - 1; in parse_datetime() 307 p = date; in parse_datetime()
|
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | RELEASE | 15 11-01-27 date: add { -R, --rfc-2822, -T, --rfc-3339=type } 47 09-11-30 cat.c,date.c,cksum.c: drop setlocale() call already done by optget() 82 08-12-07 date.c: add %[_][EO]K for [space pad] [full|long] iso docs 118 07-03-28 date.c: add --unelapsed=scale, -U: fmtelapsed() => strelapsed() 142 06-10-29 date.c: "...%H%..." => "...%H" "%..." to avoid SCCS conflict 154 06-09-08 date.c: add output write error diagnostic 166 06-05-03 date.c: add --last -L to list last of multiple time args 176 05-03-07 date.c: add --listzones to list the time zone table 180 04-12-08 date.c: add high resolution time support 196 04-09-14 date [all...] |
/titanic_51/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | StderrLog.java | 62 String date = SLPConfig.getDateString(); in flush() local 65 date + "\n" + in flush()
|
/titanic_51/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | int-proto.h | 57 #define in_clock_skew(date, now) (labs((date)-(now)) < context->clockskew) argument
|
/titanic_51/usr/src/lib/libpp/common/ |
H A D | ppcontext.c | 53 if (op->date) free(op->date); in ppcontext()
|
/titanic_51/usr/src/contrib/ast/src/lib/libpp/ |
H A D | ppcontext.c | 53 if (op->date) free(op->date); in ppcontext()
|