Lines Matching refs:r

65   int r;  in TEST_IMPL()  local
69 r = uv_timer_init(uv_default_loop(), &timer); in TEST_IMPL()
70 ASSERT_OK(r); in TEST_IMPL()
72 r = uv_timer_start(&timer, timer_cb, 50, 0); in TEST_IMPL()
73 ASSERT_OK(r); in TEST_IMPL()
75 r = uv_tcp_init(uv_default_loop(), &conn); in TEST_IMPL()
76 ASSERT_OK(r); in TEST_IMPL()
78 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
82 if (r == UV_ENETUNREACH) in TEST_IMPL()
84 ASSERT_OK(r); in TEST_IMPL()
86 r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
87 ASSERT_OK(r); in TEST_IMPL()
128 int r; in TEST_IMPL() local
135 r = uv_timer_init(uv_default_loop(), &timer); in TEST_IMPL()
136 ASSERT_OK(r); in TEST_IMPL()
139 r = uv_timer_start(&timer, timer_cb, 1000, 0); in TEST_IMPL()
140 ASSERT_OK(r); in TEST_IMPL()
142 r = uv_tcp_init(uv_default_loop(), &conn); in TEST_IMPL()
143 ASSERT_OK(r); in TEST_IMPL()
145 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
149 if (r == UV_ENETUNREACH) in TEST_IMPL()
151 ASSERT_OK(r); in TEST_IMPL()
153 r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
154 ASSERT_OK(r); in TEST_IMPL()
162 int r; in TEST_IMPL() local
173 r = uv_timer_init(uv_default_loop(), &timer); in TEST_IMPL()
174 ASSERT_OK(r); in TEST_IMPL()
177 r = uv_timer_start(&timer, timer_cb, 1000, 0); in TEST_IMPL()
178 ASSERT_OK(r); in TEST_IMPL()
180 r = uv_tcp_init(uv_default_loop(), &conn); in TEST_IMPL()
181 ASSERT_OK(r); in TEST_IMPL()
183 r = uv_tcp_connect(&connect_req, in TEST_IMPL()
187 if (r == UV_ENETUNREACH) in TEST_IMPL()
189 ASSERT_OK(r); in TEST_IMPL()
191 r = uv_run(uv_default_loop(), UV_RUN_DEFAULT); in TEST_IMPL()
192 ASSERT_OK(r); in TEST_IMPL()