Home
last modified time | relevance | path

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

12345678910

/illumos-gate/usr/src/cmd/date/
H A Ddate.c239 len = strlen(date); in setdate()
242 if (!isdigit(date[i])) { in setdate()
248 switch (strlen(date)) { in setdate()
250 yy = atoi(&date[8]); in setdate()
251 date[8] = '\0'; in setdate()
264 date[8] = '\0'; in setdate()
281 date[minidx] = '\0'; in setdate()
283 date[minidx-2] = '\0'; in setdate()
290 dd = atoi(&date[2]); in setdate()
291 date[2] = '\0'; in setdate()
[all …]
H A DMakefile27 PROG= date
28 XPG4PROG= date
29 OBJS= date.o
/illumos-gate/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
63 datetest 2.10 {date('2003-10-22','weekday 7')} NULL
64 datetest 2.11 {date('2003-10-22','weekday 5.5')} NULL
132 datetest 4.1 {date('now')} $now
184 datetest 7.7 {date(null)} NULL
185 datetest 7.8 {date('now',null)} NULL
186 datetest 7.9 {date('now','localtime',null)} NULL
[all …]
/illumos-gate/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
/illumos-gate/usr/src/contrib/ast/src/cmd/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()
/illumos-gate/usr/src/cmd/smbsrv/test-msgbuf/
H A Dtest_misc.c122 smb_time_dos_to_unix(int16_t date, int16_t time) in smb_time_dos_to_unix() argument
126 if (((date == 0) || (time == 0)) || in smb_time_dos_to_unix()
127 ((date == -1) || (time == -1))) { in smb_time_dos_to_unix()
131 atm.tm_year = ((date >> 9) & 0x3F) + 80; in smb_time_dos_to_unix()
132 atm.tm_mon = ((date >> 5) & 0x0F) - 1; in smb_time_dos_to_unix()
133 atm.tm_mday = ((date >> 0) & 0x1F); in smb_time_dos_to_unix()
/illumos-gate/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)) {
451 time_t date = 0; local
521 date = get_date(argv[i]);
522 if (date == (time_t)(-1)) {
535 date = get_date(argv[i]);
[all …]
/illumos-gate/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()
/illumos-gate/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`
/illumos-gate/usr/src/cmd/sgs/tools/
H A Dreadme_revision58 use vars qw($debug $last_cr $wsname $date);
132 $date = `date +%m/%d/%y`;
134 print "1.$cnt:$wsname-$ENV{USER}-$last_cr-$date\n";
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/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) SUCCESS"
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
H A Dshtests39 [t!:time?Include the current date/time in the test identification
328 echo test $o begins ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"}
337 then echo test $o passed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} "[ $t $T 0 ${E}s ]"
342 echo test $o failed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T $e $E ]"
349 echo test $o begins ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"}
353 then echo test $o passed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} "[ $t $T 0 ${E}s ]"
358 echo test $o failed ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T $e $E ]"
363 …echo test $o failed to compile ${time:+"at $(date +%Y-%m-%d+%H:%M:%S)"} with exit code $e "[ $t $T…
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/
H A Drelease.c135 date(char* s, char** e) in date() function
218 if (!(lo = date(opt_info.arg, &e)) || *e) in main()
228 if (!(hi = date(opt_info.arg, &e)) || *e) in main()
275 if (!(t = date(v, &e)) || *e) in main()
332 if (t = date(s, &e)) in main()
/illumos-gate/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()
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A DRELEASE154 06-09-08 date.c: add output write error diagnostic
180 04-12-08 date.c: add high resolution time support
196 04-09-14 date.c: add %| and %& --parse docs
199 04-07-22 date.c,uname.c: access() => eaccess()
225 03-03-21 date.c: add %Q/recent/distant/ docs
226 03-02-19 date.c: fix %+|!flag docs
228 02-10-02 date.c: tmform() => tmfmt()
233 02-04-05 date.c: add %u
235 01-12-14 date.c: clarify %z doc
244 01-05-31 date: fix /bin/date fallback logic
[all …]
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DStderrLog.java62 String date = SLPConfig.getDateString(); in flush() local
65 date + "\n" + in flush()
/illumos-gate/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
/illumos-gate/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
/illumos-gate/usr/src/contrib/ast/src/lib/libpp/
H A Dppcontext.c53 if (op->date) free(op->date); in ppcontext()
/illumos-gate/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) {
1015 date = get_date(argv[i]);
1034 date = get_date(argv[i]);
1053 date = get_date(argv[i]);
1696 time_t date; local
1706 date = get_date(argv[i]);
1707 if (date == (time_t)-1) {
1721 date = get_date(argv[i]);
[all …]
/illumos-gate/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()

12345678910