Lines Matching refs:rules
76 * rules that describe the timezone. In Solaris, the file is in
78 * on zoneinfo rules "source" files. This is all described on the zic(1M)
192 rule_t *rules[2];
236 rule_t start_rule; /* For POSIX w/rules */
237 rule_t end_rule; /* For POSIX w/rules */
1338 * POSIX timezones. If explicit POSIX transition rules were provided
1357 * If transition rules were provided for this zone,
1358 * use them, otherwise, default to USA daylight rules,
1364 if (sp->zonerules == POSIX) { /* POSIX rules */
1365 pdaylight.rules[0] = &sp->start_rule;
1366 pdaylight.rules[1] = &sp->end_rule;
1372 pdaylight.rules[0] = (rule_t *)&__usa_rules[i].start;
1373 pdaylight.rules[1] = (rule_t *)&__usa_rules[i].end;
1395 * of two rules, and two GMT offsets (timezone and altzone), calculate
1396 * the two Epoch-relative times the two rules take effect, and return
1420 rulep = pdaylightp->rules[idx];
1449 * Following heuristic increases accuracy of USA rules
2402 pdaylight.rules[0] = &sp->start_rule;
2403 pdaylight.rules[1] = &sp->end_rule;
2411 pdaylight.rules[0] = (rule_t *)&__usa_rules[i].start;
2412 pdaylight.rules[1] = (rule_t *)&__usa_rules[i].end;
2519 * `HOURSPERDAY * DAYSPERWEEK - 1' allows quasi-Posix rules like