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

12

/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/
H A Dtest-strptime.c2 # define _GNU_SOURCE /* strptime(), getsubopt() */
11 strptime(*argv, "%D", &tm);
H A DMakefile167 test-strptime.c \
459 rm -rf test-strptime.DSYM
599 if $(CC) $(CFLAGS) -Werror -o test-strptime test-strptime.c >> config.log 2>&1; then \
601 rm test-strptime; \
H A Dmandoc.c570 pp = strptime(p, fmt, &tm);
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/
H A Dstrpftime-test.h48 #define strptime test_strptime macro
55 strptime (const char *buf, const char *format, struct tm *timeptr);
H A Dstrptime.c243 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 Dstrpftime-test.c264 ptr = strptime (tests[i].vals[j].result,
268 printf ("bad return value from strptime("
286 strptime ("200505", "%Y%m", &tm);
H A DNTMakefile98 $(OBJ)\strptime.obj \
194 $(OBJ)\strptime_test.obj: strptime.c
H A Droken.h.in929 #define strptime rk_strptime
931 strptime (const char *, const char *, struct tm *);
/netbsd-6-1-5-RELEASE/sbin/dump/
H A Dunctime.c58 str = strptime(str, "%a %b %e %H:%M:%S %Y", &then);
/netbsd-6-1-5-RELEASE/lib/libc/time/
H A DMakefile.inc6 asctime.c difftime.c localtime.c getdate.c strftime.c strptime.c
7 MAN+= ctime.3 getdate.3 offtime.3 strftime.3 strptime.3 \
H A Dstrptime.c1 /* $NetBSD: strptime.c,v 1.34 2009/12/14 05:51:56 matt Exp $ */
34 __RCSID("$NetBSD: strptime.c,v 1.34 2009/12/14 05:51:56 matt Exp $");
47 __weak_alias(strptime,_strptime)
76 strptime(const char *buf, const char *fmt, struct tm *tm) function
162 bp = (const u_char *)strptime((const char *)bp,
H A Dgetdate.c100 rp = strptime(str, line, rtmp);
134 * requires strptime(3) support for %Z.
250 * This is more work since strptime(3) doesn't "do the right thing".
/netbsd-6-1-5-RELEASE/usr.bin/chpass/
H A Dutil.c90 t = strptime(p, "%B %d %Y", &tm);
/netbsd-6-1-5-RELEASE/usr.bin/mail/
H A Dformat.c575 * NOTE: Rather than depend on strptime(3) modifying only
578 * required with the NetBSD strptime(3) implementation.
582 if ((tail = strptime(date, " %a,", &tmp_tm)) == NULL) {
588 if ((tail = strptime(tail, " %d %b", &tmp_tm)) == NULL)
595 /* XXX - Portable? This depends on strptime not scanning off
598 if ((p = strptime(tail, " %y", &tmp_tm)) != NULL && is_WSP(*p))
600 else if ((tail = strptime(tail, " %Y", &tmp_tm)) == NULL)
606 if ((tail = strptime(tail, " %H:%M", &tmp_tm)) == NULL)
613 if ((p = strptime(tail, ":%S", &tmp_tm)) != NULL) {
649 * strptime(
[all...]
/netbsd-6-1-5-RELEASE/tests/lib/libc/time/
H A Dt_strptime.c50 ret = strptime(buf, fmt, &tm);
53 "strptime(\"%s\", \"%s\", tm): incorrect return code: "
58 "strptime(\"%s\", \"%s\", tm): incorrect %s: " \
79 ATF_REQUIRE_MSG(strptime(buf, fmt, &tm) == NULL, "strptime(\"%s\", "
88 atf_tc_set_md_var(tc, "descr", "Checks strptime(3): various checks");
129 atf_tc_set_md_var(tc, "descr", "Checks strptime(3): day names");
181 atf_tc_set_md_var(tc, "descr", "Checks strptime(3): month names");
/netbsd-6-1-5-RELEASE/lib/libc/compat/include/
H A Dtime.h50 char *strptime(const char * __restrict, const char * __restrict,
/netbsd-6-1-5-RELEASE/include/
H A Dtime.h130 char *strptime(const char * __restrict, const char * __restrict,
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/kadmin/
H A Dutil.c209 p = strptime (str, "%Y-%m-%d", &tm);
219 if(p[0] != '\0' && strptime (p, "%H:%M:%S", &tm2) != NULL) {
/netbsd-6-1-5-RELEASE/usr.bin/ftp/
H A Dutil.c747 (strptime(timestr, "%Y%m%d%H%M%S", &timebuf) == NULL)) {
810 if ((t = strptime(httpdate, "%a, %d %b %Y %H:%M:%S GMT", parsed)) ||
812 (t = strptime(httpdate, "%a, %d-%b-%y %H:%M:%S GMT", parsed)) ||
814 (t = strptime(httpdate, "%a, %b %d %H:%M:%S %Y", parsed))) {
/netbsd-6-1-5-RELEASE/libexec/httpd/
H A Dbozohttpd.c837 if ((remainder = strptime(val, "%a, %d %b %Y %T GMT", &tm)) == NULL &&
838 (remainder = strptime(val, "%a, %d-%b-%y %T GMT", &tm)) == NULL &&
839 (remainder = strptime(val, "%a %b %d %T %Y", &tm)) == NULL)
/netbsd-6-1-5-RELEASE/external/bsd/fetch/dist/libfetch/
H A Dhttp.c528 r = strptime(p, "%a, %d %b %Y %H:%M:%S GMT", &tm);
/netbsd-6-1-5-RELEASE/sbin/routed/
H A Dparms.c458 ptr = strptime(buf, "%y/%m/%d@%H:%M\n", &tm);
/netbsd-6-1-5-RELEASE/lib/libc/include/
H A Dnamespace.h593 #define strptime _strptime macro
/netbsd-6-1-5-RELEASE/share/examples/refuse/ian/libfetch/
H A Dhttp.c486 r = strptime(p, "%a, %d %b %Y %H:%M:%S GMT", &tm);
/netbsd-6-1-5-RELEASE/usr.sbin/user/
H A Duser.c1038 if (strptime(s, "%c", &tm) != NULL) {
1041 } else if (strptime(s, "%B %d %Y", &tm) != NULL) {

Completed in 393 milliseconds

12