Searched defs:tm (Results 1 - 6 of 6) sorted by relevance
/sssd-io/src/tests/cmocka/ |
H A D | test_expire_common.c | 40 struct tm *tm; local 46 tm = gmtime(&t); 47 len = strftime(timestr, MAX, format, tm);
|
/sssd-io/src/util/ |
H A D | debug.c | 272 struct tm *tm; local 302 tm = localtime(&tv.tv_sec); 303 year = tm->tm_year + 1900;
|
H A D | util.c | 839 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 D | sssctl_cache.c | 66 struct tm *tm; local 70 tm = localtime(×tamp); 71 if (tm == NULL) { 75 ret = strftime(str, 255, "%x %X", tm);
|
/sssd-io/src/db/ |
H A D | sysdb_sudo.c | 43 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 D | pam_sss.c | 503 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 29 milliseconds