Searched refs:tm0 (Results 1 - 5 of 5) sorted by relevance

/haiku-fatelf/src/bin/coreutils/lib/
H A Dposixtm.c186 struct tm tm0; local
191 if (posix_time_parse (&tm0, s, syntax_bits))
194 tm1 = tm0;
211 if ((tm0.tm_year ^ tm->tm_year)
212 | (tm0.tm_mon ^ tm->tm_mon)
213 | (tm0.tm_mday ^ tm->tm_mday)
214 | (tm0.tm_hour ^ tm->tm_hour)
215 | (tm0.tm_min ^ tm->tm_min)
216 | (tm0.tm_sec ^ tm->tm_sec))
219 if (tm0
[all...]
H A Dgetdate.y1160 mktime_ok (struct tm const *tm0, struct tm const *tm1, time_t t)
1172 return ! ((tm0->tm_sec ^ tm1->tm_sec)
1173 | (tm0->tm_min ^ tm1->tm_min)
1174 | (tm0->tm_hour ^ tm1->tm_hour)
1175 | (tm0->tm_mday ^ tm1->tm_mday)
1176 | (tm0->tm_mon ^ tm1->tm_mon)
1177 | (tm0->tm_year ^ tm1->tm_year));
1211 struct tm tm0;
1395 tm0 = tm;
1399 if (! mktime_ok (&tm0,
[all...]
H A Dgetdate.c3133 mktime_ok (struct tm const *tm0, struct tm const *tm1, time_t t)
3145 return ! ((tm0->tm_sec ^ tm1->tm_sec)
3146 | (tm0->tm_min ^ tm1->tm_min)
3147 | (tm0->tm_hour ^ tm1->tm_hour)
3148 | (tm0->tm_mday ^ tm1->tm_mday)
3149 | (tm0->tm_mon ^ tm1->tm_mon)
3150 | (tm0->tm_year ^ tm1->tm_year));
3184 struct tm tm0;
3368 tm0 = tm;
3372 if (! mktime_ok (&tm0,
3130 mktime_ok(struct tm const *tm0, struct tm const *tm1, time_t t) argument
3181 struct tm tm0; local
[all...]
/haiku-fatelf/src/bin/rcs/
H A Dmaketime.c262 struct tm *tm0 = 0; local
265 tm0 = 0; /* Keep gcc -Wall happy. */
272 tm0 = time2tm(default_time, localzone);
274 adjzone(tm0, pt->zone);
279 (tm0->tm_year + TM_YEAR_ORIGIN)/pt->ymodulus * pt->ymodulus;
282 tm.tm_year = tm0->tm_year + TM_YEAR_ORIGIN;
284 tm.tm_mon = tm0->tm_mon;
286 tm.tm_mday = tm0->tm_mday;
/haiku-fatelf/src/bin/patch/
H A Dmaketime.c303 struct tm *tm0 = 0; local
307 tm0 = 0; /* Keep gcc -Wall happy. */
319 tm0 = time2tm (default_time, localzone);
321 adjzone (tm0, pt->zone);
325 tm.tm_mday = (tm0->tm_mday
326 + ((wday - tm0->tm_wday + 7) % 7
332 int year0 = tm0->tm_year + TM_YEAR_ORIGIN;
342 year = tm0->tm_year + TM_YEAR_ORIGIN;
345 tm.tm_mon = tm0->tm_mon;
347 tm.tm_mday = tm0
[all...]

Completed in 57 milliseconds