HomeSort by: relevance | last modified time | path
    Searched refs:strptime (Results 1 - 25 of 107) sorted by relevancy

1 2 3 4 5

  /src/external/mpl/bind/dist/bin/tests/system/dnssec/
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;
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
strpftime-test.h 48 #define strptime test_strptime macro
55 strptime (const char *buf, const char *format, struct tm *timeptr);
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);
strpftime-test.c 264 ptr = strptime (tests[i].vals[j].result,
268 printf ("bad return value from strptime("
286 strptime ("200505", "%Y%m", &tm);
  /src/external/bsd/mdocml/dist/
test-strptime.c 8 return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 &&
  /src/sbin/dump/
unctime.c 57 str = strptime(str, "%a %b %e %H:%M:%S %Y", &then);
  /src/external/mpl/bind/dist/bin/tests/system/statschannel/
tests_json.py 76 loaded = datetime.strptime(zone["loaded"], generic.fmt)
87 expires = datetime.strptime(zone["expires"], generic.fmt)
88 refresh = datetime.strptime(zone["refresh"], generic.fmt)
tests_xml.py 104 loaded = datetime.strptime(loaded_el.text, generic.fmt)
116 expires = datetime.strptime(expires_el.text, generic.fmt)
117 refresh = datetime.strptime(refresh_el.text, generic.fmt)
  /src/lib/libc/time/
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 \
30 strptime.3 strptime_l.3 \
strptime.c 1 /* $NetBSD: strptime.c,v 1.67 2024/06/07 13:53:23 riastradh Exp $ */
34 __RCSID("$NetBSD: strptime.c,v 1.67 2024/06/07 13:53:23 riastradh Exp $");
49 __weak_alias(strptime,_strptime)
151 strptime(const char *buf, const char *fmt, struct tm *tm) function
248 bp = (const u_char *)strptime((const char *)bp,
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/
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(const scope char*, const scope char*, tm*)
    [all...]
  /src/usr.bin/chpass/
util.c 90 t = strptime(p, "%B %d %Y", &tm);
  /src/external/bsd/ntp/dist/libparse/
clk_sel240x.c 9 // correct strptime signature. As per feature_test_macros(7),
138 buffer = (unsigned char *) strptime(
  /src/usr.bin/mail/
format.c 568 * NOTE: Rather than depend on strptime(3) modifying only
571 * required with the NetBSD strptime(3) implementation.
575 if ((tail = strptime(date, " %a,", &tmp_tm)) == NULL)
581 if ((tail = strptime(tail, " %d %b", &tmp_tm)) == NULL)
588 /* XXX - Portable? This depends on strptime not scanning off
591 if ((p = strptime(tail, " %y", &tmp_tm)) != NULL && is_WSP(*p))
593 else if ((tail = strptime(tail, " %Y", &tmp_tm)) == NULL)
599 if ((tail = strptime(tail, " %H:%M", &tmp_tm)) == NULL)
606 if ((p = strptime(tail, ":%S", &tmp_tm)) != NULL) {
642 * strptime(3) doesn't know about timezone fields, s
    [all...]
  /src/lib/libc/compat/include/
time.h 50 char *strptime(const char * __restrict, const char * __restrict,
  /src/tests/lib/libc/time/
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(3) hour conversions [IH]")
    [all...]
  /src/external/gpl3/gdb/dist/gnulib/import/
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);
  /src/external/gpl3/gdb.old/dist/gnulib/import/
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);
  /src/crypto/external/apache2/openssl/dist/test/recipes/
tconversion.pl 201 return Time::Piece->strptime(
212 return Time::Piece->strptime(
  /src/external/bsd/nsd/include/
config.h 441 /* Define to 1 if you have the 'strptime' function. */
644 /* strptime is available from time.h with some defines. */
647 /* use default strptime. */
1064 char *strptime(const char *s, const char *format, struct tm *tm);
1069 #define strptime(a,b,c) nsd_strptime((a),(b),(c)) macro
  /src/bin/date/
date.c 366 t = strptime(p, fmt, lt);
380 t = strptime(p, "%m%d%H%M", lt);
387 t = strptime(t, yrdigs == 2 ? "%y" : "%Y", lt);
  /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64/gnulib/import/
time.h 808 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */
811 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf,
816 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf,
819 _GL_CXXALIASWARN (strptime);
  /src/external/gpl3/gdb/lib/libgnulib/arch/aarch64eb/gnulib/import/
time.h 808 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */
811 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf,
816 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf,
819 _GL_CXXALIASWARN (strptime);
  /src/external/gpl3/gdb/lib/libgnulib/arch/alpha/gnulib/import/
time.h 808 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */
811 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf,
816 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf,
819 _GL_CXXALIASWARN (strptime);
  /src/external/gpl3/gdb/lib/libgnulib/arch/arm/gnulib/import/
time.h 808 <https://pubs.opengroup.org/onlinepubs/9699919799/functions/strptime.html>. */
811 _GL_FUNCDECL_SYS (strptime, char *, (char const *restrict __buf,
816 _GL_CXXALIAS_SYS (strptime, char *, (char const *restrict __buf,
819 _GL_CXXALIASWARN (strptime);

Completed in 39 milliseconds

1 2 3 4 5