Home
last modified time | relevance | path

Searched refs:strftime (Results 1 – 25 of 157) sorted by relevance

1234567

/illumos-gate/usr/src/lib/libsqlite/test/
H A Ddate.test100 datetest 3.11.2 {strftime('%W','2004-01-01')} 00
101 datetest 3.11.3 {strftime('%W','2004-01-02')} 00
102 datetest 3.11.4 {strftime('%W','2004-01-03')} 00
103 datetest 3.11.5 {strftime('%W','2004-01-04')} 00
104 datetest 3.11.6 {strftime('%W','2004-01-05')} 01
105 datetest 3.11.7 {strftime('%W','2004-01-06')} 01
106 datetest 3.11.8 {strftime('%W','2004-01-07')} 01
107 datetest 3.11.9 {strftime('%W','2004-01-08')} 01
188 datetest 7.13 {strftime(null,'now')} NULL
189 datetest 7.14 {strftime('%s',null)} NULL
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dstrftime.c27 #define strftime ______strftime macro
32 #undef strftime
41 NoN(strftime)
50 strftime(char* buf, size_t len, const char* format, const struct tm* tm)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c137 #undef strftime
138 #define strftime my_strftime macro
139 static size_t strftime (char *, size_t, const char *, const struct tm *);
227 ret = strftime(buffer, buflen, fmt, &tmbuf); in krb5_timestamp_to_string()
258 if ((ndone = strftime(buffer, buflen, sftime_format_table[i], tmp))) in krb5_timestamp_to_sfstring()
/illumos-gate/usr/src/contrib/mDNSResponder/mDNSPosix/
H A Dposix_utilities.c25 strftime(date_time_str, sizeof(date_time_str), "%F %T", &local_time); in getLocalTimestamp()
26 strftime(time_zone_str, sizeof(time_zone_str), "%z", &local_time); in getLocalTimestamp()
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c176 strftime (tbuf, sizeof (tbuf), "%H:%M:%S", tlocaltime); in logger_emit()
231 strftime (tbuf, sizeof (tbuf), "%H:%M:%S", tlocaltime); in logger_forward_debug()
/illumos-gate/usr/src/cmd/stat/common/
H A Dtimestamp.c50 len = strftime(dstr, sizeof (dstr), fmt, localtime(&t)); in print_timestamp()
/illumos-gate/usr/src/cmd/script/
H A Dscript.c190 strftime(tbuf, BUFSIZ, "%c", localtime(&tvec)); in dooutput()
249 strftime(tbuf, BUFSIZ, "%c", localtime(&tvec)); in done()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcftime.c96 return ((int)strftime(buf, LONG_MAX, format, tm)); in ascftime()
/illumos-gate/usr/src/cmd/stat/arcstat/
H A Darcstat.pl290 $v{"time"} = strftime("%s", localtime);
292 $v{"time"} = strftime("%H:%M:%S", localtime);
/illumos-gate/usr/src/tools/onbld/Checks/
H A DCopyright.py40 return re.search(r'Copyright.*\b%s\b' % time.strftime('%Y'), line)
/illumos-gate/usr/src/head/iso/
H A Dtime_iso.h101 extern size_t strftime(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Deventlog.c198 (void) strftime(timebuf, sizeof (timebuf), "%b %d %H:%M:%S", in ADM_Process_old_event_log()
326 (void) strftime(timebuf, sizeof (timebuf), in ADM_Process_new_event_log()
/illumos-gate/usr/src/cmd/fm/modules/common/ext-event-transport/
H A Dfmevt_inbound_sunos.c68 strftime(buf, sizeof (buf), "%c %Z", &ts) != 0) in pp_sunos_panic()
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_log.c81 if (strftime(buf, buflen, "%b %e %T ", &ltime) == 0) { in drd_timestamp()
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c345 (void) strftime(date_buf, sizeof (date_buf), in main()
843 (void) strftime(timestr, sizeof (timestr), in prtat()
849 (void) strftime(weekdaytime, sizeof (weekdaytime), in prtat()
855 (void) strftime(monthtime, sizeof (monthtime), in prtat()
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_log.c83 if (strftime(buf, buflen, "%b %e %T ", &ltime) == 0) { in ldma_timestamp()
/illumos-gate/usr/src/cmd/w/
H A Dw.c618 (void) strftime(timestr, sizeof (timestr), in prtat()
624 (void) strftime(weekdaytime, sizeof (weekdaytime), in prtat()
630 (void) strftime(monthtime, sizeof (monthtime), in prtat()
/illumos-gate/usr/src/test/util-tests/tests/awk/
H A DREADME17 - GNU-specific functions (like gensub, asort, asorti, and strftime)
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc.c518 if ((ssz = strftime(p, 10 + 1, "%B ", tm)) == 0) in time2a()
536 if (strftime(p, 4 + 1, "%Y", tm) == 0) in time2a()
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcsftime.c101 if (strftime(dst, maxsize, sformat, timeptr) == 0) in __wcsftime_xpg5()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c590 strftime(buff, sizeof (buff), "%d-%h-%y %T.", &my_time); in getxdr_date()
648 strftime(buff, sizeof (buff), "%d-%h-%y %T.", &my_time); in format_time()
685 strftime(buff, sizeof (buff), "%d-%h-%y %T", &my_time); in getxdr_time()
/illumos-gate/usr/src/boot/include/
H A Dtime.h152 size_t strftime(char * __restrict, size_t, const char * __restrict,
/illumos-gate/usr/src/cmd/flowstat/
H A Dflowstat.c777 (void) strftime(timebuf, sizeof (timebuf), "%m/%d/%Y", in show_history_date()
819 (void) strftime(buf, sizeof (buf), "%T", in show_history_time()
839 (void) strftime(buf, sizeof (buf), "%T", localtime(&time)); in show_history_time()
843 (void) strftime(buf, sizeof (buf), "%T", localtime(&time)); in show_history_time()
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlog.c179 (void) strftime(timebuf, sizeof (timebuf), "%b %e %T", in vlog_prefix()
358 (void) strftime(timebuf, sizeof (timebuf), "%b %e %T", in vlog_instance()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dtputcfent.c151 (void) strftime(timeb, sizeof (timeb), in tputcfent()

1234567