Searched refs:svr_handle (Results 1 – 1 of 1) sorted by relevance
87 uv_tcp_t* svr_handle = static_cast<uv_tcp_t*>(gpr_malloc(sizeof(uv_tcp_t))); in test_succeeds() local99 GPR_ASSERT(0 == uv_tcp_init(uv_default_loop(), svr_handle)); in test_succeeds()100 GPR_ASSERT(0 == uv_tcp_bind(svr_handle, (struct sockaddr*)addr, 0)); in test_succeeds()101 GPR_ASSERT(0 == uv_listen((uv_stream_t*)svr_handle, 1, connection_cb)); in test_succeeds()108 GPR_ASSERT(uv_tcp_getsockname(svr_handle, (struct sockaddr*)addr, in test_succeeds()129 uv_close((uv_handle_t*)svr_handle, close_cb); in test_succeeds()