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