Lines Matching defs:rule
92 struct rule {
114 bool r_todo; /* a rule to do (used in outzone) */
140 struct rule * z_rules;
143 struct rule z_untilrule;
198 static zic_t rpytime(const struct rule * rp, zic_t wantedy);
199 static bool rulesub(struct rule * rp,
340 static struct rule * rules;
622 fprintf(stderr, _(" (rule from \"%s\", line %"PRIdMAX")"),
1622 ** Sort by rule name.
1628 struct rule const *r1 = cp1, *r2 = cp2;
1636 register struct rule * rp;
1648 warning(_("same rule name in multiple files"));
1650 warning(_("same rule name in multiple files"));
1692 ** Note, though, that if there's no rule,
1887 struct rule r = { 0 };
1899 error(_("Invalid rule name \"%s\""), fields[RF_NAME]);
2183 rulesub(struct rule *rp, const char *loyearp, const char *hiyearp,
2955 stringrule(char *result, struct rule *const rp, zic_t save, zic_t stdoff)
3022 rule_cmp(struct rule const *a, struct rule const *b)
3045 register struct rule * rp;
3046 register struct rule * stdrp;
3047 register struct rule * dstrp;
3052 struct rule stdr, dstr;
3055 struct rule *lastrp[2] = { NULL, NULL };
3069 struct rule **last;
3217 struct rule *rp = &zp->z_rules[j];
3224 ** Generate lots of data if a rule can't cover all future times.
3309 struct rule *rp = &zp->z_rules[j];
3325 struct rule *rp;
3344 ** Find the rule (of those to do, if any)
3349 struct rule *r = &zp->z_rules[j];
3504 struct rule xr;
3847 ** Given a rule, and a year, compute the date (in seconds since January 1,
3848 ** 1970, 00:00 LOCAL time) in that year that the rule refers to.
3852 rpytime(const struct rule *rp, zic_t wantedy)
3916 warning(_("rule goes past start/end of month; \