Home
last modified time | relevance | path

Searched refs:setup_data (Results 1 – 22 of 22) sorted by relevance

/freebsd-12.1/contrib/ntp/sntp/libevent/test/
H A Dregress_listener.c83 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 Dregress_ssl.c307 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 Dregress_main.c265 data->setup_data = testcase->setup_data; in basic_test_setup()
321 data->legacy_test_fn = testcase->setup_data; in legacy_test_setup()
H A Dregress_bufferevent.c664 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 Dtinytest.h58 void *setup_data; /**< Extra data usable by setup function */ member
H A Dregress.h78 void *setup_data; member
H A Dregress_thread.c188 if (data->setup_data && !strcmp(data->setup_data, "forking")) { in thread_basic()
H A Dregress_util.c1286 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 Dregress.c2892 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 Dregress_buffer.c685 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 Dregress_listener.c86 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 Dregress_main.c261 data->setup_data = testcase->setup_data; in basic_test_setup()
317 data->legacy_test_fn = testcase->setup_data; in legacy_test_setup()
H A Dregress_bufferevent.c725 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 Dtinytest.h58 void *setup_data; /**< Extra data usable by setup function */ member
H A Dregress_ssl.c408 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 Dregress.h78 void *setup_data; member
H A Dregress_thread.c188 if (data->setup_data && !strcmp(data->setup_data, "forking")) { in thread_basic()
H A Dregress_util.c1286 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 Dregress.c3023 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 Dregress_buffer.c928 const char *impl = testdata->setup_data; in test_evbuffer_add_file()
2488 return testcase->setup_data; in setup_passthrough()
H A Dregress_http.c1425 (enum http_cancel_test_type)data->setup_data; in http_cancel_test()
/freebsd-12.1/cddl/contrib/opensolaris/cmd/ztest/
H A Dztest.c6469 setup_data(void) in setup_data() function
6630 setup_data(); in main()
6635 setup_data(); in main()