Home
last modified time | relevance | path

Searched refs:write_req (Results 1 – 25 of 31) sorted by relevance

12

/libuv/test/
H A Dtest-fs-open-flags.c46 static uv_fs_t write_req; variable
113 ASSERT_EQ(1, write_req.result); in refresh()
114 uv_fs_req_cleanup(&write_req); in refresh()
166 ASSERT_EQ(1, write_req.result); in writeExpect()
167 uv_fs_req_cleanup(&write_req); in writeExpect()
172 ASSERT_EQ(1, write_req.result); in writeExpect()
173 uv_fs_req_cleanup(&write_req); in writeExpect()
209 ASSERT_EQ(write_req.result, error); in writeFail()
210 uv_fs_req_cleanup(&write_req); in writeFail()
215 ASSERT_EQ(write_req.result, error); in writeFail()
[all …]
H A Dtest-pipe-set-non-blocking.c77 uv_write_t write_req; in TEST_IMPL() local
103 ASSERT_OK(uv_write(&write_req, in TEST_IMPL()
108 ASSERT_NOT_NULL(write_req.handle); in TEST_IMPL()
110 ASSERT_NULL(write_req.handle); /* check for signaled completion of write_cb */ in TEST_IMPL()
H A Dtest-tcp-connect-error-after-write.c65 uv_write_t write_req; in TEST_IMPL()
76 r = uv_write(&write_req, (uv_stream_t*)&conn, &buf, 1, write_cb); in TEST_IMPL()
85 r = uv_write(&write_req, (uv_stream_t*)&conn, &buf, 1, write_cb); in TEST_IMPL()
H A Dtest-ipc-send-recv.c46 uv_write_t write_req; member
58 uv_write_t write_req; member
150 r = uv_write2(&ctx.write_req, in connect_cb()
309 uv_write_t* write_req; in read_cb() local
325 write_req = &ctx2.write_req; in read_cb()
328 write_req = &ctx2.write_req2; in read_cb()
346 r = uv_write2(write_req, in read_cb()
H A Dbenchmark-pound.c46 uv_write_t write_req; member
54 uv_write_t write_req; member
62 uv_write_t write_req; member
133 r = uv_write(&conn->write_req, &conn->stream, &buf, 1, after_write); in connect_cb()
221 p->write_req.data = p; in tcp_make_connect()
242 p->write_req.data = p; in pipe_make_connect()
H A Dbenchmark-tcp-write-batch.c34 } write_req; typedef
37 static write_req* write_reqs;
54 write_req* w; in connect_cb()
H A Dtest-fs.c109 static uv_fs_t write_req; variable
477 ASSERT_PTR_EQ(req, &write_req); in write_cb()
1000 uv_fs_req_cleanup(&write_req); in fs_file_sync()
1134 ASSERT_OK(write_req.result); in fs_file_write_null_buffer()
1135 uv_fs_req_cleanup(&write_req); in fs_file_write_null_buffer()
3482 &write_req, in fs_write_alotof_bufs()
3526 write_req.result); in fs_write_alotof_bufs()
3602 &write_req, in fs_write_alotof_bufs_with_offset()
3908 ASSERT_NULL(write_req.path); in TEST_IMPL()
3909 ASSERT_NULL(write_req.ptr); in TEST_IMPL()
[all …]
H A Dtest-tcp-read-stop.c27 static uv_write_t write_req; variable
43 ASSERT_OK(uv_write(&write_req, in timer_cb()
H A Dtest-ipc-heavy-traffic-deadlock-bug.c40 uv_write_t write_req; member
51 container_of(req, struct write_info, write_req); in write_cb()
77 &write_info->write_req, handle, bufs, BUFFERS_PER_WRITE, write_cb); in do_write()
H A Dtest-tcp-open.c40 static uv_write_t write_req; variable
168 r = uv_write(&write_req, req->handle, &buf, 1, write1_cb); in write1_cb()
196 r = uv_write(&write_req, stream, &buf, 1, write_cb); in connect_cb()
227 r = uv_write(&write_req, stream, &buf, 1, write1_cb); in connect1_cb()
352 ASSERT_OK(uv_write(&write_req, in TEST_IMPL()
H A Dtest-not-readable-nor-writable-on-read-error.c28 static uv_write_t write_req; variable
75 r = uv_write(&write_req, in connect_cb()
H A Dtest-tcp-write-fail.c36 static uv_write_t write_req; variable
86 r = uv_write(&write_req, stream, &buf, 1, write_cb); in connect_cb()
H A Dtest-readable-on-eof.c28 static uv_write_t write_req; variable
81 r = uv_write(&write_req, in connect_cb()
H A Dtest-signal-pending-on-close.c32 static uv_write_t write_req; variable
83 r = uv_write(&write_req, (uv_stream_t *) &pipe_hdl, &buffer, 1, write_cb); in TEST_IMPL()
H A Dtest-tcp-alloc-cb-fail.c35 static uv_write_t write_req; variable
72 r = uv_write(&write_req, req->handle, &buf, 1, write_cb); in connect_cb()
H A Dtest-metrics.c30 uv_fs_t write_req; member
199 &fs_reqs.write_req, in create_cb()
314 uv_fs_t write_req; in TEST_IMPL() local
340 &write_req, in TEST_IMPL()
H A Dtest-tcp-shutdown-after-write.c31 static uv_write_t write_req; variable
68 r = uv_write(&write_req, (uv_stream_t*)&conn, &buf, 1, write_cb); in timer_cb()
H A Dtest-tcp-unexpected-read.c30 static uv_write_t write_req; variable
82 ASSERT_OK(uv_write(&write_req, (uv_stream_t*) &peer_handle, in connection_cb()
H A Dtest-tcp-write-to-half-open-connection.c39 static uv_write_t write_req; variable
63 r = uv_write(&write_req, (uv_stream_t*)&tcp_peer, &buf, 1, write_cb); in connection_cb()
H A Dtest-callback-stack.c36 static uv_write_t write_req; variable
161 if (uv_write(&write_req, (uv_stream_t*)req->handle, &buf, 1, write_cb)) { in connect_cb()
H A Dtest-tcp-writealot.c126 uv_write_t* write_req = write_reqs + i; in connect_cb() local
133 r = uv_write(write_req, stream, send_bufs, CHUNKS_PER_WRITE, write_cb); in connect_cb()
H A Dtest-shutdown-eof.c30 static uv_write_t write_req; variable
104 uv_write(&write_req, (uv_stream_t*) &tcp, &qbuf, 1, NULL); in connect_cb()
/libuv/docs/code/uvcat/
H A Dmain.c10 uv_fs_t write_req; variable
36 uv_fs_write(uv_default_loop(), &write_req, 1, &iov, 1, -1, on_write); in on_read()
60 uv_fs_req_cleanup(&write_req); in main()
/libuv/docs/code/tty-gravity/
H A Dmain.c9 uv_write_t write_req; variable
23 uv_write(&write_req, (uv_stream_t*) &tty, &buf, 1, NULL); in update()
/libuv/docs/code/multi-echo-server/
H A Dmain.c40 uv_write_t *write_req = (uv_write_t*) malloc(sizeof(uv_write_t)); in on_new_connection() local
43 … uv_write2(write_req, (uv_stream_t*) &worker->pipe, &dummy_buf, 1, (uv_stream_t*) client, NULL); in on_new_connection()

Completed in 43 milliseconds

12