Home
last modified time | relevance | path

Searched refs:WriteStream (Results 1 – 25 of 70) sorted by relevance

123

/third_party/node/lib/
Dtty.js84 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/
Dtest-fs-stream-construct-compat-error-write.js18 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`,
Dtest-fs-stream-construct-compat-graceful-fs.js46 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`)
Dtest-fs-stream-construct-compat-old-node.js58 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`)
Dtest-ttywrap-invalid-fd.js14 () => new tty.WriteStream(-1),
37 new tty.WriteStream(fd);
Dtest-tty-backwards-api.js16 const { WriteStream } = require('tty');
35 const writeStream = new WriteStream(1);
Dtest-fs-write-stream-patch-open.js34 fs.WriteStream.prototype.open = common.mustCall(); class in fs
Dtest-fs-write-stream-change-open.js34 const stream = fs.WriteStream(file);
Dtest-net-access-byteswritten.js21 assert.strictEqual(tty.WriteStream.prototype.bytesWritten, undefined);
Dtest-fs-write-stream.js35 const stream = fs.WriteStream(file);
/third_party/node/test/pseudo-tty/
Dtest-tty-window-size.js5 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);
Dtest-tty-stream-constructors.js4 const { ReadStream, WriteStream } = require('tty');
17 const stream = WriteStream(1);
19 assert(stream instanceof WriteStream);
Dtest-tty-color-support.js5 const { WriteStream } = require('tty');
9 const writeStream = new WriteStream(fd);
/third_party/node/lib/internal/fs/
Dstreams.js309 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/
Dgraceful-fs.js237 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 …]
Dlegacy-streams.js8 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/
Dgraceful-fs.log15 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/
Dtty.md9 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/
DInOutTempBuffer.cpp127 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()
DStreamUtils.h11 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size) throw();
DCWrappers.cpp93 p->Res = WriteStream(p->Stream, data, size); in MyWrite()
275 Res = WriteStream(Stream, Buf, size); in Flush()
DStreamUtils.cpp42 HRESULT WriteStream(ISequentialOutStream *stream, const void *data, size_t size) throw() in WriteStream() function
/third_party/node/deps/npm/node_modules/fs-minipass/lib/
Dindex.js225 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/
Dindex.js224 class WriteStream extends EE { class
374 class WriteStreamSync extends WriteStream {
421 exports.WriteStream = WriteStream
/third_party/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp246 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()

123