Home
last modified time | relevance | path

Searched refs:testcase_t (Results 1 – 20 of 20) sorted by relevance

/external/libevent/test/
Dregress.h37 extern struct testcase_t main_testcases[];
38 extern struct testcase_t evtag_testcases[];
39 extern struct testcase_t evbuffer_testcases[];
40 extern struct testcase_t finalize_testcases[];
41 extern struct testcase_t bufferevent_testcases[];
42 extern struct testcase_t bufferevent_iocp_testcases[];
43 extern struct testcase_t util_testcases[];
44 extern struct testcase_t signal_testcases[];
45 extern struct testcase_t http_testcases[];
46 extern struct testcase_t http_iocp_testcases[];
[all …]
Dtinytest.h45 struct testcase_t;
50 void *(*setup_fn)(const struct testcase_t *);
52 int (*cleanup_fn)(const struct testcase_t *, void *);
56 struct testcase_t { struct
68 struct testcase_t *cases; /** Array, ending with END_OF_TESTCASES */ argument
95 int testcase_run_one(const struct testgroup_t *,const struct testcase_t *);
Dregress_main.c239 basic_test_setup(const struct testcase_t *testcase) in basic_test_setup()
323 basic_test_cleanup(const struct testcase_t *testcase, void *ptr) in basic_test_cleanup()
366 legacy_test_setup(const struct testcase_t *testcase) in legacy_test_setup()
404 legacy_test_cleanup(const struct testcase_t *testcase, void *ptr) in legacy_test_cleanup()
419 struct testcase_t thread_testcases[] = {
Dtinytest.c107 testcase_run_in_thread_(const struct testcase_t *testcase, void *env) in testcase_run_in_thread_()
154 testcase_run_bare_(const struct testcase_t *testcase) in testcase_run_bare_()
195 const struct testcase_t *testcase) in testcase_run_forked_()
313 const struct testcase_t *testcase)
374 struct testcase_t *testcase = &groups[i].cases[j];
527 struct testcase_t *testcase = &group->cases[j];
Dregress_minheap.c96 struct testcase_t minheap_testcases[] = {
Dregress_listener.c307 struct testcase_t listener_testcases[] = {
338 struct testcase_t listener_iocp_testcases[] = {
Dregress_et.c262 struct testcase_t edgetriggered_testcases[] = {
Dregress_ssl.c216 ssl_test_setup(const struct testcase_t *testcase) in ssl_test_setup()
231 ssl_test_cleanup(const struct testcase_t *testcase, void *ptr) in ssl_test_cleanup()
991 struct testcase_t ssl_testcases[] = {
Dregress_finalize.c384 struct testcase_t finalize_testcases[] = {
Dregress_iocp.c343 struct testcase_t iocp_testcases[] = {
Dregress_thread.c571 struct testcase_t thread_testcases[] = {
Dregress_bufferevent.c1357 struct testcase_t bufferevent_testcases[] = {
1438 struct testcase_t bufferevent_iocp_testcases[] = {
Dregress_rpc.c941 struct testcase_t rpc_testcases[] = {
Dregress_dns.c1923 testleak_setup(const struct testcase_t *testcase) in testleak_setup()
1949 testleak_cleanup(const struct testcase_t *testcase, void *env_) in testleak_cleanup()
2444 struct testcase_t dns_testcases[] = {
Dregress_buffer.c2785 setup_passthrough(const struct testcase_t *testcase) in setup_passthrough()
2790 cleanup_passthrough(const struct testcase_t *testcase, void *ptr) in cleanup_passthrough()
2801 struct testcase_t evbuffer_testcases[] = {
Dregress.c3478 struct testcase_t main_testcases[] = {
3591 struct testcase_t evtag_testcases[] = {
3600 struct testcase_t signal_testcases[] = {
Dregress_util.c1643 struct testcase_t util_testcases[] = {
Dregress_http.c4701 struct testcase_t http_testcases[] = {
4801 struct testcase_t http_iocp_testcases[] = {
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns01.c23 struct testcase_t { struct
30 void (*setup) (struct testcase_t *, int i); argument
31 void (*cleanup) (struct testcase_t *); argument
34 static void setup0(struct testcase_t *t, int i) in setup0()
39 static void setup1(struct testcase_t *t, int i) in setup1()
45 static void setup2(struct testcase_t *t, int i) in setup2()
50 static void setup3(struct testcase_t *t, int i) in setup3()
61 static void setup4(struct testcase_t *t, int i) in setup4()
69 static void cleanup4(LTP_ATTRIBUTE_UNUSED struct testcase_t *t) in cleanup4()
74 static struct testcase_t tcases[] = {
[all …]
/external/ltp/testcases/kernel/syscalls/writev/
Dwritev01.c44 struct testcase_t { struct
116 struct testcase_t *tcase = &testcases[i]; in test_writev()