Lines Matching defs:p2
97 char *p, *p1, *p2, *py;
198 p2 = p + 1;
199 /* Now p2 points to the next field and p1 to the first field */
201 if ((py = strchr(p2, '/')) != NULL) {
205 p1 = p2;
206 p2 = py + 1;
213 || (checkmonth(p2, &len, &offset, &pmonth) != 0 && (p2 = p1))) {
214 /* p2 is the non-month part */
219 if (isonlydigits(p2, 1)) {
220 strlcpy(dayofmonth, p2, SLEN);
221 *idayofmonth = (int)strtol(p2, (char **)NULL, 10);
225 if (strcmp(p2, "*") == 0) {
230 if (checkdayofweek(p2, &len, &offset, &dow) != 0) {
235 if (strlen(p2) == len)
237 strlcpy(modifierindex, p2 + len, SLEN);
245 if ((strcmp(p1, "*") == 0 && isonlydigits(p2, 1))
246 || (strcmp(p2, "*") == 0 && isonlydigits(p1, 1) && (p2 = p1))) {
251 d = (int)strtol(p2, (char **)NULL, 10);
259 && checkdayofweek(p2, &len, &offset, &dow) != 0) {
272 if (strlen(p2) == len)
274 strlcpy(modifierindex, p2 + len, SLEN);
280 if (isonlydigits(p1, 1) && isonlydigits(p2, 0)) {
284 if (strchr(p2, '*') != NULL)
288 d = (int)strtol(p2, (char **)NULL, 10);