Lines Matching refs:hour
364 int hour, minute = 0; in tod() local
367 hour = atoi(sc_token); in tod()
381 minute = hour%100; in tod()
384 hour = hour/100; in tod()
390 if (hour > 12) in tod()
394 if (hour != 12) /* 12:xx PM is 12:xx, not 24:xx */ in tod()
395 hour += 12; in tod()
397 if (hour == 12) /* 12:xx AM is 00:xx, not 12:xx */ in tod()
398 hour = 0; in tod()
402 else if (hour > 23) in tod()
410 tm->tm_hour > hour) { in tod()
415 tm->tm_hour = hour; in tod()