Searched refs:unix_time (Results 1 - 3 of 3) sorted by relevance

/sssd/src/tests/
H A Dutil-tests.c1038 time_t unix_time; local
1051 ret = sss_utc_to_time_t("20140801115742Z", "%Y%m%d%H%M%SZ", &unix_time);
1058 fail_unless(ret == EOK && difftime(1406894262, unix_time) == 0);
1064 time_t unix_time; local
1067 ret = sss_utc_to_time_t("20150127133540P", format, &unix_time);
1069 ret = sss_utc_to_time_t("0Z", format, &unix_time);
1071 ret = sss_utc_to_time_t("000001010000Z", format, &unix_time);
/sssd/src/util/
H A Dutil.h622 errno_t sss_utc_to_time_t(const char *str, const char *format, time_t *unix_time);
/sssd/src/db/
H A Dsysdb_sudo.c41 static errno_t sysdb_sudo_convert_time(const char *str, time_t *unix_time) argument
65 *unix_time = mktime(&tm);

Completed in 2380 milliseconds