Lines Matching refs:strp
146 getzname(register const char *strp)
150 while ((c = *strp) != '\0' && !is_digit(c) && c != ',' && c != '-' &&
152 ++strp;
153 return strp;
164 register const char *strp,
173 if (strp == NULL || !is_digit(c = *strp))
180 c = *++strp;
185 return strp;
197 register const char *strp,
209 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1);
210 if (strp == NULL)
213 if (*strp == ':') {
214 ++strp;
215 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
216 if (strp == NULL)
219 if (*strp == ':') {
220 ++strp;
222 strp = getnum(strp, &num, 0, SECSPERMIN);
223 if (strp == NULL)
228 return strp;
239 register const char *strp,
245 if (*strp == '-') {
247 ++strp;
248 } else if (*strp == '+')
249 ++strp;
250 strp = getsecs(strp, offsetp);
251 if (strp == NULL)
255 return strp;
266 const char *strp,
270 if (*strp == 'J') {
275 ++strp;
276 strp = getnum(strp, &rulep->r_day, 1, DAYSPERNYEAR);
277 } else if (*strp == 'M') {
282 ++strp;
283 strp = getnum(strp, &rulep->r_mon, 1, MONSPERYEAR);
284 if (strp == NULL)
286 if (*strp++ != '.')
288 strp = getnum(strp, &rulep->r_week, 1, 5);
289 if (strp == NULL)
291 if (*strp++ != '.')
293 strp = getnum(strp, &rulep->r_day, 0, DAYSPERWEEK - 1);
294 } else if (is_digit(*strp)) {
299 strp = getnum(strp, &rulep->r_day, 0, DAYSPERLYEAR - 1);
301 if (strp == NULL)
303 if (*strp == '/') {
307 ++strp;
308 strp = getsecs(strp, &rulep->r_time);
310 return strp;