Home
last modified time | relevance | path

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

12

/third_party/node/lib/
Dtty.js85 function WriteStream(fd) { class
86 if (!(this instanceof WriteStream))
87 return new WriteStream(fd);
118 ObjectSetPrototypeOf(WriteStream.prototype, net.Socket.prototype);
119 ObjectSetPrototypeOf(WriteStream, net.Socket);
121 WriteStream.prototype.isTTY = true;
123 WriteStream.prototype.getColorDepth = getColorDepth;
125 WriteStream.prototype.hasColors = hasColors;
127 WriteStream.prototype._refreshSize = function() {
145 WriteStream.prototype.cursorTo = function(x, y, callback) {
[all …]
/third_party/node/deps/npm/node_modules/flush-write-stream/
Dindex.js8 module.exports = WriteStream
10 function WriteStream (opts, write, flush) { class
11 if (!(this instanceof WriteStream)) return new WriteStream(opts, write, flush)
26 inherits(WriteStream, stream.Writable)
28 WriteStream.obj = function (opts, worker, flush) {
29 if (typeof opts === 'function') return WriteStream.obj(null, opts, worker)
32 return new WriteStream(opts, worker, flush)
35 WriteStream.prototype._write = function (data, enc, cb) {
40 WriteStream.prototype.end = function (data, enc, cb) {
49 WriteStream.prototype.destroy = function (err) {
/third_party/node/lib/internal/fs/
Dstreams.js230 function WriteStream(path, options) { class
231 if (!(this instanceof WriteStream))
232 return new WriteStream(path, options);
305 ObjectSetPrototypeOf(WriteStream.prototype, Writable.prototype);
306 ObjectSetPrototypeOf(WriteStream, Writable);
308 WriteStream.prototype._final = function(callback) {
321 WriteStream.prototype.open = openWriteFs;
346 WriteStream.prototype._write = function(data, encoding, cb) {
376 WriteStream.prototype._writev = function(data, cb) {
420 WriteStream.prototype._destroy = ReadStream.prototype._destroy;
[all …]
/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/deps/npm/node_modules/graceful-fs/
Dgraceful-fs.js208 WriteStream = legStreams.WriteStream
217 var fs$WriteStream = fs.WriteStream
219 WriteStream.prototype = Object.create(fs$WriteStream.prototype) class
220 WriteStream.prototype.open = WriteStream$open
235 return WriteStream
238 WriteStream = val
256 var FileWriteStream = WriteStream
291 function WriteStream (path, options) { class
292 if (this instanceof WriteStream)
295 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(208,5): error TS2539: Cannot assign to 'WriteStream' becaus…
17 node_modules/graceful-fs/graceful-fs.js(238,7): error TS2539: Cannot assign to 'WriteStream' becaus…
36 …Type 'WriteStream' is missing the following properties from type 'Stream': pipe, addListener, on, …
37 …l-fs/legacy-streams.js(98,14): error TS2339: Property 'start' does not exist on type 'WriteStream'.
38 …l-fs/legacy-streams.js(99,36): error TS2339: Property 'start' does not exist on type 'WriteStream'.
39 …-fs/legacy-streams.js(102,16): error TS2339: Property 'start' does not exist on type 'WriteStream'.
40 …-fs/legacy-streams.js(106,23): error TS2339: Property 'start' does not exist on type 'WriteStream'.
41 …-fs/legacy-streams.js(115,12): error TS2339: Property 'flush' does not exist on type 'WriteStream'.
/third_party/node/doc/api/
Dtty.md9 The `tty` module provides the `tty.ReadStream` and `tty.WriteStream` classes.
20 default, be instances of `tty.WriteStream`. The preferred method of determining
32 manually create instances of the `tty.ReadStream` and `tty.WriteStream`
79 ## Class: `tty.WriteStream`
88 `tty.WriteStream` instances created for a Node.js process and there
125 `writeStream.clearLine()` clears the current line of this `WriteStream` in a
142 `writeStream.clearScreenDown()` clears this `WriteStream` from the current
169 `writeStream.cursorTo()` moves this `WriteStream`'s cursor to the specified
215 corresponding to this `WriteStream`. The array is of the type
273 `writeStream.moveCursor()` moves this `WriteStream`'s cursor *relative* to its
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/test/
Dslow-close.js18 var realEmit = fs.WriteStream.prototype.emit
20 fs.WriteStream.prototype.emit = function (event) { class
/third_party/node/test/parallel/
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.js33 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);
Dtest-fs-assert-encoding-error.js77 fs.WriteStream('path', options);
/third_party/node/deps/npm/node_modules/fs-minipass/
Dindex.js203 class WriteStream extends EE { class
339 class WriteStreamSync extends WriteStream {
386 exports.WriteStream = WriteStream
DREADME.md9 - WriteStream
35 const writeStream = new fsm.WriteStream('output.txt')
54 ## WriteStream(path, options)
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dbit_stream.cpp45 void WriteStream(const std::string& bits) override { in WriteStream() function in __anonbaf8dc970111::BitWriterStringStream
438 TEST(BitWriterStringStream, WriteStream) { in TEST() argument
441 writer.WriteStream(bits1); in TEST()
447 writer.WriteStream(bits2); in TEST()
493 writer.WriteStream(bits1); in TEST()
518 TEST(BitWriterWord64, WriteStream) { in TEST() argument
525 writer.WriteStream(bits); in TEST()
534 writer.WriteStream(bits); in TEST()
542 writer.WriteStream(bits); in TEST()
594 writer1.WriteStream(bits); in TEST()
[all …]
/third_party/node/deps/npm/node_modules/pump/
Dindex.js15 …return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) &…
/third_party/node/deps/npm/node_modules/pumpify/node_modules/pump/
Dindex.js15 …return (stream instanceof (fs.ReadStream || noop) || stream instanceof (fs.WriteStream || noop)) &…
/third_party/boost/libs/beast/test/beast/core/
Dstream_traits.cpp328 template <class WriteStream>
329 void hello_and_close (WriteStream& stream) in hello_and_close()
/third_party/node/deps/npm/node_modules/getpass/lib/
Dindex.js115 var wtty = new mod_tty.WriteStream(wttyfd);

12