Lines Matching defs:weekdays_bits
133 if (c->weekdays_bits <= 0 || c->weekdays_bits >= BITS_WEEKDAYS)
134 c->weekdays_bits = -1;
167 if (c->weekdays_bits > BITS_WEEKDAYS)
207 assert(c->weekdays_bits > 0 && c->weekdays_bits <= BITS_WEEKDAYS);
211 if (c->weekdays_bits & (1 << x)) {
284 if (c->weekdays_bits > 0 && c->weekdays_bits <= BITS_WEEKDAYS) {
365 c->weekdays_bits |= 1 << day_nr[i].nr;
374 c->weekdays_bits |= 1 << j;
637 if (c->day || c->weekdays_bits > 0)
792 c->weekdays_bits = 1;
953 static bool matches_weekday(int weekdays_bits, const struct tm *tm, bool utc) {
957 if (weekdays_bits < 0 || weekdays_bits >= BITS_WEEKDAYS)
965 return (weekdays_bits & (1 << k));
1022 if (!matches_weekday(spec->weekdays_bits, &c, spec->utc)) {