Lines Matching defs:tm
296 struct tm tm;
300 zero(tm);
301 r = clock_get_hwclock(&tm);
311 t = (usec_t) timegm(&tm) * USEC_PER_SEC;
393 struct tm *tm;
397 assert_se(tm = localtime(&ts.tv_sec));
398 clock_set_hwclock(tm);
458 struct tm tm;
462 * struct tm. */
464 tm = *localtime(&ts.tv_sec);
466 tm = *gmtime(&ts.tv_sec);
469 * struct tm, but not the timezone
471 if (clock_get_hwclock(&tm) >= 0) {
476 ts.tv_sec = mktime(&tm);
478 ts.tv_sec = timegm(&tm);
484 struct tm *tm;
488 tm = localtime(&ts.tv_sec);
490 tm = gmtime(&ts.tv_sec);
492 clock_set_hwclock(tm);
508 struct tm* tm;
574 tm = localtime(&ts.tv_sec);
576 tm = gmtime(&ts.tv_sec);
577 clock_set_hwclock(tm);