Searched refs:strptime (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dstrpftime-test.h46 #define strptime test_strptime macro
53 strptime (const char *buf, const char *format, struct tm *timeptr);
H A Dstrptime.c241 strptime (const char *buf, const char *format, struct tm *timeptr) function
290 s = strptime (buf, "%m/%d/%y", timeptr);
350 s = strptime (buf, "%I:%M:%S %p", timeptr);
356 s = strptime (buf, "%H:%M", timeptr);
372 s = strptime (buf, "%H:%M:%S", timeptr);
405 s = strptime (buf, "%Y:%m:%d", timeptr);
H A Dstrpftime-test.c262 ptr = strptime (tests[i].vals[j].result,
266 printf ("bad return value from strptime("
284 strptime ("200505", "%Y%m", &tm);
H A DMakefile.am44 libtest_la_SOURCES = strftime.c strptime.c snprintf.c tsearch.c
/freebsd-11-stable/contrib/mdocml/
H A Dtest-strptime.c2 # define _GNU_SOURCE /* strptime() */
12 return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 &&
H A Dmandoc.c466 pp = strptime(p, fmt, &tm);
H A Dconfigure241 runtest strptime STRPTIME || true
/freebsd-11-stable/lib/libc/stdtime/
H A DMakefile.inc6 SRCS+= asctime.c difftime.c localtime.c strftime.c strptime.c timelocal.c \
15 MAN+= ctime.3 strftime.3 strptime.3 time2posix.3
23 MLINKS+=strptime.3 strptime_l.3
H A Dstrptime.c43 static char sccsid[] __unused = "@(#)strptime.c 0.1 (Powerdog) 94/03/27";
46 __FBSDID("$FreeBSD: stable/11/lib/libc/stdtime/strptime.c 339359 2018-10-15 10:50:04Z kib $");
703 strptime(const char * __restrict buf, const char * __restrict fmt, function
/freebsd-11-stable/sbin/dump/
H A Dunctime.c51 str = strptime(str, "%a %b %e %T %Y", &then);
/freebsd-11-stable/contrib/ntp/libparse/
H A Dclk_sel240x.c7 // correct strptime signature. As per feature_test_macros(7),
136 buffer = (unsigned char *) strptime(
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_strptime.c52 ret = strptime(buf, fmt, &tm);
56 "strptime(\"%s\", \"%s\", tm): incorrect return code: "
61 "strptime(\"%s\", \"%s\", tm): incorrect %s: " \
66 "strptime(\"%s\", \"%s\", tm): incorrect return code: "
71 "strptime(\"%s\", \"%s\", tm): incorrect %s: " \
94 ATF_CHECK_MSG(strptime(buf, fmt, &tm) == NULL, "strptime(\"%s\", "
97 ATF_REQUIRE_MSG(strptime(buf, fmt, &tm) == NULL, "strptime(\"%s\", "
185 if ((rv = strptime(nam
[all...]
/freebsd-11-stable/include/
H A Dtime.h192 char *strptime(const char * __restrict, const char * __restrict,
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A DMakefile.in19 OPENBSD=base64.o basename.o bcrypt_pbkdf.o bindresvport.o blowfish.o daemon.o dirname.o fmt_scaled.o getcwd.o getgrouplist.o getopt_long.o getrrsetbyname.o glob.o inet_aton.o inet_ntoa.o inet_ntop.o mktemp.o pwcache.o readpassphrase.o reallocarray.o realpath.o rresvport.o setenv.o setproctitle.o sha1.o sha2.o rmd160.o md5.o sigact.o strcasestr.o strlcat.o strlcpy.o strmode.o strnlen.o strptime.o strsep.o strtonum.o strtoll.o strtoul.o strtoull.o timingsafe_bcmp.o vis.o blowfish.o bcrypt_pbkdf.o explicit_bzero.o
H A Dopenbsd-compat.h109 char *strptime(const char *buf, const char *fmt, struct tm *tm);
H A Dstrptime.c1 /* $OpenBSD: strptime.c,v 1.12 2008/06/26 05:42:05 ray Exp $ */
2 /* $NetBSD: strptime.c,v 1.12 1998/01/20 21:39:40 mycroft Exp $ */
32 /* OPENBSD ORIGINAL: lib/libc/time/strptime.c */
61 strptime(const char *buf, const char *fmt, struct tm *tm) function
/freebsd-11-stable/contrib/openbsm/bin/auditreduce/
H A Dauditreduce.c43 #define _GNU_SOURCE /* Required for strptime() on glibc2. */
653 strptime(optarg, "%Y%m%d%H%M%S", &tm);
666 strptime(optarg, "%Y%m%d%H%M%S", &tm);
687 strptime(optarg, "%Y%m%d", &tm);
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dutil.c207 p = strptime (str, "%Y-%m-%d", &tm);
217 if(p[0] != '\0' && strptime (p, "%H:%M:%S", &tm2) != NULL) {
/freebsd-11-stable/usr.sbin/unbound/
H A Dconfig.h567 /* Define to 1 if you have the `strptime' function. */
796 /* use default strptime. */
1294 #define strptime unbound_strptime macro
1296 char *strptime(const char *s, const char *format, struct tm *tm);
/freebsd-11-stable/usr.bin/touch/
H A Dtouch.c326 p = strptime(arg, fmt, &t);
/freebsd-11-stable/bin/date/
H A Ddate.c220 t = strptime(p, fmt, lt);
/freebsd-11-stable/contrib/tnftp/
H A Dtnftp.h398 char *strptime(const char *, const char *, struct tm *);
/freebsd-11-stable/sbin/camcontrol/
H A Dtimestamp.c278 if (strptime(timestamp_string, format_string,
280 warnx("%s: strptime(3) failed", __func__);
/freebsd-11-stable/contrib/tnftp/src/
H A Dfetch.c947 if ((t = strptime(cp,
951 || (t = strptime(cp,
955 || (t = strptime(cp,
/freebsd-11-stable/lib/libdevdctl/
H A Devent.cc271 strptime(Value(string("timestamp")).c_str(), "%s", &tm_timestamp);

Completed in 283 milliseconds

12