Home | History | Annotate | Download | only in tzcode

Lines Matching refs:rule

130 struct rule {
131 int r_type; /* type of rule; see below */
132 int r_day; /* day number of rule */
133 int r_week; /* week number of rule */
134 int r_mon; /* month number of rule */
135 int_fast32_t r_time; /* transition time of rule */
159 static const char * getrule(const char * strp, struct rule * rulep);
190 static int_fast32_t transtime(int year, const struct rule * rulep,
786 ** Given a pointer into a time zone string, extract a rule in the form
788 ** If a valid rule is not found, return NULL.
789 ** Otherwise, return a pointer to the first character not part of the rule.
793 getrule(const char * strp, register struct rule * const rulep)
839 ** Given a year, a rule, and the offset from UT at the time that rule takes
840 ** effect, calculate the year-relative time that rule takes effect.
844 transtime(const int year, register const struct rule *const rulep,
930 ** Given a POSIX section 8-style TZ string, fill in the rule tables as
998 struct rule start;
999 struct rule end;