Searched refs:strftime (Results 1 - 25 of 143) sorted by relevance

123456

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dnl_cxtime.c50 return (strftime (_tbuf, TBUFSIZE, fmt ? fmt : "%H:%M:%S", tmptr) ?
H A Dstrftime.c61 strftime(buf, maxsize, format, tm) 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,
/illumos-gate/usr/src/cmd/stat/common/
H A Dtimestamp.c50 len = strftime(dstr, sizeof (dstr), fmt, localtime(&t));
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dstrftime.c24 * strftime implementation
27 #define strftime ______strftime macro
32 #undef strftime macro
41 NoN(strftime)
50 strftime(char* buf, size_t len, const char* format, const struct tm* tm)
59 * nl_langinfo() may call strftime() with bogus tm except for
/illumos-gate/usr/src/lib/libbc/inc/5include/
H A Dtime.h75 extern size_t strftime(/* char *s, size_t maxsize, const char *format,
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dcftime.c96 return ((int)strftime(buf, LONG_MAX, format, tm));
/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/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dstr_conv.c138 #undef strftime macro
139 #define strftime my_strftime
140 static size_t strftime (char *, size_t, const char *, const struct tm *);
228 ret = strftime(buffer, buflen, fmt, &tmbuf);
259 if ((ndone = strftime(buffer, buflen, sftime_format_table[i], tmp)))
384 #include "strftime.c"
137 #undef strftime macro
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c176 strftime (tbuf, sizeof (tbuf), "%H:%M:%S", tlocaltime);
231 strftime (tbuf, sizeof (tbuf), "%H:%M:%S", tlocaltime);
/illumos-gate/usr/src/cmd/drd/
H A Ddrd_log.c83 if (strftime(buf, buflen, "%b %e %T ", &ltime) == 0) {
84 (void) fprintf(stderr, "strftime failed: buffer[%d] too "
/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)
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcsftime.c41 * This is the wide-character counterpart of strftime(). So that we do not
42 * have to duplicate the code of strftime(), we convert the format string to
43 * multibyte, call strftime(), then convert the result back into wide
76 * for strftime(), which only handles single-byte characters.
90 * into the caller's buffer and call strftime() to fill it.
101 if (strftime(dst, maxsize, sformat, timeptr) == 0)
/illumos-gate/usr/src/cmd/ldmad/
H A Dldma_log.c83 if (strftime(buf, buflen, "%b %e %T ", &ltime) == 0) {
84 (void) fprintf(stderr, "strftime failed: buffer[%d] too "
/illumos-gate/usr/src/cmd/stat/arcstat/
H A Darcstat.pl53 use POSIX qw(strftime);
290 $v{"time"} = strftime("%s", localtime);
292 $v{"time"} = strftime("%H:%M:%S", localtime);
/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/scadm/sparc/mpxu/common/
H A Deventlog.c200 (void) strftime(timebuf, sizeof (timebuf), "%b %d %H:%M:%S",
328 (void) strftime(timebuf, sizeof (timebuf),
/illumos-gate/usr/src/cmd/script/
H A Dscript.c190 strftime(tbuf, BUFSIZ, "%c", localtime(&tvec));
249 strftime(tbuf, BUFSIZ, "%c", localtime(&tvec));
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcpagent_util.c218 if (strftime(time_buf, sizeof (time_buf), "%m/%d/%Y %R",
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A Dhelp2man27 use POSIX qw(strftime setlocale LC_TIME);
160 # Turn off localisation of date (for strftime).
169 my $date = strftime "%B %Y", localtime;
/illumos-gate/usr/src/common/ficl/softcore/
H A Dmakesoftcore.c90 strftime(cleverTime, sizeof (cleverTime),
/illumos-gate/usr/src/head/
H A Dtime.h67 using std::strftime;
/illumos-gate/usr/src/lib/libpkg/common/
H A Dtputcfent.c151 (void) strftime(timeb, sizeof (timeb),
/illumos-gate/usr/src/cmd/whodo/
H A Dwhodo.c293 (void) strftime(date_buf, sizeof (date_buf),
777 (void) strftime(timestr, sizeof (timestr),
783 (void) strftime(weekdaytime, sizeof (weekdaytime),
789 (void) strftime(monthtime, sizeof (monthtime),
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_display.c577 /* between gmtime and strftime */
590 strftime(buff, sizeof (buff), "%d-%h-%y %T.", &my_time);
631 /* between gmtime and strftime */
648 strftime(buff, sizeof (buff), "%d-%h-%y %T.", &my_time);
673 /* between gmtime and strftime */
685 strftime(buff, sizeof (buff), "%d-%h-%y %T", &my_time);

Completed in 271 milliseconds

123456