Lines Matching defs:lastc
241 char *lastc;
249 char *minutes = strtok_r(arg, " \t:", &lastc);
250 char *seconds = strtok_r(NULL, " \t", &lastc);
253 if (seconds != NULL && strtok_r(NULL, " \t", &lastc) != NULL)
255 value = strtoull(minutes, &lastc, 10);
256 if (*lastc != '\0' || value > RLIM64_INFINITY / 60)
261 sec = strtoull(seconds, &lastc, 10);
262 if (*lastc != '\0' || sec > 60)
272 switch (*(lastc = arg + strlen(arg) - 1)) {
275 *lastc = '\0';
282 *lastc = '\0';
289 *lastc = '\0';
304 value = strtoull(arg, &lastc, 10);
305 if (*lastc != '\0' || value > RLIM64_INFINITY / unit)
318 char *lastc;
319 char *soft = strtok_r(arg, " \t,", &lastc);
320 char *hard = strtok_r(NULL, " \t", &lastc);
323 if (hard != NULL && strtok_r(NULL, " \t", &lastc) != NULL)