Lines Matching refs:evcon
181 struct evhttp_connection *evcon = NULL; in rpc_basic_test() local
188 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_basic_test()
189 if (evcon == NULL) { in rpc_basic_test()
209 if (evhttp_make_request(evcon, req, in rpc_basic_test()
220 evhttp_connection_free(evcon); in rpc_basic_test()
264 struct evhttp_connection *evcon = NULL; in rpc_basic_message() local
272 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_basic_message()
273 if (evcon == NULL) { in rpc_basic_message()
299 if (evhttp_make_request(evcon, req, in rpc_basic_message()
310 evhttp_connection_free(evcon); in rpc_basic_message()
327 struct evhttp_connection *evcon; in rpc_pool_with_connection() local
333 evcon = evhttp_connection_new("127.0.0.1", port); in rpc_pool_with_connection()
334 assert(evcon != NULL); in rpc_pool_with_connection()
336 evrpc_pool_add_connection(pool, evcon); in rpc_pool_with_connection()