Lines Matching defs:rule
113 struct rule {
114 int r_type; /* type of rule--see below */
115 int r_day; /* day number of rule */
116 int r_week; /* week number of rule */
117 int r_mon; /* month number of rule */
118 long r_time; /* transition time of rule */
138 static const char * getrule(const char * strp, struct rule * rulep);
169 const struct rule * rulep, long offset);
720 ** Given a pointer into a time zone string, extract a rule in the form
722 ** If a valid rule is not found, return NULL.
723 ** Otherwise, return a pointer to the first character not part of the rule.
727 getrule(const char *strp, struct rule *rulep)
776 ** year, a rule, and the offset from UTC at the time that rule takes effect,
777 ** calculate the Epoch-relative time that rule takes effect.
781 transtime(time_t janfirst, int year, const struct rule *rulep, long offset)
867 ** Given a POSIX section 8-style TZ string, fill in the rule tables as
938 struct rule start;
939 struct rule end;