/freebsd-13-stable/crypto/heimdal/lib/roken/ |
H A D | strpftime-test.h | 45 #define strftime test_strftime macro 49 strftime (char *buf, size_t maxsize, const char *format,
|
H A D | strpftime-test.c | 246 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-13-stable/lib/libc/stdtime/ |
H A D | Makefile.inc | 6 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-13-stable/cddl/contrib/opensolaris/cmd/stat/common/ |
H A D | timestamp.c | 45 len = strftime(dstr, sizeof (dstr), "%+", localtime(&t));
|
/freebsd-13-stable/sys/contrib/openzfs/lib/libspl/ |
H A D | timestamp.c | 59 len = strftime(dstr, sizeof (dstr), fmt, localtime(&t));
|
/freebsd-13-stable/usr.sbin/mfiutil/ |
H A D | Makefile | 9 CFLAGS.gcc+= -fno-builtin-strftime
|
/freebsd-13-stable/contrib/libarchive/cpio/test/ |
H A D | test_option_t.c | 91 strftime(date2, sizeof(date2)-1, "%b %d %Y", localtime(&mtime)); 94 strftime(date2, sizeof(date2)-1, "%b %e %Y", localtime(&mtime));
|
/freebsd-13-stable/contrib/openbsm/bsm/ |
H A D | auditd_lib.h | 48 !strftime((b), (l), "%Y%m%d%H%M%S", gmtime(&(t)) ) ) ? -1 : 0
|
/freebsd-13-stable/usr.bin/calendar/ |
H A D | locale.c | 84 strftime(buf, sizeof(buf), "%a", &tm); 96 strftime(buf, sizeof(buf), "%A", &tm); 112 strftime(buf, sizeof(buf), "%b", &tm); 124 strftime(buf, sizeof(buf), "%B", &tm);
|
H A D | day.c | 68 strftime(dayname, sizeof(dayname) - 1, "%A, %d %B %Y", tp1);
|
/freebsd-13-stable/usr.bin/finger/ |
H A D | sprint.c | 133 (void)strftime(p, sizeof(p), "%a", lc); 135 (void)strftime(p, sizeof(p), 140 (void)strftime(p, sizeof(p), "%Y", lc); 142 (void)strftime(p, sizeof(p), "%R", lc);
|
H A D | lprint.c | 179 strftime(t, sizeof(t), 212 strftime(t, sizeof(t), 217 strftime(t, sizeof(t), 235 strftime(t, sizeof(t), 241 strftime(t, sizeof(t), 248 strftime(t, sizeof(t),
|
/freebsd-13-stable/contrib/kyua/utils/ |
H A D | datetime_test.cpp | 273 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 D | datetime.hpp | 109 std::string strftime(const std::string&) const;
|
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
H A D | Chrono.cpp | 46 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", <); 59 // Handle extensions first. strftime mangles unknown %x on some platforms. 89 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), <);
|
/freebsd-13-stable/contrib/tzcode/stdtime/ |
H A D | asctime.c | 7 ** 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-13-stable/contrib/libxo/tests/gettext/ |
H A D | gt_01.c | 97 strftime(date, sizeof(date), "%+", &tm);
|
/freebsd-13-stable/contrib/googletest/googletest/scripts/ |
H A D | gen_gtest_pred_impl.py | 74 'today' : time.strftime('%m/%d/%Y'), 75 'year' : time.strftime('%Y'), 330 'today' : time.strftime('%m/%d/%Y'), 331 'year' : time.strftime('%Y'),
|
/freebsd-13-stable/contrib/opie/libopie/ |
H A D | writerec.c | 51 if (strftime(buf2, sizeof(buf2), " %b %d,%Y %T", localtime(&now)) < 1)
|
/freebsd-13-stable/crypto/heimdal/lib/krb5/ |
H A D | time.c | 118 strftime(s, len, include_time ? context->time_fmt : context->date_fmt, tm) == 0)
|
/freebsd-13-stable/usr.sbin/pw/ |
H A D | pw_log.c | 108 strftime(nfmt, sizeof nfmt, "%Y-%m-%d %T ", t);
|
/freebsd-13-stable/contrib/kyua/utils/logging/ |
H A D | operations.cpp | 89 /// 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-13-stable/usr.bin/lastcomm/ |
H A D | lastcomm.c | 192 (void)strftime(buf, sizeof(buf), format, 204 (void)strftime(buf, sizeof(buf), format,
|
/freebsd-13-stable/usr.bin/find/ |
H A D | ls.c | 106 strftime(longstring, sizeof(longstring), format, localtime(&ftime));
|
/freebsd-13-stable/bin/date/ |
H A D | date.c | 214 (void)strftime(buf, sizeof(buf), format, lt); 237 (void)strftime(buf, sizeof(buf), fmtbuf, lt); 240 (void)strftime(tzbuf, sizeof(tzbuf), "%z", lt);
|