Searched refs:tm (Results 1 - 8 of 8) sorted by relevance

/sssd/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/src/util/
H A Ddebug.c218 struct tm *tm; local
248 tm = localtime(&tv.tv_sec);
249 year = tm->tm_year + 1900;
H A Dutil.c938 struct tm tm; local
953 memset(&tm, 0, sizeof(tm));
955 end = strptime(str, format, &tm);
970 ut = mktime(&tm);
/sssd/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/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/src/sss_client/
H A Dpam_sss.c456 struct tm tm; local
470 if (localtime_r((time_t *) &expire_date, &tm) != NULL) {
471 ret = strftime(expire_str, sizeof(expire_str), "%c", &tm);
579 struct tm tm; local
597 if (localtime_r((time_t *) &delayed_until, &tm) != NULL) {
598 ret = strftime(delay_str, sizeof(delay_str), "%c", &tm);
/sssd/src/lib/ipa_hbac/
H A Dhbac_evaluator.c428 struct tm *local_time = NULL;
/sssd/src/providers/ldap/
H A Dsdap_access.c579 struct tm *tm_now;

Completed in 2060 milliseconds