Lines Matching refs:ponger
307 uv_tcp_t* ponger; in socketpair_pinger_new() local
329 ponger = malloc(sizeof(*ponger)); in socketpair_pinger_new()
330 ASSERT_NOT_NULL(ponger); in socketpair_pinger_new()
331 ponger->data = NULL; in socketpair_pinger_new()
332 ASSERT_OK(uv_tcp_init(uv_default_loop(), ponger)); in socketpair_pinger_new()
333 ASSERT_OK(uv_tcp_open(ponger, fds[0])); in socketpair_pinger_new()
340 ASSERT_OK(uv_read_start((uv_stream_t*) ponger, in socketpair_pinger_new()
349 uv_pipe_t* ponger; in pipe2_pinger_new() local
356 ponger = malloc(sizeof(*ponger)); in pipe2_pinger_new()
357 ASSERT_NOT_NULL(ponger); in pipe2_pinger_new()
358 ASSERT_OK(uv_pipe_init(uv_default_loop(), ponger, 0)); in pipe2_pinger_new()
359 ASSERT_OK(uv_pipe_open(ponger, fds[0])); in pipe2_pinger_new()
370 ponger->data = pinger; /* record for read_cb */ in pipe2_pinger_new()
374 ASSERT_OK(uv_read_start((uv_stream_t*) ponger, alloc_cb, pinger_read_cb)); in pipe2_pinger_new()