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

1234567

/freebsd-current/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-current/contrib/llvm-project/libcxx/modules/std.compat/
H A Dctime.inc25 using ::strftime;
/freebsd-current/cddl/contrib/opensolaris/cmd/stat/common/
H A Dtimestamp.c45 len = strftime(dstr, sizeof (dstr), "%+", localtime(&t));
/freebsd-current/lib/libc/stdtime/
H A DMakefile.inc6 STDTIME_SRCS= strftime.c strptime.c timelocal.c
23 MAN+= ctime.3 strftime.3 strptime.3 time2posix.3 tzset.3
30 MLINKS+=strftime.3 strftime_l.3
/freebsd-current/crypto/openssh/regress/
H A Dtimestamp.c42 if (strftime(buf, sizeof buf, "%Y%m%dT%H%M%S", tm) <= 0)
/freebsd-current/sys/contrib/openzfs/lib/libspl/
H A Dtimestamp.c60 len = strftime(dstr, sizeof (dstr), fmt, localtime_r(&t, &tm));
/freebsd-current/usr.sbin/mfiutil/
H A DMakefile10 CFLAGS.gcc+= -fno-builtin-strftime
/freebsd-current/usr.bin/finger/
H A Dsprint.c124 (void)strftime(p, sizeof(p), "%a", lc);
126 (void)strftime(p, sizeof(p),
131 (void)strftime(p, sizeof(p), "%Y", lc);
133 (void)strftime(p, sizeof(p), "%R", lc);
H A Dlprint.c170 strftime(t, sizeof(t),
203 strftime(t, sizeof(t),
208 strftime(t, sizeof(t),
226 strftime(t, sizeof(t),
232 strftime(t, sizeof(t),
239 strftime(t, sizeof(t),
/freebsd-current/contrib/llvm-project/libcxx/modules/std/
H A Dctime.inc25 using std::strftime;
/freebsd-current/contrib/libarchive/cpio/test/
H A Dtest_option_t.c101 strftime(date2, sizeof(date2)-1, "%b %d %Y", tmptr);
104 strftime(date2, sizeof(date2)-1, "%b %e %Y", tmptr);
/freebsd-current/contrib/openbsm/bsm/
H A Dauditd_lib.h48 !strftime((b), (l), "%Y%m%d%H%M%S", gmtime(&(t)) ) ) ? -1 : 0
/freebsd-current/contrib/libcbor/misc/
H A Dupdate_version.py14 release_date = date.today().strftime('%Y-%m-%d')
/freebsd-current/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.c66 strftime(dayname, sizeof(dayname) - 1, "%A, %d %B %Y", tp1);
/freebsd-current/contrib/kyua/utils/
H A Ddatetime_test.cpp273 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y"));
274 ATF_REQUIRE_EQ("2011", ts2.strftime("%Y"));
275 ATF_REQUIRE_EQ("2012", ts3.strftime("%Y"));
277 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y"));
286 ATF_REQUIRE_EQ("2012-02-09 23:15:51", ts.strftime("%Y-%m-%d %H:%M:%S"));
297 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S"));
302 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S"));
304 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S"));
322 ATF_REQUIRE(::strftime(buf, sizeof(buf), "%Y-%m-%d", &data) != 0);
323 ATF_REQUIRE_EQ(buf, now.strftime("
[all...]
H A Ddatetime.hpp109 std::string strftime(const std::string&) const;
/freebsd-current/contrib/libxo/tests/gettext/
H A Dgt_01.c97 strftime(date, sizeof(date), "%+", &tm);
/freebsd-current/crypto/heimdal/lib/krb5/
H A Dtime.c118 strftime(s, len, include_time ? context->time_fmt : context->date_fmt, tm) == 0)
/freebsd-current/tools/test/stress2/testcases/run/
H A Drun.c91 (void) strftime(ct, sizeof(ct), "%T", tm);
/freebsd-current/contrib/tzcode/
H A Dasctime.c9 ** Avoid the temptation to punt entirely to strftime;
10 ** the output of strftime is supposed to be locale specific
29 ** we call a strftime variant that produces fewer characters for some years.
91 ** Use strftime's %Y to generate the year, to avoid overflow problems
93 ** Assume that strftime is unaffected by other out-of-range members
96 strftime(year, sizeof year, "%Y", timeptr);
/freebsd-current/usr.sbin/pw/
H A Dpw_log.c103 strftime(nfmt, sizeof nfmt, "%Y-%m-%d %T ", t);
/freebsd-current/contrib/kyua/utils/logging/
H A Doperations.cpp89 /// Constant string to strftime to format timestamps.
185 globals->first_timestamp.get().strftime(timestamp_format));
222 now.strftime(timestamp_format) % level_to_char(message_level) %
/freebsd-current/usr.bin/lastcomm/
H A Dlastcomm.c178 (void)strftime(buf, sizeof(buf), format,
190 (void)strftime(buf, sizeof(buf), format,

Completed in 184 milliseconds

1234567