Lines Matching refs:dsh2
97 struct lws_dsh *dsh, *dsh2; in test2() local
116 dsh2 = lws_dsh_create(&owner, 4096, 2); in test2()
117 if (!dsh2) { in test2()
129 if (lws_dsh_alloc_tail(dsh2, 0, "hello", 5, NULL, 0)) { in test2()
146 if (lws_dsh_alloc_tail(dsh2, 0, "hello again", 11, NULL, 0)) { in test2()
158 lws_dsh_destroy(&dsh2); in test2()
164 lws_dsh_destroy(&dsh2); in test2()
176 struct lws_dsh *dsh, *dsh2; in test3() local
195 dsh2 = lws_dsh_create(&owner, 4096, 2); in test3()
196 if (!dsh2) { in test3()
208 if (lws_dsh_alloc_tail(dsh2, 0, "hello", 5, NULL, 0)) { in test3()
224 if (lws_dsh_alloc_tail(dsh2, 0, "hello again", 11, NULL, 0)) { in test3()
230 lws_dsh_destroy(&dsh2); in test3()
236 lws_dsh_destroy(&dsh2); in test3()