| /freebsd-13-stable/contrib/kyua/utils/ |
| HD | datetime_test.cpp | 273 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y")); in ATF_TEST_CASE_BODY() 274 ATF_REQUIRE_EQ("2011", ts2.strftime("%Y")); in ATF_TEST_CASE_BODY() 275 ATF_REQUIRE_EQ("2012", ts3.strftime("%Y")); in ATF_TEST_CASE_BODY() 277 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y")); in ATF_TEST_CASE_BODY() 286 ATF_REQUIRE_EQ("2012-02-09 23:15:51", ts.strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 297 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 302 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 304 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 322 ATF_REQUIRE(::strftime(buf, sizeof(buf), "%Y-%m-%d", &data) != 0); in ATF_TEST_CASE_BODY() 323 ATF_REQUIRE_EQ(buf, now.strftime("%Y-%m-%d")); in ATF_TEST_CASE_BODY() [all …]
|
| HD | datetime.cpp | 384 datetime::timestamp::strftime(const std::string& format) const in strftime() function in datetime::timestamp 396 if (::strftime(buf, sizeof(buf), format.c_str(), &timedata) == 0) in strftime() 408 return F("%s.%06sZ") % strftime("%Y-%m-%dT%H:%M:%S") % _pimpl->data.tv_usec; in to_iso8601_in_utc()
|
| /freebsd-13-stable/usr.bin/finger/ |
| HD | sprint.c | 131 (void)strftime(p, sizeof(p), "%a", lc); in sflag_print() 133 (void)strftime(p, sizeof(p), in sflag_print() 138 (void)strftime(p, sizeof(p), "%Y", lc); in sflag_print() 140 (void)strftime(p, sizeof(p), "%R", lc); in sflag_print()
|
| HD | lprint.c | 177 strftime(t, sizeof(t), in lprint() 210 strftime(t, sizeof(t), in lprint() 215 strftime(t, sizeof(t), in lprint() 233 strftime(t, sizeof(t), in lprint() 239 strftime(t, sizeof(t), in lprint() 246 strftime(t, sizeof(t), in lprint()
|
| /freebsd-13-stable/lib/libc/stdtime/ |
| HD | Makefile.inc | 6 STDTIME_SRCS= strftime.c strptime.c timelocal.c 23 MAN+= ctime.3 strftime.3 strptime.3 time2posix.3 30 MLINKS+=strftime.3 strftime_l.3
|
| HD | Symbol.map | 14 strftime;
|
| /freebsd-13-stable/usr.bin/calendar/ |
| HD | locale.c | 82 strftime(buf, sizeof(buf), "%a", &tm); in setnnames() 94 strftime(buf, sizeof(buf), "%A", &tm); in setnnames() 110 strftime(buf, sizeof(buf), "%b", &tm); in setnnames() 122 strftime(buf, sizeof(buf), "%B", &tm); in setnnames()
|
| /freebsd-13-stable/crypto/heimdal/lib/roken/ |
| HD | strpftime-test.h | 45 #define strftime test_strftime macro 49 strftime (char *buf, size_t maxsize, const char *format,
|
| HD | strpftime-test.c | 246 len = strftime (buf, sizeof(buf), tests[i].vals[j].format, tm); in main() 272 strftime (buf, sizeof(buf), tests[i].vals[j].format, &tm2); in main()
|
| /freebsd-13-stable/contrib/libarchive/cpio/test/ |
| HD | test_option_t.c | 84 strftime(date2, sizeof(date2)-1, "%b %d %Y", tmptr); in DEFINE_TEST() 87 strftime(date2, sizeof(date2)-1, "%b %e %Y", tmptr); in DEFINE_TEST()
|
| /freebsd-13-stable/contrib/tzdata/ |
| HD | Makefile | 578 TZDOBJS= zdump.o localtime.o strftime.o 579 DATEOBJS= date.o localtime.o strftime.o 580 LIBSRCS= localtime.c asctime.c difftime.c strftime.c 581 LIBOBJS= localtime.o asctime.o difftime.o strftime.o 620 strftime.c tzfile.h zdump.c zic.c 638 private.h southamerica strftime.c theory.html \ 1363 strftime.o: localtime.c private.h tzdir.h tzfile.h
|
| HD | LICENSE | 4 If the files date.c, newstrftime.3, and strftime.c are present, they
|
| /freebsd-13-stable/bin/date/ |
| HD | date.c | 212 (void)strftime(buf, sizeof(buf), format, lt); in main() 235 (void)strftime(buf, sizeof(buf), fmtbuf, lt); in printisodate() 238 (void)strftime(tzbuf, sizeof(tzbuf), "%z", lt); in printisodate()
|
| /freebsd-13-stable/contrib/llvm-project/libcxx/include/ |
| HD | ctime | 41 size_t strftime(char* restrict s, size_t maxsize, const char* restrict format, 79 using ::strftime _LIBCPP_USING_IF_EXISTS;
|
| /freebsd-13-stable/usr.bin/last/ |
| HD | last.c | 292 (void) strftime(ct, sizeof(ct), "%+", tm); in wtmp() 390 (void) strftime(ct, sizeof(ct), d_first ? in printentry() 424 (void) strftime(ct, sizeof(ct), "%R", tm); in printentry() 434 (void) strftime(ct, sizeof(ct), width >= 8 ? "%T" : "%R", tm); in printentry()
|
| /freebsd-13-stable/contrib/tzcode/ |
| HD | Makefile | 576 TZDOBJS= zdump.o localtime.o strftime.o 577 DATEOBJS= date.o localtime.o strftime.o 578 LIBSRCS= localtime.c asctime.c difftime.c strftime.c 579 LIBOBJS= localtime.o asctime.o difftime.o strftime.o 636 private.h southamerica strftime.c theory.html \ 1361 strftime.o: private.h tzfile.h
|
| /freebsd-13-stable/secure/caroot/ |
| HD | MAca-bundle.pl | 168 strftime("%FT%TZ", gmtime($distrust_after)), strftime("%FT%TZ", gmtime($time_now));
|
| /freebsd-13-stable/contrib/kyua/utils/logging/ |
| HD | operations.cpp | 185 globals->first_timestamp.get().strftime(timestamp_format)); in generate_log_name() 222 now.strftime(timestamp_format) % level_to_char(message_level) % in log()
|
| /freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/ |
| HD | Chrono.cpp | 64 strftime(Buffer, sizeof(Buffer), "%Y-%m-%d %H:%M:%S", <); in operator <<() 105 size_t Len = strftime(Buffer, sizeof(Buffer), Format.c_str(), <); in format()
|
| /freebsd-13-stable/contrib/ntp/libntp/lib/isc/unix/ |
| HD | time.c | 389 flen = strftime(buf, len, "%d-%b-%Y %X", localtime(&now)); in isc_time_formattimestamp() 406 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&now)); in isc_time_formathttptimestamp() 418 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime(&now)); in isc_time_formatISO8601()
|
| /freebsd-13-stable/tests/sys/net/routing/ |
| HD | rtsock_print.h | 270 strftime(buf, sizeof(buf), "%F %T", &tm_res); in rtsock_print_rtm() 319 strftime(buf, sizeof(buf), "%F %T", &tm_res); in rtsock_print_ifa() 356 strftime(buf, sizeof(buf), "%F %T", &tm_res); in rtsock_print_message_hd()
|
| /freebsd-13-stable/usr.bin/lastcomm/ |
| HD | lastcomm.c | 190 (void)strftime(buf, sizeof(buf), format, in main() 202 (void)strftime(buf, sizeof(buf), format, in main()
|
| /freebsd-13-stable/cddl/contrib/opensolaris/cmd/stat/common/ |
| HD | timestamp.c | 45 len = strftime(dstr, sizeof (dstr), "%+", localtime(&t)); in print_timestamp()
|
| /freebsd-13-stable/crypto/openssh/regress/ |
| HD | timestamp.c | 42 if (strftime(buf, sizeof buf, "%Y%m%dT%H%M%S", tm) <= 0) in main()
|
| /freebsd-13-stable/sys/contrib/openzfs/lib/libspl/ |
| HD | timestamp.c | 59 len = strftime(dstr, sizeof (dstr), fmt, localtime(&t)); in print_timestamp()
|