Home
last modified time | relevance | path

Searched refs:rulep (Results 1 – 1 of 1) sorted by relevance

/haiku/src/bin/unzip/
H A Dtimezone.c113 ZCONST struct rule * ZCONST rulep,
123 static ZCONST char *getrule OF((ZCONST char *strp, struct rule * ZCONST rulep));
127 static time_t transtime(janfirst, year, rulep, offset) in transtime() argument
130 ZCONST struct rule * ZCONST rulep;
140 switch (rulep->r_type) {
150 value = janfirst + (rulep->r_day - 1) * SECSPERDAY;
151 if (leapyear && rulep->r_day >= 60)
161 value = janfirst + rulep->r_day * SECSPERDAY;
173 value += yr_days[leapyear][rulep->r_mon - 1] * SECSPERDAY;
179 m1 = (rulep->r_mon + 9) % 12 + 1;
[all …]