(stream, state, writev, len, chunk, encoding, cb)
| 25280 | } |
| 25281 | |
| 25282 | function doWrite(stream, state, writev, len, chunk, encoding, cb) { |
| 25283 | state.writelen = len; |
| 25284 | state.writecb = cb; |
| 25285 | state.writing = true; |
| 25286 | state.sync = true; |
| 25287 | if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); |
| 25288 | state.sync = false; |
| 25289 | } |
| 25290 | |
| 25291 | function onwriteError(stream, state, sync, er, cb) { |
| 25292 | --state.pendingcb; |
no test coverage detected