(stream, state, writev, len, chunk, encoding, cb)
| 25617 | } |
| 25618 | |
| 25619 | function doWrite(stream, state, writev, len, chunk, encoding, cb) { |
| 25620 | state.writelen = len; |
| 25621 | state.writecb = cb; |
| 25622 | state.writing = true; |
| 25623 | state.sync = true; |
| 25624 | if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); |
| 25625 | state.sync = false; |
| 25626 | } |
| 25627 | |
| 25628 | function onwriteError(stream, state, sync, er, cb) { |
| 25629 | --state.pendingcb; |
no outgoing calls
no test coverage detected