Home
last modified time | relevance | path

Searched refs:date (Results 1 – 25 of 234) sorted by relevance

12345678910

/titanic_50/usr/src/cmd/date/
H A Ddate.c181 setdate(struct tm *current_date, char *date) in setdate() argument
196 if ((secptr = strchr(date, '.')) != NULL && strlen(&secptr[1]) == 2 && in setdate()
201 len = strlen(date); in setdate()
204 if (!isdigit(date[i])) { in setdate()
210 switch (strlen(date)) { in setdate()
212 yy = atoi(&date[8]); in setdate()
213 date[8] = '\0'; in setdate()
221 if (atoi(&date[8]) <= 68) { in setdate()
222 yy = 1900 + (atoi(&date[8]) + 100); in setdate()
224 yy = 1900 + atoi(&date[8]); in setdate()
[all …]
H A DMakefile27 PROG= date
28 XPG4PROG= date
29 OBJS= date.o
/titanic_50/usr/src/lib/libsqlite/test/
H A Ddate.test15 # 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('2003-10-22','weekday 6')} 2003-10-25
[all …]
/titanic_50/usr/src/tools/scripts/
H A Dhgstyle1 …e|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\ndescription:\n…
3 …e|short}\n{branches}{tags}{parents}user: {author}\ndate: {date|date}\n\ndescription:…
4 …s}{tags}{parents}{manifest}{extras}user: {author}\ndate: {date|date}\ndescription:\n…
/titanic_50/usr/src/cmd/acct/
H A Drunacct.sh48 date > ${_nite}/lock1
53 (date ; echo "$_lnkerr" ) | logger -p daemon.err
85 (date; echo "${_errormsg}") | logger -p daemon.err
118 (date; echo "${_errormsg}") | logger -p daemon.err
138 (date ; ls -l fee pacct* ${_wtmpx}* ) >> ${_active}
144 (date ; echo "${_errormsg}" ) | logger -p daemon.err
162 (date ; echo "${_errormsg}" ) | logger -p daemon.err
176 (date ; echo "${_errormsg}" ) | logger -p daemon.err
200 (date ; echo "${_errormsg}") | mailx root adm
226 (date ; cat ${_nite}/log) | mailx adm root
[all …]
H A Dprdaily.sh47 date=`date +%m%d`
54 if [ `expr "$1" : [01][0-9][0-3][0-9]` -eq 4 -a "$1" != "$date" ]; then
75 acctmerg -a < ${_sum}/tacct${date} | awk -f ${_lib}/ptelus.awk
/titanic_50/usr/src/cmd/ast/msgcc/
H A Dmsggen.c124 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_50/usr/src/cmd/sendmail/cf/sh/
H A Dmakeinfo.sh90 echo '#####' built on `date`
93 echo '#####' built by $user@$host on `date`
95 echo '#####' built automatically @$host on `date`
/titanic_50/usr/src/cmd/valtools/
H A Dckdate.c122 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_50/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c115 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 == (time_t)(-1)) {
[all …]
/titanic_50/usr/src/cmd/sgs/packages/common/
H A Dreadme_revision61 use vars qw($debug $last_cr $wsname $date);
136 $date = `date +%m/%d/%y`;
138 print "1.$cnt:$wsname-$ENV{USER}-$last_cr-$date\n";
/titanic_50/usr/src/cmd/lp/cmd/lpsched/
H A Drstatus.c171 if (prs1->secure->date > prs2->secure->date) in later()
174 else if (prs1->secure->date < prs2->secure->date) in later()
/titanic_50/usr/src/cmd/pools/poold/com/sun/solaris/service/logging/
H A DSysloglikeFormatter.java52 private Date date = new Date(); field in SysloglikeFormatter
68 private Object args[] = { date };
123 date.setTime(record.getMillis()); in format()
127 sb.append(dateFormatter.format(date)); in format()
/titanic_50/usr/src/lib/libshell/common/tests/
H A Dshtests95 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 Dpath.sh121 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_50/usr/src/lib/libcmd/common/
H A DRELEASE11 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_50/usr/src/cmd/touch/
H A Dtouch.c270 char date[64]; in parse_datetime() local
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_50/usr/src/lib/libslp/javalib/com/sun/slp/
H A DStderrLog.java62 String date = SLPConfig.getDateString(); in flush() local
65 date + "\n" + in flush()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dint-proto.h57 #define in_clock_skew(date, now) (labs((date)-(now)) < context->clockskew) argument
/titanic_50/usr/src/lib/libpp/common/
H A Dppcontext.c53 if (op->date) free(op->date); in ppcontext()
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_msg.h166 sip_date_t date; member
214 #define date_t hdr_value.date.t
215 #define date_d hdr_value.date.d
216 #define date_m hdr_value.date.m
217 #define date_y hdr_value.date.y
218 #define date_tz hdr_value.date.tz
219 #define date_wd hdr_value.date.wd
/titanic_50/usr/src/cmd/lp/lib/secure/
H A Dsecure.c105 secp->date = (time_t)atol(buf); in getsecure()
132 || secp->date <= 0 in getsecure()
199 (void)fdprintf(fd, "%ld\n", secbufp->date); in putsecure()
/titanic_50/usr/src/cmd/krb5/kadmin/cli/
H A Dkadmin.c947 time_t date; local
996 date = get_date(argv[i]);
997 if (date == (time_t)-1) {
1005 oprinc->princ_expire_time = date;
1015 date = get_date(argv[i]);
1016 if (date == (time_t)-1) {
1024 oprinc->pw_expiration = date;
1034 date = get_date(argv[i]);
1035 if (date == (time_t)-1) {
1043 oprinc->max_life = date - now;
[all …]
/titanic_50/usr/src/cmd/cron/
H A Datt1.y71 : time ampm timezone date incr {
81 | time ampm timezone date incr UNKNOWN {
150 date
/titanic_50/usr/src/uts/common/io/drm/
H A Ddrm_ioctl.c378 version.date = (char *)(uintptr_t)version32.date; in drm_version()
400 DRM_COPY(version.date, dev->driver->driver_date); in drm_version()
413 version32.date = (caddr32_t)(uintptr_t)version.date; in drm_version()

12345678910