/netbsd-current/external/mpl/bind/dist/bin/tests/system/dnssec/ |
H A D | ntadiff.pl | 20 my $actual = Time::Piece->strptime($ARGV[0], '%d-%b-%Y %H:%M:%S.000 %z'); 21 my $expected = Time::Piece->strptime($ARGV[1], '%s') + ONE_WEEK;
|
/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | strpftime-test.h | 48 #define strptime test_strptime macro 55 strptime (const char *buf, const char *format, struct tm *timeptr);
|
H A D | strptime.c | 1 /* $NetBSD: strptime.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */ 243 strptime (const char *buf, const char *format, struct tm *timeptr) function 292 s = strptime (buf, "%m/%d/%y", timeptr); 352 s = strptime (buf, "%I:%M:%S %p", timeptr); 358 s = strptime (buf, "%H:%M", timeptr); 374 s = strptime (buf, "%H:%M:%S", timeptr); 407 s = strptime (buf, "%Y:%m:%d", timeptr);
|
H A D | strpftime-test.c | 264 ptr = strptime (tests[i].vals[j].result, 268 printf ("bad return value from strptime(" 286 strptime ("200505", "%Y%m", &tm);
|
/netbsd-current/external/bsd/mdocml/dist/ |
H A D | test-strptime.c | 8 return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 &&
|
/netbsd-current/sbin/dump/ |
H A D | unctime.c | 57 str = strptime(str, "%a %b %e %H:%M:%S %Y", &then);
|
/netbsd-current/external/mpl/bind/dist/bin/tests/system/statschannel/ |
H A D | tests_json.py | 54 loaded = datetime.strptime(zone["loaded"], generic.fmt) 65 expires = datetime.strptime(zone["expires"], generic.fmt) 66 refresh = datetime.strptime(zone["refresh"], generic.fmt)
|
H A D | tests_xml.py | 83 loaded = datetime.strptime(loaded_el.text, generic.fmt) 95 expires = datetime.strptime(expires_el.text, generic.fmt) 96 refresh = datetime.strptime(refresh_el.text, generic.fmt)
|
/netbsd-current/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 \
|
/netbsd-current/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
H A D | time.d | 566 char* strptime(const scope char*, const scope char*, tm*); 575 char* strptime(const scope char*, const scope char*, tm*); 583 char* strptime(const scope char*, const scope char*, tm*); 588 char* strptime(const scope char*, const scope char*, tm*); 593 char* strptime(const scope char*, const scope char*, tm*); 598 char* strptime(const scope char*, const scope char*, tm*); 603 char* strptime(const scope char*, const scope char*, tm*); 612 alias __strptime_dontzero strptime; 619 char* strptime(const scope char*, const scope char*, tm*); 627 char* strptime(cons [all...] |
/netbsd-current/usr.bin/chpass/ |
H A D | util.c | 90 t = strptime(p, "%B %d %Y", &tm);
|
/netbsd-current/external/bsd/ntp/dist/libparse/ |
H A D | clk_sel240x.c | 9 // correct strptime signature. As per feature_test_macros(7), 138 buffer = (unsigned char *) strptime(
|
/netbsd-current/usr.bin/mail/ |
H A D | format.c | 583 * NOTE: Rather than depend on strptime(3) modifying only 586 * required with the NetBSD strptime(3) implementation. 590 if ((tail = strptime(date, " %a,", &tmp_tm)) == NULL) 596 if ((tail = strptime(tail, " %d %b", &tmp_tm)) == NULL) 603 /* XXX - Portable? This depends on strptime not scanning off 606 if ((p = strptime(tail, " %y", &tmp_tm)) != NULL && is_WSP(*p)) 608 else if ((tail = strptime(tail, " %Y", &tmp_tm)) == NULL) 614 if ((tail = strptime(tail, " %H:%M", &tmp_tm)) == NULL) 621 if ((p = strptime(tail, ":%S", &tmp_tm)) != NULL) { 657 * strptime( [all...] |
/netbsd-current/external/gpl3/gdb.old/dist/gnulib/import/ |
H A D | time.in.h | 250 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 253 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 258 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 261 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/lib/libc/compat/include/ |
H A D | time.h | 50 char *strptime(const char * __restrict, const char * __restrict,
|
/netbsd-current/tests/lib/libc/time/ |
H A D | t_strptime.c | 54 ret = strptime(buf, fmt, &tm); 57 "strptime(\"%s\", \"%s\", tm): incorrect return code: " 62 "strptime(\"%s\", \"%s\", tm): incorrect %s: " \ 83 ATF_CHECK_MSG(strptime(buf, fmt, &tm) == NULL, "strptime(\"%s\", " 170 if ((rv = strptime(name, fmt, &tm)) == NULL) 188 "strptime(\"%s\", \"%s\", &tm): " 210 atf_tc_set_md_var(tc, "descr", "Checks strptime(3): various checks"); 236 "Checks strptime(3) day name conversions [aA]"); 289 "Checks strptime( [all...] |
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | time.in.h | 297 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 300 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 305 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 308 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/bsd/nsd/include/ |
H A D | config.h | 423 /* Define to 1 if you have the `strptime' function. */ 608 /* strptime is available from time.h with some defines. */ 611 /* use default strptime. */ 956 char *strptime(const char *s, const char *format, struct tm *tm); 961 #define strptime(a,b,c) nsd_strptime((a),(b),(c)) macro
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/aarch64/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/aarch64eb/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/alpha/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/arm/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/armeb/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/hppa/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|
/netbsd-current/external/gpl3/gdb.old/lib/libgnulib/arch/i386/gnulib/import/ |
H A D | time.h | 730 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */ 733 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf, 738 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf, 741 _GL_CXXALIASWARN (strptime);
|