Home
last modified time | relevance | path

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

/third_party/node/benchmark/net/
Dtcp-raw-pipe.js53 const writeReq = new WriteWrap();
54 writeReq.async = false;
55 err = clientHandle.writeBuffer(writeReq, Buffer.from(buffer));
60 writeReq.oncomplete = function(status, handle, err) {
120 const writeReq = new WriteWrap();
121 writeReq.oncomplete = afterWrite;
125 err = clientHandle.writeBuffer(writeReq, chunk);
128 err = clientHandle.writeUtf8String(writeReq, chunk);
131 err = clientHandle.writeAsciiString(writeReq, chunk);
Dtcp-raw-s2c.js63 const writeReq = new WriteWrap();
64 writeReq.async = false;
65 writeReq.oncomplete = afterWrite;
69 err = clientHandle.writeBuffer(writeReq, chunk);
72 err = clientHandle.writeUtf8String(writeReq, chunk);
75 err = clientHandle.writeAsciiString(writeReq, chunk);
81 } else if (!writeReq.async) {
Dtcp-raw-c2s.js106 const writeReq = new WriteWrap();
107 writeReq.oncomplete = afterWrite;
111 err = clientHandle.writeBuffer(writeReq, chunk);
114 err = clientHandle.writeUtf8String(writeReq, chunk);
117 err = clientHandle.writeAsciiString(writeReq, chunk);
/third_party/node/test/parallel/
Dtest-http-upgrade-server.js75 function writeReq(socket, data, encoding) { function
88 writeReq(conn,
125 writeReq(conn,
149 writeReq(conn, 'GET / HTTP/1.1\r\n\r\n');