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

1234567

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dstrpftime-test.h45 #define strftime test_strftime macro
49 strftime (char *buf, size_t maxsize, const char *format,
H A Dstrpftime-test.c246 len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm);
248 printf ("length of strftime(\"%s\") = %lu (\"%s\")\n",
255 printf ("result of strftime(\"%s\") = \"%s\" != \"%s\"\n",
272 strftime (buf, sizeof(buf), tests[i].vals[j].format, &tm2);
/freebsd-11-stable/lib/libc/stdtime/
H A DMakefile.inc6 SRCS+= asctime.c difftime.c localtime.c strftime.c strptime.c timelocal.c \
15 MAN+= ctime.3 strftime.3 strptime.3 time2posix.3
22 MLINKS+=strftime.3 strftime_l.3
/freebsd-11-stable/contrib/libstdc++/include/c_std/
H A Dstd_ctime.h62 #undef strftime macro
78 using ::strftime;
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/stat/common/
H A Dtimestamp.c45 len = strftime(dstr, sizeof (dstr), "%+", localtime(&t));
/freebsd-11-stable/contrib/libstdc++/include/c_compatibility/
H A Dtime.h44 #undef strftime macro
58 using std::strftime;
/freebsd-11-stable/usr.sbin/mfiutil/
H A DMakefile9 CFLAGS.gcc+= -fno-builtin-strftime
/freebsd-11-stable/contrib/libarchive/cpio/test/
H A Dtest_option_t.c91 strftime(date2, sizeof(date2)-1, "%b %d %Y", localtime(&mtime));
94 strftime(date2, sizeof(date2)-1, "%b %e %Y", localtime(&mtime));
/freebsd-11-stable/contrib/openbsm/bsm/
H A Dauditd_lib.h48 !strftime((b), (l), "%Y%m%d%H%M%S", gmtime(&(t)) ) ) ? -1 : 0
/freebsd-11-stable/usr.bin/calendar/
H A Dlocale.c82 strftime(buf, sizeof(buf), "%a", &tm);
94 strftime(buf, sizeof(buf), "%A", &tm);
110 strftime(buf, sizeof(buf), "%b", &tm);
122 strftime(buf, sizeof(buf), "%B", &tm);
H A Dday.c67 strftime(dayname, sizeof(dayname) - 1, "%A, %d %B %Y", tp1);
/freebsd-11-stable/usr.bin/finger/
H A Dsprint.c131 (void)strftime(p, sizeof(p), "%a", lc);
133 (void)strftime(p, sizeof(p),
138 (void)strftime(p, sizeof(p), "%Y", lc);
140 (void)strftime(p, sizeof(p), "%R", lc);
H A Dlprint.c177 strftime(t, sizeof(t),
210 strftime(t, sizeof(t),
215 strftime(t, sizeof(t),
233 strftime(t, sizeof(t),
239 strftime(t, sizeof(t),
246 strftime(t, sizeof(t),
/freebsd-11-stable/contrib/bmake/unit-tests/
H A Dvarmisc.mk6 strftime cmpv
48 strftime:
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DChrono.cpp46 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", &LT);
59 // Handle extensions first. strftime mangles unknown %x on some platforms.
89 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), &LT);
/freebsd-11-stable/contrib/libxo/tests/gettext/
H A Dgt_01.c96 strftime(date, sizeof(date), "%+", &tm);
/freebsd-11-stable/contrib/opie/libopie/
H A Dwriterec.c51 if (strftime(buf2, sizeof(buf2), " %b %d,%Y %T", localtime(&now)) < 1)
/freebsd-11-stable/contrib/tzcode/stdtime/
H A Dasctime.c7 ** Avoid the temptation to punt entirely to strftime;
8 ** the output of strftime is supposed to be locale specific
41 ** we call a strftime variant that produces fewer characters for some years.
109 ** Use strftime's %Y to generate the year, to avoid overflow problems
111 ** Assume that strftime is unaffected by other out-of-range members
114 (void) strftime(year, sizeof year, "%Y", timeptr);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dtime.c118 strftime(s, len, include_time ? context->time_fmt : context->date_fmt, tm) == 0)
/freebsd-11-stable/gnu/usr.bin/diff/
H A DMakefile15 strftime.c c-stack.c basename.c exclude.c hard-locale.c \
/freebsd-11-stable/sbin/nandfs/
H A Dlssnap.c66 strftime(timebuf, sizeof(timebuf), "%F %T", &tm);
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_log.c108 strftime(nfmt, sizeof nfmt, "%Y-%m-%d %T ", t);
/freebsd-11-stable/usr.bin/lastcomm/
H A Dlastcomm.c190 (void)strftime(buf, sizeof(buf), format,
202 (void)strftime(buf, sizeof(buf), format,
/freebsd-11-stable/contrib/libreadline/examples/
H A Dhistexamp.c98 strftime (timestr, sizeof (timestr), "%a %R", localtime(&tt));
/freebsd-11-stable/usr.bin/find/
H A Dls.c104 strftime(longstring, sizeof(longstring), format, localtime(&ftime));

Completed in 194 milliseconds

1234567