Lines Matching refs:cb
9 write(chunk, enc, cb) { cb(); }
21 write(chunk, enc, cb) {
23 cb();
35 write(chunk, enc, cb) { cb(); }
52 write(chunk, enc, cb) { cb(); }
55 write._destroy = function(err, cb) {
57 cb(err);
74 write(chunk, enc, cb) { cb(); },
75 destroy: common.mustCall(function(err, cb) {
77 cb();
95 write(chunk, enc, cb) { cb(); }
98 write._destroy = common.mustCall(function(err, cb) {
100 cb();
109 write(chunk, enc, cb) { cb(); }
112 write._destroy = common.mustCall(function(err, cb) {
116 cb();
132 write(chunk, enc, cb) { cb(); }
137 write._destroy = common.mustCall(function(err, cb) {
139 cb(expected);
155 write(chunk, enc, cb) { cb(); }
179 destroy: common.mustCall(function(err, cb) {
180 process.nextTick(cb, new Error('kaboom 1'));
182 write(chunk, enc, cb) {
183 cb();
216 write(chunk, enc, cb) { cb(); }
243 write(chunk, enc, cb) { cb(); }
260 final: common.mustCall((cb) => cb(), 2),
285 write(chunk, enc, cb) { cb(); }
310 // Call end(cb) after error & destroy
313 write(chunk, enc, cb) { cb(new Error('asd')); }
328 // Call end(cb) after finish & destroy
331 write(chunk, enc, cb) { cb(); }
346 // Call end(cb) after error & destroy and don't trigger
350 write(chunk, enc, cb) { process.nextTick(cb); }
367 write(chunk, enc, cb) {
368 process.nextTick(cb, _err);
390 write(chunk, enc, cb) {
393 setImmediate(cb);
409 write(chunk, enc, cb) {
410 cb();
411 cb();
424 write(chunk, enc, cb) { cb(); }
439 write(chunk, enc, cb) { cb(); }
455 write(chunk, enc, cb) { cb(); }
467 write(chunk, enc, cb) { cb(); }