Home
last modified time | relevance | path

Searched refs:tm (Results 1 – 11 of 11) sorted by relevance

/hostap-3.6.0/src/utils/
Dos_zephyr.c80 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 …]
Dos_win32.c65 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 …]
Dos_internal.c66 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 …]
Dos_unix.c137 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 …]
Dos_none.c41 int os_gmtime(os_time_t t, struct os_tm *tm) in os_gmtime() argument
Dos.h148 int os_gmtime(os_time_t t, struct os_tm *tm);
/hostap-3.6.0/hs20/server/
Dhs20_spp_server.c22 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()
Dspp_server.c672 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/
Dieee802_11_shared.c651 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/
Ddpp.c1559 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/
Dwps_upnp.c225 struct tm *date; in format_date()