| /freebsd-12.1/contrib/ntp/sntp/libevent/test/ |
| H A D | regress_listener.c | 83 if (data->setup_data && strstr((char*)data->setup_data, "ts")) { in regress_pick_a_port() 160 if (data->setup_data && strstr((char*)data->setup_data, "ts")) { in regress_listener_error()
|
| H A D | regress_ssl.c | 307 const int start_open = strstr((char*)data->setup_data, "open")!=NULL; in regress_bufferevent_openssl() 308 const int filter = strstr((char*)data->setup_data, "filter")!=NULL; in regress_bufferevent_openssl() 318 if (strstr((char*)data->setup_data, "renegotiate")) { in regress_bufferevent_openssl() 338 tt_assert(strstr((char*)data->setup_data, "socketpair")); in regress_bufferevent_openssl()
|
| H A D | regress_main.c | 265 data->setup_data = testcase->setup_data; in basic_test_setup() 321 data->legacy_test_fn = testcase->setup_data; in legacy_test_setup()
|
| H A D | regress_bufferevent.c | 664 if (strstr((char*)data->setup_data, "defer")) { in test_bufferevent_connect() 667 if (strstr((char*)data->setup_data, "unlocked")) { in test_bufferevent_connect() 670 if (strstr((char*)data->setup_data, "lock")) { in test_bufferevent_connect() 675 if (!strcmp((char*)data->setup_data, "unset_connectex")) { in test_bufferevent_connect() 866 if (strstr((char*)data->setup_data, "pair")) in test_bufferevent_timeouts() 868 if (strstr((char*)data->setup_data, "filter")) in test_bufferevent_timeouts() 1039 if (strstr((char*)data->setup_data, "defer")) { in test_bufferevent_trigger() 1044 if (strstr((char*)data->setup_data, "postpone")) { in test_bufferevent_trigger()
|
| H A D | tinytest.h | 58 void *setup_data; /**< Extra data usable by setup function */ member
|
| H A D | regress.h | 78 void *setup_data; member
|
| H A D | regress_thread.c | 188 if (data->setup_data && !strcmp(data->setup_data, "forking")) { in thread_basic()
|
| H A D | regress_util.c | 1286 const int precise = strstr(data->setup_data, "precise") != NULL; in test_evutil_monotonic_res() 1287 const int fallback = strstr(data->setup_data, "fallback") != NULL; in test_evutil_monotonic_res() 1343 const int precise = strstr(data->setup_data, "precise") != NULL; in test_evutil_monotonic_prc() 1344 const int fallback = strstr(data->setup_data, "fallback") != NULL; in test_evutil_monotonic_prc()
|
| H A D | regress.c | 2892 int one_at_a_time = data->setup_data != NULL; in test_many_events() 3090 int cached_time_disable = strstr(data->setup_data, "disable") != NULL; in test_gettimeofday_cached() 3106 cached_time_reset = strstr(data->setup_data, "reset") != NULL; in test_gettimeofday_cached() 3107 cached_time_sleep = strstr(data->setup_data, "sleep") != NULL; in test_gettimeofday_cached()
|
| H A D | regress_buffer.c | 685 const char *impl = testdata->setup_data; in test_evbuffer_add_file() 2214 return testcase->setup_data; in setup_passthrough()
|
| /freebsd-12.1/contrib/libevent/test/ |
| H A D | regress_listener.c | 86 if (data->setup_data && strstr((char*)data->setup_data, "ts")) { in regress_pick_a_port() 163 if (data->setup_data && strstr((char*)data->setup_data, "ts")) { in regress_listener_error()
|
| H A D | regress_main.c | 261 data->setup_data = testcase->setup_data; in basic_test_setup() 317 data->legacy_test_fn = testcase->setup_data; in legacy_test_setup()
|
| H A D | regress_bufferevent.c | 725 if (strstr((char*)data->setup_data, "defer")) { in test_bufferevent_connect() 728 if (strstr((char*)data->setup_data, "unlocked")) { in test_bufferevent_connect() 731 if (strstr((char*)data->setup_data, "lock")) { in test_bufferevent_connect() 736 if (!strcmp((char*)data->setup_data, "unset_connectex")) { in test_bufferevent_connect() 794 int flags = BEV_OPT_CLOSE_ON_FREE | (long)data->setup_data; in test_bufferevent_connect_fail_eventcb() 955 if (strstr((char*)data->setup_data, "pair")) in test_bufferevent_timeouts() 957 if (strstr((char*)data->setup_data, "filter")) in test_bufferevent_timeouts() 1128 if (strstr((char*)data->setup_data, "defer")) { in test_bufferevent_trigger() 1133 if (strstr((char*)data->setup_data, "postpone")) { in test_bufferevent_trigger()
|
| H A D | tinytest.h | 58 void *setup_data; /**< Extra data usable by setup function */ member
|
| H A D | regress_ssl.c | 408 type = (enum regress_openssl_type)data->setup_data; in regress_bufferevent_openssl() 527 type = (enum regress_openssl_type)data->setup_data; in acceptcb() 679 type = (enum regress_openssl_type)data->setup_data; in regress_bufferevent_openssl_connect()
|
| H A D | regress.h | 78 void *setup_data; member
|
| H A D | regress_thread.c | 188 if (data->setup_data && !strcmp(data->setup_data, "forking")) { in thread_basic()
|
| H A D | regress_util.c | 1286 const int precise = strstr(data->setup_data, "precise") != NULL; in test_evutil_monotonic_res() 1287 const int fallback = strstr(data->setup_data, "fallback") != NULL; in test_evutil_monotonic_res() 1343 const int precise = strstr(data->setup_data, "precise") != NULL; in test_evutil_monotonic_prc() 1344 const int fallback = strstr(data->setup_data, "fallback") != NULL; in test_evutil_monotonic_prc()
|
| H A D | regress.c | 3023 int one_at_a_time = data->setup_data != NULL; in test_many_events() 3221 int cached_time_disable = strstr(data->setup_data, "disable") != NULL; in test_gettimeofday_cached() 3237 cached_time_reset = strstr(data->setup_data, "reset") != NULL; in test_gettimeofday_cached() 3238 cached_time_sleep = strstr(data->setup_data, "sleep") != NULL; in test_gettimeofday_cached()
|
| H A D | regress_buffer.c | 928 const char *impl = testdata->setup_data; in test_evbuffer_add_file() 2488 return testcase->setup_data; in setup_passthrough()
|
| H A D | regress_http.c | 1425 (enum http_cancel_test_type)data->setup_data; in http_cancel_test()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/ |
| H A D | ztest.c | 6469 setup_data(void) in setup_data() function 6630 setup_data(); in main() 6635 setup_data(); in main()
|