Home
last modified time | relevance | path

Searched refs:ponger (Results 1 – 1 of 1) sorted by relevance

/third_party/libuv/test/
Dtest-ping-pong.c307 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_EQ(0, uv_tcp_init(uv_default_loop(), ponger)); in socketpair_pinger_new()
333 ASSERT_EQ(0, uv_tcp_open(ponger, fds[0])); in socketpair_pinger_new()
340 ASSERT_EQ(0, 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()
[all …]