Lines Matching defs:rule
146 struct rule {
147 enum r_type r_type; /* type of rule */
148 int r_day; /* day number of rule */
149 int r_week; /* week number of rule */
150 int r_mon; /* month number of rule */
151 int_fast32_t r_time; /* transition time of rule */
937 ** Given a pointer into a timezone string, extract a rule in the form
940 ** If a valid rule is not found, return NULL.
941 ** Otherwise, return a pointer to the first character not part of the rule.
945 getrule(const char *strp, register struct rule *const rulep)
991 ** Given a year, a rule, and the offset from UT at the time that rule takes
992 ** effect, calculate the year-relative time that rule takes effect.
996 transtime(const int year, register const struct rule *const rulep,
1083 ** Given a POSIX.1-2017-style TZ string, fill in the rule tables as
1156 struct rule start;
1157 struct rule end;