Home
last modified time | relevance | path

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

1234567

/titanic_50/usr/src/lib/libsqlite/test/
H A Ddate.test91 datetest 3.1 {strftime('%d','2003-10-31 12:34:56.432')} 31
92 datetest 3.2 {strftime('%f','2003-10-31 12:34:56.432')} 56.432
93 datetest 3.3 {strftime('%H','2003-10-31 12:34:56.432')} 12
94 datetest 3.4 {strftime('%j','2003-10-31 12:34:56.432')} 304
95 datetest 3.5 {strftime('%J','2003-10-31 12:34:56.432')} 2452944.024264259
96 datetest 3.6 {strftime('%m','2003-10-31 12:34:56.432')} 10
97 datetest 3.7 {strftime('%M','2003-10-31 12:34:56.432')} 34
98 datetest 3.8 {strftime('%s','2003-10-31 12:34:56.432')} 1067603696
99 datetest 3.9 {strftime('%S','2003-10-31 12:34:56.432')} 56
100 datetest 3.10 {strftime('%w','2003-10-31 12:34:56.432')} 5
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dstrftime.c61 strftime(buf, maxsize, format, tm) in strftime() function
124 i = strftime(cp, maxsize - size, "%x %X", tm);
132 i = strftime(cp, maxsize - size,
147 i = strftime(cp, maxsize - size, "%m/%d/%y",
240 i = strftime(cp, maxsize - size, "%I:%M:%S %p",
249 i = strftime(cp, maxsize - size, "%H:%M", tm);
269 i = strftime(cp, maxsize - size, "%H:%M:%S",
318 i = strftime(cp, maxsize - size,
327 i = strftime(cp, maxsize - size,
H A Dnl_cxtime.c50 return (strftime (_tbuf, TBUFSIZE, fmt ? fmt : "%H:%M:%S", tmptr) ?
/titanic_50/usr/src/lib/libast/common/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)
/titanic_50/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()
/titanic_50/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()
/titanic_50/usr/src/cmd/stat/common/
H A Dtimestamp.c50 len = strftime(dstr, sizeof (dstr), fmt, localtime(&t)); in print_timestamp()
/titanic_50/usr/src/lib/libc/port/gen/
H A Dcftime.c96 return ((int)strftime(buf, LONG_MAX, format, tm)); in ascftime()
/titanic_50/usr/src/lib/libbc/inc/5include/
H A Dtime.h75 extern size_t strftime(/* char *s, size_t maxsize, const char *format,
/titanic_50/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()
/titanic_50/usr/src/tools/onbld/Checks/
H A DCopyright.py40 return re.search(r'Copyright.*\b%s\b' % time.strftime('%Y'), line)
/titanic_50/usr/src/head/iso/
H A Dtime_iso.h101 extern size_t strftime(char *_RESTRICT_KYWD, size_t, const char *_RESTRICT_KYWD,
/titanic_50/usr/src/cmd/stat/arcstat/
H A Darcstat.pl287 $v{"time"} = strftime("%s", localtime);
289 $v{"time"} = strftime("%H:%M:%S", localtime);
/titanic_50/usr/src/cmd/ssh/libssh/common/
H A Dsftp-common.c215 sz = strftime(tbuf, sizeof tbuf, "%b %e %H:%M", ltime); in ls_file()
217 sz = strftime(tbuf, sizeof tbuf, "%b %e %Y", ltime); in ls_file()
/titanic_50/usr/src/cmd/scadm/sparc/mpxu/common/
H A Deventlog.c200 (void) strftime(timebuf, sizeof (timebuf), "%b %d %H:%M:%S", in ADM_Process_old_event_log()
328 (void) strftime(timebuf, sizeof (timebuf), in ADM_Process_new_event_log()
/titanic_50/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()
/titanic_50/usr/src/cmd/whodo/
H A Dwhodo.c293 (void) strftime(date_buf, sizeof (date_buf), in main()
777 (void) strftime(timestr, sizeof (timestr), in prtat()
783 (void) strftime(weekdaytime, sizeof (weekdaytime), in prtat()
789 (void) strftime(monthtime, sizeof (monthtime), in prtat()
/titanic_50/usr/src/cmd/drd/
H A Ddrd_log.c83 if (strftime(buf, buflen, "%b %e %T ", &ltime) == 0) { in drd_timestamp()
/titanic_50/usr/src/cmd/mandoc/
H A Dmandoc.c504 if (0 == (ssz = strftime(p, 10 + 1, "%B ", tm))) in time2a()
512 if (0 == strftime(p, 4 + 1, "%Y", tm)) in time2a()
/titanic_50/usr/src/cmd/ldmad/
H A Dldma_log.c83 if (strftime(buf, buflen, "%b %e %T ", &ltime) == 0) { in ldma_timestamp()
/titanic_50/usr/src/lib/libc/port/locale/
H A Dwcsftime.c101 if (strftime(dst, maxsize, sformat, timeptr) == 0) in __wcsftime_xpg5()
/titanic_50/usr/src/cmd/w/
H A Dw.c686 (void) strftime(timestr, sizeof (timestr), in prtat()
692 (void) strftime(weekdaytime, sizeof (weekdaytime), in prtat()
698 (void) strftime(monthtime, sizeof (monthtime), in prtat()
/titanic_50/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()
/titanic_50/usr/src/cmd/flowstat/
H A Dflowstat.c766 (void) strftime(timebuf, sizeof (timebuf), "%m/%d/%Y", in show_history_date()
808 (void) strftime(buf, sizeof (buf), "%T", in show_history_time()
828 (void) strftime(buf, sizeof (buf), "%T", localtime(&time)); in show_history_time()
832 (void) strftime(buf, sizeof (buf), "%T", localtime(&time)); in show_history_time()
/titanic_50/usr/src/lib/libpkg/common/
H A Dtputcfent.c151 (void) strftime(timeb, sizeof (timeb), in tputcfent()

1234567