Symbol: parsedate
bin/date/date.c
122
tval = parsedate(optarg, NULL, NULL);
bin/pax/options.c
2118
if ((when = parsedate(b, NULL, NULL)) == -1 && errno != 0)
include/util.h
112
time_t parsedate(const char *, const time_t *, const int *)
lib/libutil/compat/compat_parsedate.c
49
__warn_references(parsedate,
lib/libutil/compat/compat_parsedate.c
54
parsedate(const char *str, const int32_t *t50, const int *tzoff)
lib/libutil/compat/util.h
50
int32_t parsedate(const char *, const int32_t *, const int *);
lib/libutil/parsedate.y
1341
d = parsedate(buff, NULL, NULL);
sbin/gpt/main.c
133
if ((when = parsedate(b, NULL, NULL)) != -1 || errno == 0)
sbin/newfs_msdos/newfs_msdos.c
79
if ((when = parsedate(b, NULL, NULL)) != -1 || errno == 0)
tests/lib/libutil/t_parsedate.c
294
p = parsedate(s, &now, NULL); \
tests/lib/libutil/t_parsedate.c
306
ATF_CHECK(parsedate("-1 month", NULL, NULL) != -1);
tests/lib/libutil/t_parsedate.c
307
ATF_CHECK(parsedate("last friday", NULL, NULL) != -1);
tests/lib/libutil/t_parsedate.c
308
ATF_CHECK(parsedate("one week ago", NULL, NULL) != -1);
tests/lib/libutil/t_parsedate.c
309
ATF_CHECK(parsedate("this thursday", NULL, NULL) != -1);
tests/lib/libutil/t_parsedate.c
310
ATF_CHECK(parsedate("next sunday", NULL, NULL) != -1);
tests/lib/libutil/t_parsedate.c
311
ATF_CHECK(parsedate("+2 years", NULL, NULL) != -1);
tests/lib/libutil/t_parsedate.c
489
ATF_CHECK(parsedate("@0", NULL, NULL) == (time_t)0);
tests/lib/libutil/t_parsedate.c
492
ATF_CHECK(parsedate("@0", NULL, NULL) == (time_t)0);
tests/lib/libutil/t_parsedate.c
495
ATF_CHECK(parsedate("@0", NULL, NULL) == (time_t)0);
tests/lib/libutil/t_parsedate.c
497
ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0);
tests/lib/libutil/t_parsedate.c
499
ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0);
tests/lib/libutil/t_parsedate.c
501
ATF_CHECK(parsedate("@0", NULL, &tzoff) == (time_t)0);
tests/lib/libutil/t_parsedate.c
505
ATF_CHECK(parsedate("@-1", NULL, &tzoff) == (time_t)-1 && errno == 0);
tests/lib/libutil/t_parsedate.c
506
ATF_CHECK(parsedate("@-2", NULL, &tzoff) == (time_t)-2 && errno == 0);
tests/lib/libutil/t_parsedate.c
510
ATF_CHECK(parsedate("@junk", NULL, NULL) == (time_t)-1 && errno != 0);
tests/lib/libutil/t_parsedate.c
602
ATF_CHECK(parsedate("invalid nonsense", NULL, NULL) == (time_t)-1
tests/lib/libutil/t_parsedate.c
605
ATF_CHECK(parsedate("12th day of Christmas", NULL, NULL) == (time_t)-1
tests/lib/libutil/t_parsedate.c
608
ATF_CHECK(parsedate("2015-31-07 15:00", NULL, NULL) == (time_t)-1
tests/lib/libutil/t_parsedate.c
611
ATF_CHECK(parsedate("2015-02-29 10:01", NULL, NULL) == (time_t)-1
tests/lib/libutil/t_parsedate.c
614
ATF_CHECK(parsedate("2015-12-06 24:01", NULL, NULL) == (time_t)-1
tests/lib/libutil/t_parsedate.c
617
ATF_CHECK(parsedate("2015-12-06 14:61", NULL, NULL) == (time_t)-1
tests/lib/libutil/t_parsedate.c
85
ATF_CHECK_MSG((t = parsedate(datestr, reftime, zoff)) != -1,
usr.bin/find/function.c
205
timestamp = parsedate(vp, NULL, NULL);
usr.bin/touch/touch.c
241
tsp[1].tv_sec = tsp[0].tv_sec = parsedate(arg, NULL, NULL);
usr.sbin/eeprom/eehandlers.c
164
if ((t = parsedate(arg, NULL, NULL)) == (time_t)(-1))
usr.sbin/makefs/makefs.c
486
if ((when = parsedate(b, NULL, NULL)) == -1 && errno != 0)