Lines Matching refs:hour
185 int32_t hour = parseHour(hour_str, errorCode); in addCutoff() local
188 cutoffs[hour] |= 1 << type; in addCutoff()
211 for (int32_t hour = startHour + 1;; ++hour) { in setDayPeriodForHoursFromCutoffs() local
212 if (hour == startHour) { in setDayPeriodForHoursFromCutoffs()
217 if (hour == 25) { hour = 0; } in setDayPeriodForHoursFromCutoffs()
218 if (cutoffs[hour] & (1 << CUTOFF_TYPE_BEFORE)) { in setDayPeriodForHoursFromCutoffs()
219 rule.add(startHour, hour, period); in setDayPeriodForHoursFromCutoffs()
260 int32_t hour = time[0] - 0x30; in parseHour() local
261 if (hour < 0 || 9 < hour) { in parseHour()
271 hour = hour * 10 + hourDigit2; in parseHour()
272 if (hour > 24) { in parseHour()
278 return hour; in parseHour()