Lines Matching refs:hours
54 int hours, minutes;
81 for (hours = 0; (c = *cp) && c != '\n'; ++cp) {
84 hours = hours * 10 + (c - '0');
86 minutes = hours % 100;
87 hours /= 100;
92 secs = hours * 60 * 60 + minutes * 60;
97 if (hours > 23)
101 if (hours > 11)
102 hours -= 12;
110 if (hours < t_12_hour ||
111 (hours == t_12_hour && minutes <= t->tm_min))
113 hours += 12;
115 secs = (hours - t_12_hour) * 60 * 60;