/hostap-3.6.0/src/utils/ |
D | os_zephyr.c | 80 struct tm tm, *tm1; in os_mktime() local 90 memset(&tm, 0, sizeof(tm)); in os_mktime() 91 tm.tm_year = year - 1900; in os_mktime() 92 tm.tm_mon = month - 1; in os_mktime() 93 tm.tm_mday = day; in os_mktime() 94 tm.tm_hour = hour; in os_mktime() 95 tm.tm_min = min; in os_mktime() 96 tm.tm_sec = sec; in os_mktime() 98 t_local = mktime(&tm); in os_mktime() 119 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
D | os_win32.c | 65 struct tm tm, *tm1; in os_mktime() local 74 memset(&tm, 0, sizeof(tm)); in os_mktime() 75 tm.tm_year = year - 1900; in os_mktime() 76 tm.tm_mon = month - 1; in os_mktime() 77 tm.tm_mday = day; in os_mktime() 78 tm.tm_hour = hour; in os_mktime() 79 tm.tm_min = min; in os_mktime() 80 tm.tm_sec = sec; in os_mktime() 82 t_local = mktime(&tm); in os_mktime() 102 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
D | os_internal.c | 66 struct tm tm; in os_mktime() local 73 os_memset(&tm, 0, sizeof(tm)); in os_mktime() 74 tm.tm_year = year - 1900; in os_mktime() 75 tm.tm_mon = month - 1; in os_mktime() 76 tm.tm_mday = day; in os_mktime() 77 tm.tm_hour = hour; in os_mktime() 78 tm.tm_min = min; in os_mktime() 79 tm.tm_sec = sec; in os_mktime() 81 *t = (os_time_t) mktime(&tm); in os_mktime() 86 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
D | os_unix.c | 137 struct tm tm, *tm1; in os_mktime() local 146 memset(&tm, 0, sizeof(tm)); in os_mktime() 147 tm.tm_year = year - 1900; in os_mktime() 148 tm.tm_mon = month - 1; in os_mktime() 149 tm.tm_mday = day; in os_mktime() 150 tm.tm_hour = hour; in os_mktime() 151 tm.tm_min = min; in os_mktime() 152 tm.tm_sec = sec; in os_mktime() 154 t_local = mktime(&tm); in os_mktime() 174 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument [all …]
|
D | os_none.c | 41 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument
|
D | os.h | 148 int os_gmtime(os_time_t t, struct os_tm *tm);
|
/hostap-3.6.0/hs20/server/ |
D | hs20_spp_server.c | 22 struct tm *tm; in write_timestamp() local 25 tm = localtime(&t); in write_timestamp() 28 tm->tm_year + 1900, tm->tm_mon + 1, tm->tm_mday, in write_timestamp() 29 tm->tm_hour, tm->tm_min, tm->tm_sec); in write_timestamp()
|
D | spp_server.c | 672 struct tm tm; in add_creation_date() local 675 gmtime_r(&now, &tm); in add_creation_date() 677 tm.tm_year + 1900, tm.tm_mon + 1, tm.tm_mday, in add_creation_date() 678 tm.tm_hour, tm.tm_min, tm.tm_sec); in add_creation_date()
|
/hostap-3.6.0/src/ap/ |
D | ieee802_11_shared.c | 651 struct os_tm tm; in hostapd_update_time_adv() local 657 if (os_get_time(&t) < 0 || os_gmtime(t.sec, &tm) < 0) in hostapd_update_time_adv() 675 WPA_PUT_LE16(pos, tm.year); /* Year */ in hostapd_update_time_adv() 677 *pos++ = tm.month; /* Month */ in hostapd_update_time_adv() 678 *pos++ = tm.day; /* Day of month */ in hostapd_update_time_adv() 679 *pos++ = tm.hour; /* Hours */ in hostapd_update_time_adv() 680 *pos++ = tm.min; /* Minutes */ in hostapd_update_time_adv() 681 *pos++ = tm.sec; /* Seconds */ in hostapd_update_time_adv()
|
/hostap-3.6.0/src/common/ |
D | dpp.c | 1559 struct os_tm tm; in dpp_build_conf_obj_dpp() local 1562 if (os_gmtime(conf->netaccesskey_expiry, &tm) < 0) { in dpp_build_conf_obj_dpp() 1569 tm.year, tm.month, tm.day, in dpp_build_conf_obj_dpp() 1570 tm.hour, tm.min, tm.sec); in dpp_build_conf_obj_dpp()
|
/hostap-3.6.0/src/wps/ |
D | wps_upnp.c | 225 struct tm *date; in format_date()
|