Lines Matching refs:timeunit
455 char *timeunit; in getoffset() local
469 offset = strtol(timearg, &timeunit, 10); in getoffset()
472 if (timeunit[0] == '\0' || strcasecmp(timeunit, "m") == 0 || in getoffset()
473 strcasecmp(timeunit, "min") == 0 || in getoffset()
474 strcasecmp(timeunit, "mins") == 0) { in getoffset()
476 } else if (strcasecmp(timeunit, "h") == 0 || in getoffset()
477 strcasecmp(timeunit, "hour") == 0 || in getoffset()
478 strcasecmp(timeunit, "hours") == 0) { in getoffset()
480 } else if (strcasecmp(timeunit, "s") == 0 || in getoffset()
481 strcasecmp(timeunit, "sec") == 0 || in getoffset()
482 strcasecmp(timeunit, "secs") == 0) { in getoffset()