Lines Matching defs:rules
81 * rules that describe the timezone. In Solaris, the file is in
83 * on zoneinfo rules "source" files. This is all described on the zic(1M)
251 rule_t *rules[2];
291 rule_t start_rule; /* For POSIX w/rules */
292 rule_t end_rule; /* For POSIX w/rules */
1250 * POSIX timezones. If explicit POSIX transition rules were provided
1269 * If transition rules were provided for this zone,
1270 * use them, otherwise, default to USA daylight rules,
1276 if (sp->zonerules == POSIX) { /* POSIX rules */
1277 pdaylight.rules[0] = &sp->start_rule;
1278 pdaylight.rules[1] = &sp->end_rule;
1284 pdaylight.rules[0] = (rule_t *)&__usa_rules[i].start;
1285 pdaylight.rules[1] = (rule_t *)&__usa_rules[i].end;
1307 * of two rules, and two GMT offsets (timezone and altzone), calculate
1308 * the two Epoch-relative times the two rules take effect, and return
1332 rulep = pdaylightp->rules[idx];
1361 * Following heuristic increases accuracy of USA rules
2087 pdaylight.rules[0] = &sp->start_rule;
2088 pdaylight.rules[1] = &sp->end_rule;
2094 pdaylight.rules[0] = (rule_t *)&__usa_rules[i].start;
2095 pdaylight.rules[1] = (rule_t *)&__usa_rules[i].end;
2192 * `HOURSPERDAY * DAYSPERWEEK - 1' allows quasi-Posix rules like