Home
last modified time | relevance | path

Searched refs:strptime (Results 1 – 25 of 54) sorted by relevance

123

/freebsd-12-stable/crypto/heimdal/lib/roken/
Dstrptime.c241 strptime (const char *buf, const char *format, struct tm *timeptr) in strptime() function
290 s = strptime (buf, "%m/%d/%y", timeptr); in strptime()
350 s = strptime (buf, "%I:%M:%S %p", timeptr); in strptime()
356 s = strptime (buf, "%H:%M", timeptr); in strptime()
372 s = strptime (buf, "%H:%M:%S", timeptr); in strptime()
405 s = strptime (buf, "%Y:%m:%d", timeptr); in strptime()
Dstrpftime-test.h46 #define strptime test_strptime macro
53 strptime (const char *buf, const char *format, struct tm *timeptr);
Dstrpftime-test.c262 ptr = strptime (tests[i].vals[j].result, in main()
284 strptime ("200505", "%Y%m", &tm); in main()
DChangeLog42 * strptime.c: rewrite str[pf]time for testing.
297 * strptime.c: cast to unsigned char to make sure its not negative
387 * strptime.c: Write a new parse_number function that is possible
388 to limit that amount of numbers used, with this strptime can
389 handle strptime("200505", "%Y%m", &tm);
397 * strptime.c: UNCONST return value from strptime
433 * strptime.c: use english spelling of March
500 * strptime.c: cast to unsigned char to make sure its not negative
725 * strptime.c: let t and n match zero or more whitespaces
1635 * Makefile.am: add strptime and strpftime-test
[all …]
DMakefile.in60 strptime.c strsep.c strsep_copy.c strtok_r.c strupr.c swab.c \
203 am_libtest_la_OBJECTS = libtest_la-strftime.lo libtest_la-strptime.lo \
571 libtest_la_SOURCES = strftime.c strptime.c snprintf.c tsearch.c
849 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/strptime.Plo@am__quote@
924 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libtest_la-strptime.Plo@am__quote@
1331 libtest_la-strptime.lo: strptime.c
1332 …est_la-strptime.lo -MD -MP -MF $(DEPDIR)/libtest_la-strptime.Tpo -c -o libtest_la-strptime.lo `tes…
1333 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/libtest_la-strptime.Tpo $(DEPDIR)/libtest_la-strptime.Plo
1336 …ibtest_la_CFLAGS) $(CFLAGS) -c -o libtest_la-strptime.lo `test -f 'strptime.c' || echo '$(srcdir)/…
DMakefile.am44 libtest_la_SOURCES = strftime.c strptime.c snprintf.c tsearch.c
/freebsd-12-stable/lib/libc/stdtime/
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
DSymbol.map14 strptime;
/freebsd-12-stable/contrib/netbsd-tests/lib/libc/time/
Dt_strptime.c52 ret = strptime(buf, fmt, &tm); in h_pass()
94 ATF_CHECK_MSG(strptime(buf, fmt, &tm) == NULL, "strptime(\"%s\", " in h_fail()
97 ATF_REQUIRE_MSG(strptime(buf, fmt, &tm) == NULL, "strptime(\"%s\", " in h_fail()
185 if ((rv = strptime(name, fmt, &tm)) == NULL) in ztest1()
/freebsd-12-stable/contrib/mandoc/
Dtest-strptime.c8 return ! (strptime(input, "%Y-%m-%d", &tm) == input + 10 && in main()
Dmandoc.c486 pp = strptime(p, fmt, &tm); in a2time()
/freebsd-12-stable/sbin/dump/
Dunctime.c53 str = strptime(str, "%a %b %e %T %Y", &then); in unctime()
/freebsd-12-stable/contrib/ntp/libparse/
Dclk_sel240x.c136 buffer = (unsigned char *) strptime( in cvt_sel240x()
/freebsd-12-stable/contrib/openbsm/bin/auditreduce/
Dauditreduce.c668 strptime(optarg, "%Y%m%d%H%M%S", &tm); in main()
681 strptime(optarg, "%Y%m%d%H%M%S", &tm); in main()
702 strptime(optarg, "%Y%m%d", &tm); in main()
/freebsd-12-stable/include/
Dtime.h194 char *strptime(const char * __restrict, const char * __restrict,
/freebsd-12-stable/usr.sbin/unbound/
Dconfig.h1436 #define strptime unbound_strptime macro
1438 char *strptime(const char *s, const char *format, struct tm *tm);
/freebsd-12-stable/crypto/heimdal/kadmin/
Dutil.c207 p = strptime (str, "%Y-%m-%d", &tm); in str2time_t()
217 if(p[0] != '\0' && strptime (p, "%H:%M:%S", &tm2) != NULL) { in str2time_t()
/freebsd-12-stable/crypto/openssh/openbsd-compat/
DMakefile.in60 strptime.o \
Dopenbsd-compat.h139 char *strptime(const char *buf, const char *fmt, struct tm *tm);
Dstrptime.c61 strptime(const char *buf, const char *fmt, struct tm *tm) in strptime() function
/freebsd-12-stable/contrib/tnftp/
Dtnftp.h398 char *strptime(const char *, const char *, struct tm *);
/freebsd-12-stable/usr.bin/touch/
Dtouch.c328 p = strptime(arg, fmt, &t); in stime_darg()
/freebsd-12-stable/bin/date/
Ddate.c293 t = strptime(p, fmt, lt); in setthetime()
/freebsd-12-stable/contrib/unbound/
Dconfigure.ac516 # check whether strptime also works
519 AC_MSG_CHECKING(whether strptime works)
525 res = strptime("2010-07-15T00:00:00+00:00", "%t%Y%t-%t%m%t-%t%d%tT%t%H%t:%t%M%t:%t%S%t", &tm);
527 res = strptime("20070207111842", "%Y%m%d%H%M%S", &tm);
536 AC_LIBOBJ(strptime)
538 AC_DEFINE_UNQUOTED([STRPTIME_WORKS], 1, [use default strptime.])
550 AC_CHECK_FUNCS([strptime],[AC_CHECK_STRPTIME_WORKS],[AC_LIBOBJ([strptime])])
2170 #define strptime unbound_strptime
2172 char *strptime(const char *s, const char *format, struct tm *tm);
/freebsd-12-stable/sbin/camcontrol/
Dtimestamp.c278 if (strptime(timestamp_string, format_string, in set_timestamp()

123