Searched defs:tm (Results 1 - 6 of 6) sorted by relevance

/sssd-io/src/tests/cmocka/
H A Dtest_expire_common.c40 struct tm *tm; local
46 tm = gmtime(&t);
47 len = strftime(timestr, MAX, format, tm);
/sssd-io/src/util/
H A Ddebug.c272 struct tm *tm; local
302 tm = localtime(&tv.tv_sec);
303 year = tm->tm_year + 1900;
H A Dutil.c839 struct tm tm; local
854 memset(&tm, 0, sizeof(tm));
856 end = strptime(str, format, &tm);
871 ut = mktime(&tm);
/sssd-io/src/tools/sssctl/
H A Dsssctl_cache.c66 struct tm *tm; local
70 tm = localtime(&timestamp);
71 if (tm == NULL) {
75 ret = strftime(str, 255, "%x %X", tm);
/sssd-io/src/db/
H A Dsysdb_sudo.c43 struct tm tm; local
62 memset(&tm, 0, sizeof(struct tm));
63 tret = strptime(str, *format, &tm);
65 *unix_time = mktime(&tm);
/sssd-io/src/sss_client/
H A Dpam_sss.c503 struct tm tm; local
517 if (localtime_r((time_t *) &expire_date, &tm) != NULL) {
518 ret = strftime(expire_str, sizeof(expire_str), "%c", &tm);
626 struct tm tm; local
644 if (localtime_r((time_t *) &delayed_until, &tm) != NULL) {
645 ret = strftime(delay_str, sizeof(delay_str), "%c", &tm);

Completed in 26 milliseconds