Lines Matching refs:timetok
184 char timetok[10]; in str2lifetime() local
191 (void) memset(timetok, 0, sizeof (timetok)); in str2lifetime()
192 if (sscanf(ltimestr, "%d-%08s", &num, timetok) != 2) in str2lifetime()
195 if (!strcasecmp(timetok, "second") || in str2lifetime()
196 !strcasecmp(timetok, "seconds")) { in str2lifetime()
198 } else if (!strcasecmp(timetok, "minute") || in str2lifetime()
199 !strcasecmp(timetok, "minutes")) { in str2lifetime()
201 } else if (!strcasecmp(timetok, "day") || in str2lifetime()
202 !strcasecmp(timetok, "days")) { in str2lifetime()
204 } else if (!strcasecmp(timetok, "hour") || in str2lifetime()
205 !strcasecmp(timetok, "hours")) { in str2lifetime()