| /netbsd-src/external/bsd/kyua-cli/dist/utils/ |
| H A D | datetime_test.cpp | 194 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y")); in ATF_TEST_CASE_BODY() 195 ATF_REQUIRE_EQ("2011", ts2.strftime("%Y")); in ATF_TEST_CASE_BODY() 196 ATF_REQUIRE_EQ("2012", ts3.strftime("%Y")); in ATF_TEST_CASE_BODY() 198 ATF_REQUIRE_EQ("2011", ts1.strftime("%Y")); in ATF_TEST_CASE_BODY() 207 ATF_REQUIRE_EQ("2012-02-09 23:15:51", ts.strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 218 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 222 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 224 datetime::timestamp::now().strftime("%Y-%m-%d %H:%M:%S")); in ATF_TEST_CASE_BODY() 242 ATF_REQUIRE(::strftime(buf, sizeof(buf), "%Y-%m-%d", &data) != 0); in ATF_TEST_CASE_BODY() 243 ATF_REQUIRE_EQ(buf, now.strftime("%Y-%m-%d")); in ATF_TEST_CASE_BODY() [all …]
|
| /netbsd-src/external/gpl2/xcvs/dist/m4/ |
| H A D | strftime.m4 | 17 # These are the prerequisite macros for GNU's strftime.c replacement. 20 AC_LIBSOURCES([strftime.c, strftime.h]) 21 AC_LIBOBJ([strftime]) 23 # strftime.c uses the underyling system strftime if it exists. 37 [Define to the name of the strftime replacement function.])
|
| /netbsd-src/external/gpl2/diffutils/dist/m4/ |
| H A D | strftime.m4 | 4 dnl These are the prerequisite macros for GNU's strftime.c replacement. 7 dnl strftime.c uses localtime_r and the underyling system strftime 9 AC_CHECK_FUNCS(localtime_r strftime) 37 [Define to the name of the strftime replacement function.])
|
| /netbsd-src/lib/libc/time/ |
| H A D | Makefile.inc | 5 SRCS+= asctime.c difftime.c localtime.c getdate.c strftime.c strptime.c 6 MAN+= ctime.3 getdate.3 offtime.3 strftime.3 strptime.3 \ 27 strftime.3 strftime_z.3 \ 38 COPTS.strftime.c = -Wno-format-nonliteral
|
| /netbsd-src/usr.bin/w/ |
| H A D | pr_time.c | 69 (void)strftime(buf, sizeof(buf), "%d%b%y", tp); in pr_attime() 72 (void)strftime(buf, sizeof(buf), "%a%I%p", tp); in pr_attime() 75 (void)strftime(buf, sizeof(buf), "%l:%M%p", tp); in pr_attime()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/isc/unix/ |
| H A D | time.c | 370 flen = strftime(buf, len, "%d-%b-%Y %X", localtime_r(&now, &tm)); in isc_time_formattimestamp() 396 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", in isc_time_formathttptimestamp() 434 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%S", localtime_r(&now, &tm)); in isc_time_formatISO8601L() 450 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%S", localtime_r(&now, &tm)); in isc_time_formatISO8601Lms() 470 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%S", localtime_r(&now, &tm)); in isc_time_formatISO8601Lus() 490 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime_r(&now, &tm)); in isc_time_formatISO8601() 506 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime_r(&now, &tm)); in isc_time_formatISO8601ms() 527 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime_r(&now, &tm)); in isc_time_formatISO8601us() 549 flen = strftime(buf, len, "%Y%m%d%H%M%S", gmtime_r(&now, &tm)); in isc_time_formatshorttimestamp()
|
| /netbsd-src/external/mpl/bind/dist/lib/isc/ |
| H A D | time.c | 337 flen = strftime(buf, len, "%d-%b-%Y %X", localtime_r(&now, &tm)); in isc_time_secondsastimet() 363 flen = strftime(buf, len, "%a, %d %b %Y %H:%M:%S GMT", in isc_time_nanoseconds() 401 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%S", localtime_r(&now, &tm)); in isc_time_formathttptimestamp() 417 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%S", localtime_r(&now, &tm)); in isc_time_parsehttptimestamp() 437 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%S", localtime_r(&now, &tm)); in isc_time_formatISO8601L() 457 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime_r(&now, &tm)); in isc_time_formatISO8601Lms() 473 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime_r(&now, &tm)); in isc_time_formatISO8601Lus() 494 flen = strftime(buf, len, "%Y-%m-%dT%H:%M:%SZ", gmtime_r(&now, &tm)); in isc_time_formatISO8601() 516 flen = strftime(buf, len, "%Y%m%d%H%M%S", gmtime_r(&now, &tm)); in isc_time_formatISO8601ms()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| H A D | timers.cc | 193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); in DateTimeString() 197 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString() 201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); in DateTimeString() 205 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| H A D | timers.cc | 193 std::strftime(storage, sizeof(storage), "%x %X", ::localtime(&now)); in DateTimeString() 197 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString() 201 written = std::strftime(storage, sizeof(storage), "%x %X", ::gmtime(&now)); in DateTimeString() 205 written = std::strftime(storage, sizeof(storage), "%F %T", &timeinfo); in DateTimeString()
|
| /netbsd-src/external/gpl3/gdb/dist/gnulib/import/ |
| H A D | time.in.h | 334 # define strftime rpl_strftime 336 _GL_FUNCDECL_RPL (strftime, size_t, 340 _GL_CXXALIAS_RPL (strftime, size_t, 344 _GL_CXXALIAS_SYS (strftime, size_t, 349 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| H A D | strpftime-test.h | 47 #define strftime test_strftime macro 51 strftime (char *buf, size_t maxsize, const char *format,
|
| /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/c_compatibility/ |
| H A D | time.h | 44 #undef strftime 58 using std::strftime;
|
| /netbsd-src/external/gpl3/gcc.old/dist/libstdc++-v3/include/c_compatibility/ |
| H A D | time.h | 44 #undef strftime 58 using std::strftime;
|
| /netbsd-src/external/apache2/llvm/dist/clang/utils/CIndex/ |
| H A D | completion_logger_server.py | 5 from time import strftime 34 f.write("\"time\": \"{0}\"".format(datetime.datetime.utcnow().strftime('%Y-%m-%d %H:%M:%S')))
|
| /netbsd-src/external/ibm-public/postfix/dist/src/global/ |
| H A D | mail_date.c | 110 while (strftime(vstring_end(vp), vstring_avail(vp), STRFTIME_FMT, lt) == 0) in mail_date() 125 while (strftime(vstring_end(vp), vstring_avail(vp), " (%Z)", lt) == 0) in mail_date()
|
| /netbsd-src/external/mpl/bind/dist/contrib/scripts/ |
| H A D | check-secure-delegation.pl.in | 17 use POSIX qw/strftime/; 29 $now = strftime "%Y%m%d%H%M%S", gmtime;
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/mipsn64el/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/ia64/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/m68000/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/x86_64/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/powerpc64/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/sparc64/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|
| /netbsd-src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/ |
| H A D | time.h | 845 # define strftime rpl_strftime 847 _GL_FUNCDECL_RPL (strftime, size_t, 851 _GL_CXXALIAS_RPL (strftime, size_t, 855 _GL_CXXALIAS_SYS (strftime, size_t, 860 _GL_CXXALIASWARN (strftime);
|