/hostap-latest/tests/hwsim/ |
D | test_tnc.py | 52 for count, func in tests: 53 with alloc_fail(dev[0], count, func): 154 for count, func, identity, phase2 in tests: 155 with alloc_fail(dev[0], count, func): 167 note="Allocation failure not triggered for: %d:%s" % (count, func))
|
D | test_eap_proto.py | 834 for count, func in tests: 835 with alloc_fail(dev[0], count, func): 857 for count, func in tests: 858 with fail_test(dev[0], count, func): 943 for count, func in tests: 944 with alloc_fail(hapd, count, func): 955 for count, func in tests: 956 with fail_test(hapd, count, func): 1646 for count, func in tests: 1647 with alloc_fail(hapd, count, func): [all …]
|
D | test_ap_config.py | 463 for t, count, func in tests: 464 with alloc_fail(hapd, count, func): 534 for count, func, cmd in tests: 535 with alloc_fail(hapd, count, func): 567 for count, func, cmd in tests: 568 with alloc_fail(hapd, count, func): 573 for count, func, cmd in tests: 574 with fail_test(hapd, count, func):
|
D | test_eap.py | 524 for count, func in tests: 525 with alloc_fail(dev[0], count, func): 541 for count, func in tests: 542 with fail_test(dev[0], count, func): 560 for count, func in tests: 561 with alloc_fail(dev[0], count, func): 572 for count, func in tests: 573 with fail_test(dev[0], count, func):
|
D | hwsim.py | 109 parser_create.set_defaults(func=create) 116 parser_destroy.set_defaults(func=destroy) 119 args.func(args)
|
D | test_ap_eap.py | 1082 for count, func in tests: 1083 with fail_test(dev[0], count, func): 2062 for func in tests: 2063 with alloc_fail(dev[0], 1, func): 3461 for count, func in [(1, "eap_eke_build_commit"), 3473 with alloc_fail(hapd, count, func): 3478 for count, func, pw in [(1, "eap_eke_init", "hello"), 3485 with alloc_fail(hapd, count, func): 3570 for count, func in tests: 3571 with alloc_fail(dev[0], count, func): [all …]
|
D | remotehost.py | 17 def remote_compatible(func): argument 18 func.remote_compatible = True 19 return func
|
D | utils.py | 35 def long_duration_test(func): argument 36 func.long_duration_test = True 37 return func
|
D | test_owe.py | 791 for count, func in tests: 792 with alloc_fail(dev[0], count, func): 803 for count, func in tests: 804 with alloc_fail(dev[0], count, func): 818 for count, func, group in tests: 819 with fail_test(dev[0], count, func):
|
D | test_wpas_ctrl.py | 296 for val, count, func in tests: 297 with alloc_fail(dev[0], count, func): 1860 for cmd, exp, count, func in tests: 1861 with alloc_fail(dev[0], count, func): 1864 … raise Exception("Unexpected success for '%s' during OOM (%d:%s)" % (cmd, count, func)) 1870 for cmd, exp, count, func in tests: 1871 with alloc_fail(dev[0], count, func): 1885 for cmd, exp, count, func in tests: 1886 with fail_test(dev[0], count, func): 1889 … raise Exception("Unexpected success for '%s' during failure testing (%d:%s)" % (cmd, count, func))
|
D | test_dpp.py | 2839 def run_dpp_pkex_curve_mismatch_failure(dev, apdev, func): argument 2844 with alloc_fail(dev[0], 1, func): 3247 for count, func, frame_count, wait_ev in tests: 3252 with alloc_fail(hapd, count, func): 3267 for count, func, frame_count in tests: 3272 with alloc_fail(hapd, count, func): 4651 for count, func in tests: 4652 with alloc_fail(dev[1], count, func): 4697 for count, func in tests: 4705 with alloc_fail(dev[1], count, func): [all …]
|
D | test_mscs.py | 101 def mscs_run(dev, apdev, func): argument 103 func(dev, apdev)
|
D | test_sae.py | 1536 for count, func in tests: 1537 with fail_test(dev[0], count, func): 1618 for count, func in tests: 1619 with fail_test(dev[0], count, func): 1620 hapd.request("NOTE STA failure testing %d:%s" % (count, func)) 1648 for count, func in tests: 1649 with fail_test(dev[0], count, func): 1650 hapd.request("NOTE STA failure testing %d:%s" % (count, func)) 1670 for count, func in tests: 1671 with fail_test(dev[0], count, func): [all …]
|
D | test_ap_open.py | 262 def hapd_out_of_mem(hapd, apdev, count, func): argument 263 with alloc_fail(hapd, count, func): 271 …e Exception("hostapd interface started even with memory allocation failure: %d:%s" % (count, func))
|
D | test_wpas_mesh.py | 1932 for count, func, success in funcs: 1936 with alloc_fail(dev[1], count, func): 1956 for count, func, success in funcs: 1959 with alloc_fail(dev[1], count, func): 1973 for count, func, success in funcs: 1976 with fail_test(dev[1], count, func):
|
/hostap-latest/src/utils/ |
D | trace.c | 354 const char *func = wpa_trace_bfd_addr2func(btrace[i]); in wpa_trace_dump_func() local 355 if (state == TRACE_HEAD && func && in wpa_trace_dump_func() 356 (os_strcmp(func, "wpa_trace_add_ref_func") == 0 || in wpa_trace_dump_func() 357 os_strcmp(func, "wpa_trace_check_ref") == 0 || in wpa_trace_dump_func() 358 os_strcmp(func, "wpa_trace_show") == 0)) in wpa_trace_dump_func() 370 if (state == TRACE_RELEVANT && func && in wpa_trace_dump_func() 371 os_strcmp(func, "main") == 0) in wpa_trace_dump_func()
|
D | wpa_debug_zephyr.c | 165 void wpa_msg_register_cb(wpa_msg_cb_func func) in wpa_msg_register_cb() argument 167 wpa_msg_cb = func; in wpa_msg_register_cb() 172 void wpa_msg_register_ifname_cb(wpa_msg_get_ifname_func func) in wpa_msg_register_ifname_cb() argument 174 wpa_msg_ifname_cb = func; in wpa_msg_register_ifname_cb() 347 void hostapd_logger_register_cb(hostapd_logger_cb_func func) in hostapd_logger_register_cb() argument 349 hostapd_logger_cb = func; in hostapd_logger_register_cb()
|
D | wpa_debug.h | 277 void wpa_msg_register_cb(wpa_msg_cb_func func); 280 void wpa_msg_register_ifname_cb(wpa_msg_get_ifname_func func); 299 void hostapd_logger_register_cb(hostapd_logger_cb_func func);
|
D | os_unix.c | 554 const char *func[WPA_TRACE_LEN]; in testing_test_fail() local 568 res = wpa_trace_calling_func(func, WPA_TRACE_LEN); in testing_test_fail() 577 if (os_strcmp(func[i], ignore_list[j]) == 0) in testing_test_fail() 585 func[0] = tag; in testing_test_fail() 619 if (os_strncmp(pos, func[i], len) != 0 || in testing_test_fail() 620 (!prefix && func[i][len] != '\0')) { in testing_test_fail() 647 (int) i, func[i]); in testing_test_fail()
|
D | wpa_debug_zephyr.h | 308 void wpa_msg_register_cb(wpa_msg_cb_func func); 311 void wpa_msg_register_ifname_cb(wpa_msg_get_ifname_func func); 348 void hostapd_logger_register_cb(hostapd_logger_cb_func func);
|
D | wpa_debug.c | 633 void wpa_msg_register_cb(wpa_msg_cb_func func) in wpa_msg_register_cb() argument 635 wpa_msg_cb = func; in wpa_msg_register_cb() 641 void wpa_msg_register_ifname_cb(wpa_msg_get_ifname_func func) in wpa_msg_register_ifname_cb() argument 643 wpa_msg_ifname_cb = func; in wpa_msg_register_ifname_cb() 827 void hostapd_logger_register_cb(hostapd_logger_cb_func func) in hostapd_logger_register_cb() argument 829 hostapd_logger_cb = func; in hostapd_logger_register_cb()
|
/hostap-latest/tests/ |
D | test-bss.c | 71 #define RUN_TEST(func, ...) do { \ argument 72 func(wpa_s, __VA_ARGS__); \ 73 printf("\nok " #func " " #__VA_ARGS__ "\n\n"); \
|
/hostap-latest/src/eap_peer/ |
D | tncc.c | 257 static void * tncc_get_sym(void *handle, char *func) in tncc_get_sym() argument 263 fptr = GetProcAddressA(handle, func); in tncc_get_sym() 265 fptr = GetProcAddress(handle, func); in tncc_get_sym() 268 fptr = dlsym(handle, func); in tncc_get_sym()
|
/hostap-latest/src/crypto/ |
D | tls_openssl_ocsp.c | 25 static void tls_show_errors(int level, const char *func, const char *txt) in tls_show_errors() argument 30 func, txt, ERR_error_string(ERR_get_error(), NULL)); in tls_show_errors()
|
/hostap-latest/src/ap/ |
D | wps_hostapd.c | 47 int (*func)(struct hostapd_data *h, void *ctx); member 69 ret = data->func(hapd, data->ctx); in wps_for_each() 79 int (*func)(struct hostapd_data *h, void *ctx), in hostapd_wps_for_each() 84 data.func = func; in hostapd_wps_for_each()
|