Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 31) sorted by relevance

12

/hostap-latest/src/utils/
Dwpa_debug_zephyr.c26 void wpa_printf_impl(int level, const char *fmt, ...) in wpa_printf_impl() argument
35 va_start(ap, fmt); in wpa_printf_impl()
36 vsnprintf(buffer, sizeof(buffer), fmt, ap); in wpa_printf_impl()
177 void wpa_msg_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_impl() argument
185 va_start(ap, fmt); in wpa_msg_impl()
186 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_impl()
194 va_start(ap, fmt); in wpa_msg_impl()
206 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_impl()
214 void wpa_msg_ctrl_impl(void *ctx, int level, const char *fmt, ...) in wpa_msg_ctrl_impl() argument
224 va_start(ap, fmt); in wpa_msg_ctrl_impl()
[all …]
Dwpa_debug.c209 void wpa_printf(int level, const char *fmt, ...) in wpa_printf() argument
215 va_start(ap, fmt); in wpa_printf()
217 ANDROID_LOG_NAME, fmt, ap); in wpa_printf()
222 va_start(ap, fmt); in wpa_printf()
223 vsyslog(syslog_priority(level), fmt, ap); in wpa_printf()
230 va_start(ap, fmt); in wpa_printf()
231 vfprintf(out_file, fmt, ap); in wpa_printf()
237 va_start(ap, fmt); in wpa_printf()
238 vprintf(fmt, ap); in wpa_printf()
247 va_start(ap, fmt); in wpa_printf()
[all …]
Dwpa_debug_zephyr.h66 #define wpa_printf(level, fmt, ...) \ argument
68 wpa_printf_impl(level, fmt, ##__VA_ARGS__))
70 void wpa_printf_impl(int level, const char *fmt, ...) PRINTF_FORMAT(2, 3);
194 #define wpa_msg(ctx, level, fmt, ...) \ argument
196 wpa_msg_impl(ctx, level, fmt, ##__VA_ARGS__))
198 void wpa_msg_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
213 #define wpa_msg_ctrl(ctx, level, fmt, ...) \ argument
215 wpa_msg_ctrl_impl(ctx, level, fmt, ##__VA_ARGS__))
217 void wpa_msg_ctrl_impl(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
233 #define wpa_msg_global(ctx, level, fmt, ...) \ argument
[all …]
Dwpa_debug.h74 void wpa_printf(int level, const char *fmt, ...)
187 void wpa_msg(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
201 void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
217 void wpa_msg_global(void *ctx, int level, const char *fmt, ...)
232 void wpa_msg_global_ctrl(void *ctx, int level, const char *fmt, ...)
246 void wpa_msg_no_global(void *ctx, int level, const char *fmt, ...)
260 void wpa_msg_global_only(void *ctx, int level, const char *fmt, ...)
289 const char *fmt, ...) PRINTF_FORMAT(5, 6);
Dwpabuf.c298 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) in wpabuf_printf() argument
304 va_start(ap, fmt); in wpabuf_printf()
305 res = vsnprintf(tmp, buf->size - buf->used, fmt, ap); in wpabuf_printf()
Dxml_libxml2.c31 static void add_str(void *ctx_ptr, const char *fmt, ...) in add_str() argument
43 va_start(ap, fmt); in add_str()
44 len = vsnprintf(str->buf + str->len, MAX_STR, fmt, ap); in add_str()
Dcommon.c272 int wpa_scnprintf(char *buf, size_t size, const char *fmt, ...) in wpa_scnprintf() argument
280 va_start(ap, fmt); in wpa_scnprintf()
281 ret = vsnprintf(buf, size, fmt, ap); in wpa_scnprintf()
Dwpabuf.h39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3);
/hostap-latest/wpa_supplicant/
Dwpa_cli_zephyr.c419 int zephyr_wpa_cli_cmd_v(const char *fmt, ...) in zephyr_wpa_cli_cmd_v() argument
426 va_start(cmd_args, fmt); in zephyr_wpa_cli_cmd_v()
427 vsnprintf(cmd, sizeof(cmd), fmt, cmd_args); in zephyr_wpa_cli_cmd_v()
505 int zephyr_wpa_cli_global_cmd_v(const char *fmt, ...) in zephyr_wpa_cli_global_cmd_v() argument
512 va_start(cmd_args, fmt); in zephyr_wpa_cli_global_cmd_v()
513 vsnprintf(cmd, sizeof(cmd), fmt, cmd_args); in zephyr_wpa_cli_global_cmd_v()
Dwpa_cli_zephyr.h33 int zephyr_wpa_cli_cmd_v(const char *fmt, ...);
44 int zephyr_wpa_cli_global_cmd_v(const char *fmt, ...);
/hostap-latest/hs20/server/
Dhs20_spp_server.c33 void debug_print(struct hs20_svc *ctx, int print, const char *fmt, ...) in debug_print() argument
41 va_start(ap, fmt); in debug_print()
42 vfprintf(ctx->debug_log, fmt, ap); in debug_print()
Dspp_server.h26 void debug_print(struct hs20_svc *ctx, int print, const char *fmt, ...)
/hostap-latest/hs20/client/
Dosu_client.h60 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...)
62 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...)
Dosu_client.c31 void write_result(struct hs20_osu_client *ctx, const char *fmt, ...) in write_result() argument
37 va_start(ap, fmt); in write_result()
38 vsnprintf(buf, sizeof(buf), fmt, ap); in write_result()
49 va_start(ap, fmt); in write_result()
50 vfprintf(f, fmt, ap); in write_result()
57 void write_summary(struct hs20_osu_client *ctx, const char *fmt, ...) in write_summary() argument
69 va_start(ap, fmt); in write_summary()
70 vfprintf(f, fmt, ap); in write_summary()
/hostap-latest/src/tls/
Dtlsv1_server.c24 void tlsv1_server_log(struct tlsv1_server *conn, const char *fmt, ...) in tlsv1_server_log() argument
30 va_start(ap, fmt); in tlsv1_server_log()
31 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in tlsv1_server_log()
37 va_start(ap, fmt); in tlsv1_server_log()
38 vsnprintf(buf, buflen, fmt, ap); in tlsv1_server_log()
Dtlsv1_server_i.h74 void tlsv1_server_log(struct tlsv1_server *conn, const char *fmt, ...)
/hostap-latest/hostapd/
Dhostapd_cli_zephyr.c230 int zephyr_hostapd_cli_cmd_v(const char *fmt, ...) in zephyr_hostapd_cli_cmd_v() argument
237 va_start(cmd_args, fmt); in zephyr_hostapd_cli_cmd_v()
238 vsnprintf(cmd, sizeof(cmd), fmt, cmd_args); in zephyr_hostapd_cli_cmd_v()
Dhostapd_cli_zephyr.h21 int zephyr_hostapd_cli_cmd_v(const char *fmt, ...);
/hostap-latest/wlantest/
Dwlantest.c283 void add_note(struct wlantest *wt, int level, const char *fmt, ...) in add_note() argument
295 va_start(ap, fmt); in add_note()
296 wlen = vsnprintf(wt->notes[wt->num_notes], len, fmt, ap); in add_note()
/hostap-latest/src/eap_server/
Deap_i.h206 void eap_log_msg(struct eap_sm *sm, const char *fmt, ...)
Deap_server.c187 void eap_log_msg(struct eap_sm *sm, const char *fmt, ...) in eap_log_msg() argument
196 va_start(ap, fmt); in eap_log_msg()
197 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in eap_log_msg()
203 va_start(ap, fmt); in eap_log_msg()
204 vsnprintf(buf, buflen, fmt, ap); in eap_log_msg()
/hostap-latest/src/p2p/
Dp2p_i.h905 void p2p_dbg(struct p2p_data *p2p, const char *fmt, ...)
907 void p2p_info(struct p2p_data *p2p, const char *fmt, ...)
909 void p2p_err(struct p2p_data *p2p, const char *fmt, ...)
/hostap-latest/src/eapol_auth/
Deapol_auth_sm.c62 const char *fmt, ...) in eapol_auth_vlogger() argument
71 maxlen = os_strlen(fmt) + 100; in eapol_auth_vlogger()
76 va_start(ap, fmt); in eapol_auth_vlogger()
77 vsnprintf(format, maxlen, fmt, ap); in eapol_auth_vlogger()
/hostap-latest/src/radius/
Dradius_server.c284 void srv_log(struct radius_session *sess, const char *fmt, ...)
287 void srv_log(struct radius_session *sess, const char *fmt, ...) in srv_log() argument
293 va_start(ap, fmt); in srv_log()
294 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in srv_log()
300 va_start(ap, fmt); in srv_log()
301 vsnprintf(buf, buflen, fmt, ap); in srv_log()
/hostap-latest/src/ap/
Dwpa_auth_i.h315 logger_level level, const char *fmt, ...)

12