Home
last modified time | relevance | path

Searched refs:isDuplex (Results 1 – 25 of 33) sorted by relevance

12

/third_party/node/deps/npm/node_modules/isstream/
DREADME.md30 You can also test for `isReadable(obj)`, `isWritable(obj)` and `isDuplex(obj)` to test for implemen…
35 var isDuplex = require('isstream').isDuplex
40 isDuplex(new Stream()) // false
54 isDuplex(new Stream.Readable()) // false
55 isDuplex(new Stream.Writable()) // false
56 isDuplex(new Stream.Duplex()) // true
57 isDuplex(new Stream.Transform()) // true
58 isDuplex(new Stream.PassThrough()) // true
Disstream.js19 function isDuplex (obj) { function
27 module.exports.isDuplex = isDuplex
Dtest.js9 , isDuplex = require('./').isDuplex variable
43 t.ok(pass === isDuplex(stream), type)
/third_party/node/deps/npm/node_modules/readable-stream/lib/internal/streams/
Dstate.js5 function highWaterMarkFrom(options, isDuplex, duplexKey) { argument
6 …return options.highWaterMark != null ? options.highWaterMark : isDuplex ? options[duplexKey] : nul…
9 function getHighWaterMark(state, options, duplexKey, isDuplex) { argument
10 var hwm = highWaterMarkFrom(options, isDuplex, duplexKey);
14 var name = isDuplex ? duplexKey : 'highWaterMark';
/third_party/node/lib/internal/streams/
Dstate.js10 function highWaterMarkFrom(options, isDuplex, duplexKey) { argument
12 isDuplex ? options[duplexKey] : null;
19 function getHighWaterMark(state, options, duplexKey, isDuplex) { argument
20 const hwm = highWaterMarkFrom(options, isDuplex, duplexKey);
23 const name = isDuplex ? duplexKey : 'highWaterMark';
Dwritable.js67 function WritableState(options, stream, isDuplex) { argument
73 if (typeof isDuplex !== 'boolean')
74 isDuplex = stream instanceof Stream.Duplex;
80 if (isDuplex)
88 getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex) :
229 const isDuplex = (this instanceof Stream.Duplex);
231 if (!isDuplex && !realHasInstance.call(Writable, this))
234 this._writableState = new WritableState(options, this, isDuplex);
Dreadable.js71 function ReadableState(options, stream, isDuplex) { argument
77 if (typeof isDuplex !== 'boolean')
78 isDuplex = stream instanceof Stream.Duplex;
84 if (isDuplex)
91 getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex) :
176 const isDuplex = this instanceof Stream.Duplex;
178 this._readableState = new ReadableState(options, this, isDuplex);
/third_party/node/deps/npm/node_modules/readable-stream/lib/
D_stream_writable.js103 function WritableState(options, stream, isDuplex) { argument
111 …if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag to i…
115 …if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; // the point at w…
119 …this.highWaterMark = getHighWaterMark(this, options, 'writableHighWaterMark', isDuplex); // if _fi…
239 var isDuplex = this instanceof Duplex;
240 if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);
241 this._writableState = new WritableState(options, this, isDuplex); // legacy.
D_stream_readable.js106 function ReadableState(options, stream, isDuplex) { argument
114 …if (typeof isDuplex !== 'boolean') isDuplex = stream instanceof Duplex; // object stream flag. Use…
118 …if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; // the point at w…
121 …this.highWaterMark = getHighWaterMark(this, options, 'readableHighWaterMark', isDuplex); // A link…
174 var isDuplex = this instanceof Duplex;
175 this._readableState = new ReadableState(options, this, isDuplex); // legacy
/third_party/node/deps/npm/node_modules/concat-stream/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
D_stream_readable.js111 var isDuplex = stream instanceof Duplex;
117 if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm ==…
/third_party/node/deps/npm/node_modules/from2/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
D_stream_readable.js111 var isDuplex = stream instanceof Duplex;
117 if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm ==…
/third_party/node/deps/npm/node_modules/through2/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
D_stream_readable.js111 var isDuplex = stream instanceof Duplex;
117 if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm ==…
/third_party/node/deps/npm/node_modules/stream-iterate/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
D_stream_readable.js111 var isDuplex = stream instanceof Duplex;
117 if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm ==…
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
/third_party/node/deps/npm/node_modules/flush-write-stream/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
D_stream_readable.js111 var isDuplex = stream instanceof Duplex;
117 if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm ==…
/third_party/node/deps/npm/node_modules/parallel-transform/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
/third_party/node/deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
D_stream_readable.js111 var isDuplex = stream instanceof Duplex;
117 if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm ==…
/third_party/node/deps/npm/node_modules/duplexify/node_modules/readable-stream/lib/
D_stream_writable.js110 var isDuplex = stream instanceof Duplex;
116 if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode;
125 …if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm ==…
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonInstPrinter.cpp42 if (HexagonMCInstrInfo::isDuplex(MII, MCI)) { in printInst()

12