Home
last modified time | relevance | path

Searched refs:Writable (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/third_party/node/lib/internal/streams/
Dduplex.js39 const Writable = require('internal/streams/writable'); constant
46 for (const method of ObjectKeys(Writable.prototype)) {
48 Duplex.prototype[method] = Writable.prototype[method];
57 Writable.call(this, options);
75 ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writable'),
77 ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableHighWaterMark'),
79 ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableObjectMode'),
81 ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableBuffer'),
83 ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableLength'),
85 ObjectGetOwnPropertyDescriptor(Writable.prototype, 'writableFinished'),
[all …]
Dwritable.js37 module.exports = Writable;
38 Writable.WritableState = WritableState;
62 ObjectSetPrototypeOf(Writable.prototype, Stream.prototype);
63 ObjectSetPrototypeOf(Writable, Stream);
202 ObjectDefineProperty(Writable, SymbolHasInstance, {
206 if (this !== Writable)
218 function Writable(options) { class
231 if (!isDuplex && !realHasInstance.call(Writable, this))
232 return new Writable(options);
254 Writable.prototype.pipe = function() {
[all …]
/third_party/node/test/parallel/
Dtest-stream-inheritance.js4 const { Readable, Writable, Duplex, Transform } = require('stream');
7 const writable = new Writable({ write() {} });
16 assert.ok(!(readable instanceof Writable));
17 assert.ok(writable instanceof Writable);
18 assert.ok(duplex instanceof Writable);
19 assert.ok(transform instanceof Writable);
31 assert.ok(!(null instanceof Writable));
32 assert.ok(!(undefined instanceof Writable));
41 this instanceof Writable,
46 Object.setPrototypeOf(CustomWritable, Writable);
[all …]
Dtest-stream-writable-destroy.js4 const { Writable } = require('stream');
8 const write = new Writable({
20 const write = new Writable({
34 const write = new Writable({
51 const write = new Writable({
73 const write = new Writable({
94 const write = new Writable({
108 const write = new Writable({
133 const write = new Writable({
156 const write = new Writable({
[all …]
Dtest-stream-pipe-cleanup.js29 function Writable() { class
34 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype);
35 Object.setPrototypeOf(Writable, stream.Stream);
36 Writable.prototype.end = function() {
40 Writable.prototype.destroy = function() {
53 Writable.call(this);
55 Object.setPrototypeOf(Duplex.prototype, Writable.prototype);
56 Object.setPrototypeOf(Duplex, Writable);
61 let w = new Writable();
88 w = new Writable();
[all …]
Dtest-stream-writable-write-writev-finish.js11 const writable = new stream.Writable();
27 const writable = new stream.Writable();
43 const writable = new stream.Writable();
68 const writable = new stream.Writable();
101 const ws = new stream.Writable();
118 const ws = new stream.Writable();
130 const w = new stream.Writable();
143 const w = new stream.Writable();
Dtest-stream-writable-write-error.js5 const { Writable } = require('stream');
32 const w = new Writable({
41 const w = new Writable({
49 const w = new Writable({
57 const w = new Writable({
Dtest-stream-writable-writable.js5 const { Writable } = require('stream');
8 const w = new Writable({
17 const w = new Writable({
29 const w = new Writable({
42 const w = new Writable({
/third_party/node/deps/npm/node_modules/isstream/
Dtest.js74 test(true, 'CoreStreams.Writable', new (CoreStreams.Writable)())
80 test(true, 'ReadableStream10.Writable', new (ReadableStream10.Writable)())
86 test(true, 'ReadableStream11.Writable', new (ReadableStream11.Writable)())
94 testReadable(false, 'CoreStreams.Writable', new (CoreStreams.Writable)())
100 testReadable(false, 'ReadableStream10.Writable', new (ReadableStream10.Writable)())
106 testReadable(false, 'ReadableStream11.Writable', new (ReadableStream11.Writable)())
114 testWritable(true, 'CoreStreams.Writable', new (CoreStreams.Writable)())
120 testWritable(true, 'ReadableStream10.Writable', new (ReadableStream10.Writable)())
126 testWritable(true, 'ReadableStream11.Writable', new (ReadableStream11.Writable)())
134 testDuplex(false, 'CoreStreams.Writable', new (CoreStreams.Writable)())
[all …]
/third_party/node/deps/npm/node_modules/readable-stream/lib/
D_stream_writable.js26 module.exports = Writable;
56 Writable.WritableState = WritableState;
99 require('inherits')(Writable, Stream);
216 Object.defineProperty(Writable, Symbol.hasInstance, {
219 if (this !== Writable) return false;
229 function Writable(options) { class
240 if (!isDuplex && !realHasInstance.call(Writable, this)) return new Writable(options);
256 Writable.prototype.pipe = function () {
288 Writable.prototype.write = function (chunk, encoding, cb) {
312 Writable.prototype.cork = function () {
[all …]
/third_party/node/deps/npm/node_modules/through2/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/flush-write-stream/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/from2/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/parallel-transform/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/concat-stream/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/duplexify/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/stream-iterate/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/lib/
D_stream_writable.js33 module.exports = Writable;
64 Writable.WritableState = WritableState;
96 util.inherits(Writable, Stream);
236 Object.defineProperty(Writable, Symbol.hasInstance, {
239 if (this !== Writable) return false;
250 function Writable(options) { class
260 if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) {
261 return new Writable(options);
283 Writable.prototype.pipe = function () {
314 Writable.prototype.write = function (chunk, encoding, cb) {
[all …]
/third_party/node/deps/npm/node_modules/from2/node_modules/readable-stream/
Dwritable.js2 var Writable = require("./lib/_stream_writable.js") variable
5 module.exports = Stream && Stream.Writable || Writable
7 module.exports = Writable
/third_party/node/deps/npm/node_modules/are-we-there-yet/node_modules/readable-stream/
Dwritable.js2 var Writable = require("./lib/_stream_writable.js") variable
5 module.exports = Stream && Stream.Writable || Writable
7 module.exports = Writable
/third_party/node/deps/npm/node_modules/through2/node_modules/readable-stream/
Dwritable.js2 var Writable = require("./lib/_stream_writable.js") variable
5 module.exports = Stream && Stream.Writable || Writable
7 module.exports = Writable
/third_party/node/deps/npm/node_modules/stream-iterate/node_modules/readable-stream/
Dwritable.js2 var Writable = require("./lib/_stream_writable.js") variable
5 module.exports = Stream && Stream.Writable || Writable
7 module.exports = Writable
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/node_modules/readable-stream/
Dwritable.js2 var Writable = require("./lib/_stream_writable.js") variable
5 module.exports = Stream && Stream.Writable || Writable
7 module.exports = Writable
/third_party/node/deps/npm/node_modules/duplexify/node_modules/readable-stream/
Dwritable.js2 var Writable = require("./lib/_stream_writable.js") variable
5 module.exports = Stream && Stream.Writable || Writable
7 module.exports = Writable

12345678910>>...13