Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libevent/dist/test/
H A Dregress_listener.c89 if (data->setup_data && strstr((char*)data->setup_data, "ts")) { in regress_pick_a_port()
166 if (data->setup_data && strstr((char*)data->setup_data, "ts")) { in regress_listener_error()
H A Dregress_main.c323 data->setup_data = testcase->setup_data; in basic_test_setup()
379 data->legacy_test_fn = testcase->setup_data; in legacy_test_setup()
H A Dregress_bufferevent.c742 if (strstr((char*)data->setup_data, "defer")) { in test_bufferevent_connect()
745 if (strstr((char*)data->setup_data, "unlocked")) { in test_bufferevent_connect()
748 if (strstr((char*)data->setup_data, "lock")) { in test_bufferevent_connect()
753 if (!strcmp((char*)data->setup_data, "unset_connectex")) { in test_bufferevent_connect()
821 int flags = BEV_OPT_CLOSE_ON_FREE | (long)data->setup_data; in test_bufferevent_connect_fail_eventcb()
992 if (strstr((char*)data->setup_data, "pair")) in test_bufferevent_timeouts()
994 if (strstr((char*)data->setup_data, "filter")) in test_bufferevent_timeouts()
1159 if (strstr((char*)data->setup_data, "defer")) { in test_bufferevent_trigger()
1164 if (strstr((char*)data->setup_data, "postpone")) { in test_bufferevent_trigger()
H A Dtinytest.h62 void *setup_data; /**< Extra data usable by setup function */ member
H A Dregress.h81 void *setup_data; member
H A Dregress_ssl.c471 type = (enum regress_openssl_type)(uintptr_t)data->setup_data; in regress_bufferevent_openssl()
588 type = (enum regress_openssl_type)(uintptr_t)data->setup_data; in acceptcb()
744 type = (enum regress_openssl_type)(uintptr_t)data->setup_data; in regress_bufferevent_openssl_connect()
894 (enum regress_openssl_type)(uintptr_t)data->setup_data; in regress_bufferevent_openssl_wm()
H A Dregress_thread.c194 if (data->setup_data && !strcmp(data->setup_data, "forking")) { in thread_basic()
H A Dregress_util.c1399 const int precise = strstr(data->setup_data, "precise") != NULL; in test_evutil_monotonic_res()
1400 const int fallback = strstr(data->setup_data, "fallback") != NULL; in test_evutil_monotonic_res()
1456 const int precise = strstr(data->setup_data, "precise") != NULL; in test_evutil_monotonic_prc()
1457 const int fallback = strstr(data->setup_data, "fallback") != NULL; in test_evutil_monotonic_prc()
H A Dregress_dns.c1271 int emfile = data->setup_data && !strcmp(data->setup_data, "emfile"); in test_bufferevent_connect_hostname()
2127 int limit_inflight = data->setup_data && !strcmp(data->setup_data, "limit-inflight"); in dns_client_fail_requests_test()
H A Dregress.c482 const char *flags = (const char *)data->setup_data; in test_simpleclose()
3098 int one_at_a_time = data->setup_data != NULL; in test_many_events()
3298 int cached_time_disable = strstr(data->setup_data, "disable") != NULL; in test_gettimeofday_cached()
3314 cached_time_reset = strstr(data->setup_data, "reset") != NULL; in test_gettimeofday_cached()
3315 cached_time_sleep = strstr(data->setup_data, "sleep") != NULL; in test_gettimeofday_cached()
H A Dregress_buffer.c1122 const char *impl = testdata->setup_data; in test_evbuffer_add_file()
2539 const int start = !strcmp(testdata->setup_data, "start"); in test_evbuffer_freeze()
2550 tt_str_op(testdata->setup_data, ==, "end"); in test_evbuffer_freeze()
2791 return testcase->setup_data; in setup_passthrough()
H A Dregress_http.c1473 (enum http_cancel_test_type)(uintptr_t)data->setup_data; in http_cancel_test()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libverify/
H A Dlibverify.c1864 setup_data(pgpv_cursor_t *cursor, pgpv_t *pgp, const void *p, ssize_t size) in setup_data() function
2276 if (!setup_data(cursor, pgp, p, size)) { in pgpv_verify()
/netbsd-src/external/cddl/osnet/dist/cmd/ztest/
H A Dztest.c6056 setup_data(void) in setup_data() function
6212 setup_data(); in main()
6217 setup_data(); in main()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/netpgpverify/
H A Dlibverify.c2367 setup_data(pgpv_cursor_t *cursor, pgpv_t *pgp, const void *p, ssize_t size) in setup_data() function
3171 if (!setup_data(cursor, pgp, p, size)) { in pgpv_verify()