/third_party/node/lib/ |
D | tty.js | 84 function WriteStream(fd) { class 85 if (!(this instanceof WriteStream)) 86 return new WriteStream(fd); 117 ObjectSetPrototypeOf(WriteStream.prototype, net.Socket.prototype); 118 ObjectSetPrototypeOf(WriteStream, net.Socket); 120 WriteStream.prototype.isTTY = true; 122 WriteStream.prototype.getColorDepth = getColorDepth; 124 WriteStream.prototype.hasColors = hasColors; 126 WriteStream.prototype._refreshSize = function() { 144 WriteStream.prototype.cursorTo = function(x, y, callback) { [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-stream-construct-compat-error-write.js | 18 function WriteStream(...args) { class 20 fs.WriteStream.call(this, ...args); 22 Object.setPrototypeOf(WriteStream.prototype, fs.WriteStream.prototype); 23 Object.setPrototypeOf(WriteStream, fs.WriteStream); 25 WriteStream.prototype.open = common.mustCall(function WriteStream$open() { 38 const w = new WriteStream(`${tmpdir.path}/dummy`,
|
D | test-fs-stream-construct-compat-graceful-fs.js | 46 function WriteStream(...args) { class 47 fs.WriteStream.call(this, ...args); 49 Object.setPrototypeOf(WriteStream.prototype, fs.WriteStream.prototype); 50 Object.setPrototypeOf(WriteStream, fs.WriteStream); 52 WriteStream.prototype.open = common.mustCall(function WriteStream$open() { 65 const w = new WriteStream(`${tmpdir.path}/dummy`)
|
D | test-fs-stream-construct-compat-old-node.js | 58 function WriteStream(...args) { class 59 fs.WriteStream.call(this, ...args); 61 Object.setPrototypeOf(WriteStream.prototype, fs.WriteStream.prototype); 62 Object.setPrototypeOf(WriteStream, fs.WriteStream); 64 WriteStream.prototype.open = common.mustCall(function() { 82 const w = new WriteStream(`${tmpdir.path}/dummy`)
|
D | test-ttywrap-invalid-fd.js | 14 () => new tty.WriteStream(-1), 37 new tty.WriteStream(fd);
|
D | test-tty-backwards-api.js | 16 const { WriteStream } = require('tty'); 35 const writeStream = new WriteStream(1);
|
D | test-fs-write-stream-patch-open.js | 34 fs.WriteStream.prototype.open = common.mustCall(); class in fs
|
D | test-fs-write-stream-change-open.js | 34 const stream = fs.WriteStream(file);
|
D | test-net-access-byteswritten.js | 21 assert.strictEqual(tty.WriteStream.prototype.bytesWritten, undefined);
|
D | test-fs-write-stream.js | 35 const stream = fs.WriteStream(file);
|
/third_party/node/test/pseudo-tty/ |
D | test-tty-window-size.js | 5 const { WriteStream } = require('tty'); 24 const stream = WriteStream(1); 26 assert(stream instanceof WriteStream); 34 const stream = WriteStream(1); 55 const stream = WriteStream(1); 82 const stream = WriteStream(1);
|
D | test-tty-stream-constructors.js | 4 const { ReadStream, WriteStream } = require('tty'); 17 const stream = WriteStream(1); 19 assert(stream instanceof WriteStream);
|
D | test-tty-color-support.js | 5 const { WriteStream } = require('tty'); 9 const writeStream = new WriteStream(fd);
|
/third_party/node/lib/internal/fs/ |
D | streams.js | 309 function WriteStream(path, options) { class 310 if (!(this instanceof WriteStream)) 311 return new WriteStream(path, options); 377 ObjectSetPrototypeOf(WriteStream.prototype, Writable.prototype); 378 ObjectSetPrototypeOf(WriteStream, Writable); 380 ObjectDefineProperty(WriteStream.prototype, 'autoClose', { 393 WriteStream.prototype.open = openWriteFs; 395 WriteStream.prototype._construct = _construct; 455 WriteStream.prototype._write = function(data, encoding, cb) { 472 WriteStream.prototype._writev = function(data, cb) { [all …]
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
D | graceful-fs.js | 237 WriteStream = legStreams.WriteStream 246 var fs$WriteStream = fs.WriteStream 248 WriteStream.prototype = Object.create(fs$WriteStream.prototype) class 249 WriteStream.prototype.open = WriteStream$open 264 return WriteStream 267 WriteStream = val 285 var FileWriteStream = WriteStream 320 function WriteStream (path, options) { class 321 if (this instanceof WriteStream) 324 return WriteStream.apply(Object.create(WriteStream.prototype), arguments) [all …]
|
D | legacy-streams.js | 8 WriteStream: WriteStream 75 function WriteStream (path, options) { class 76 if (!(this instanceof WriteStream)) return new WriteStream(path, options);
|
/third_party/typescript/tests/baselines/reference/user/ |
D | graceful-fs.log | 15 node_modules/graceful-fs/graceful-fs.js(237,5): error TS2629: Cannot assign to 'WriteStream' becaus… 17 node_modules/graceful-fs/graceful-fs.js(267,7): error TS2629: Cannot assign to 'WriteStream' becaus… 38 …Type 'WriteStream' is missing the following properties from type 'Stream': pipe, addListener, on, … 39 …l-fs/legacy-streams.js(98,14): error TS2339: Property 'start' does not exist on type 'WriteStream'. 40 …l-fs/legacy-streams.js(99,36): error TS2339: Property 'start' does not exist on type 'WriteStream'. 41 …-fs/legacy-streams.js(102,16): error TS2339: Property 'start' does not exist on type 'WriteStream'. 42 …-fs/legacy-streams.js(106,23): error TS2339: Property 'start' does not exist on type 'WriteStream'. 43 …-fs/legacy-streams.js(115,12): error TS2339: Property 'flush' does not exist on type 'WriteStream'.
|
/third_party/node/doc/api/ |
D | tty.md | 9 The `node:tty` module provides the `tty.ReadStream` and `tty.WriteStream` 20 default, be instances of `tty.WriteStream`. The preferred method of determining 32 manually create instances of the `tty.ReadStream` and `tty.WriteStream` 88 ## Class: `tty.WriteStream` 98 `tty.WriteStream` instances created for a Node.js process and there 137 `writeStream.clearLine()` clears the current line of this `WriteStream` in a 155 `writeStream.clearScreenDown()` clears this `WriteStream` from the current 184 `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified 231 corresponding to this `WriteStream`. The array is of the type 292 `writeStream.moveCursor()` moves this `WriteStream`'s cursor _relative_ to its
|
/third_party/lzma/CPP/7zip/Common/ |
D | InOutTempBuffer.cpp | 127 RINOK(WriteStream(stream, _buf, _bufPos)); in WriteToStream() 144 RINOK(WriteStream(stream, _buf, processed)); in WriteToStream() 153 return WriteStream(stream, (const Byte *)_dynBuffer, _size); in WriteToStream()
|
D | StreamUtils.h | 11 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size) throw();
|
D | CWrappers.cpp | 93 p->Res = WriteStream(p->Stream, data, size); in MyWrite() 275 Res = WriteStream(Stream, Buf, size); in Flush()
|
D | StreamUtils.cpp | 42 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size) throw() in WriteStream() function
|
/third_party/node/deps/npm/node_modules/fs-minipass/lib/ |
D | index.js | 225 class WriteStream extends EE { class 388 class WriteStreamSync extends WriteStream { 442 exports.WriteStream = WriteStream
|
/third_party/node/deps/npm/node_modules/tar/node_modules/fs-minipass/ |
D | index.js | 224 class WriteStream extends EE { class 374 class WriteStreamSync extends WriteStream { 421 exports.WriteStream = WriteStream
|
/third_party/lzma/CPP/7zip/Compress/ |
D | Bcj2Coder.cpp | 246 RINOK(WriteStream(outStreams[enc.state], _bufs[enc.state], curSize)); in CodeReal() 298 RINOK(WriteStream(outStreams[i], _bufs[i], (size_t)(enc.bufs[i] - _bufs[i]))); in CodeReal() 447 RINOK(WriteStream(outStreams[0], _bufs[BCJ2_NUM_STREAMS], curSize)); in Code() 480 RINOK(WriteStream(outStreams[0], _bufs[BCJ2_NUM_STREAMS], curSize)); in Code()
|