Lines Matching defs:errp
55 ns_datetosecs(const char *cp, int *errp) {
63 *errp = 1;
66 *errp = 0;
69 time.tm_year = datepart(cp + 0, 4, 1990, 9999, errp) - 1900;
70 time.tm_mon = datepart(cp + 4, 2, 01, 12, errp) - 1;
71 time.tm_mday = datepart(cp + 6, 2, 01, 31, errp);
72 time.tm_hour = datepart(cp + 8, 2, 00, 23, errp);
73 time.tm_min = datepart(cp + 10, 2, 00, 59, errp);
74 time.tm_sec = datepart(cp + 12, 2, 00, 59, errp);
75 if (*errp) /*%< Any parse errors? */
113 datepart(const char *buf, int size, int min, int max, int *errp) {
119 *errp = 1;
123 *errp = 1;
125 *errp = 1;