Searched refs:tcp_handle (Results 1 – 4 of 4) sorted by relevance
/netbsd-src/external/mit/libuv/dist/test/ |
H A D | test-tcp-read-stop.c | 26 static uv_tcp_t tcp_handle; variable 37 uv_close((uv_handle_t*) &tcp_handle, NULL); in write_cb() 44 (uv_stream_t*) &tcp_handle, in timer_cb() 48 ASSERT(0 == uv_read_stop((uv_stream_t*) &tcp_handle)); in timer_cb() 55 ASSERT(0 == uv_read_start((uv_stream_t*) &tcp_handle, in connect_cb() 67 ASSERT(0 == uv_tcp_init(uv_default_loop(), &tcp_handle)); in TEST_IMPL() 69 &tcp_handle, in TEST_IMPL()
|
H A D | test-tcp-close.c | 30 static uv_tcp_t tcp_handle; variable 51 r = uv_write(req, (uv_stream_t*)&tcp_handle, &buf, 1, write_cb); in connect_cb() 55 uv_close((uv_handle_t*)&tcp_handle, close_cb); in connect_cb() 62 ASSERT(req->handle == (uv_stream_t*)&tcp_handle); in write_cb() 69 ASSERT(handle == (uv_handle_t*)&tcp_handle); in close_cb() 114 r = uv_tcp_init(loop, &tcp_handle); in TEST_IMPL() 118 &tcp_handle, in TEST_IMPL()
|
H A D | test-tcp-close-while-connecting.c | 27 static uv_tcp_t tcp_handle; variable 55 uv_close((uv_handle_t*)&tcp_handle, close_cb); in timer1_cb() 73 ASSERT(0 == uv_tcp_init(loop, &tcp_handle)); in TEST_IMPL() 75 &tcp_handle, in TEST_IMPL()
|
/netbsd-src/lib/libc/rpc/ |
H A D | xdr_rec.c | 128 char *tcp_handle; member 184 char *tcp_handle, in xdrrec_create() argument 222 rstrm->tcp_handle = tcp_handle; in xdrrec_create() 348 pos = lseek((int)(u_long)rstrm->tcp_handle, (off_t)0, 1); in xdrrec_getpos() 542 n = rstrm->readit(rstrm->tcp_handle, rstrm->in_hdrp, in __xdrrec_getrec() 579 n = rstrm->readit(rstrm->tcp_handle, in __xdrrec_getrec() 640 if ((*(rstrm->writeit))(rstrm->tcp_handle, rstrm->out_base, (int)len) in flush_out() 661 if ((len = (*(rstrm->readit))(rstrm->tcp_handle, where, len)) == -1) in fill_input_buf()
|