Home
last modified time | relevance | path

Searched refs:ReadStream (Results 1 – 25 of 46) sorted by relevance

12

/third_party/node/deps/npm/node_modules/graceful-fs/
Dgraceful-fs.js207 ReadStream = legStreams.ReadStream
211 var fs$ReadStream = fs.ReadStream
213 ReadStream.prototype = Object.create(fs$ReadStream.prototype) class
214 ReadStream.prototype.open = ReadStream$open
225 return ReadStream
228 ReadStream = val
245 var FileReadStream = ReadStream
268 function ReadStream (path, options) {
269 if (this instanceof ReadStream)
272 return ReadStream.apply(Object.create(ReadStream.prototype), arguments)
[all …]
Dlegacy-streams.js7 ReadStream: ReadStream,
11 function ReadStream (path, options) { class
12 if (!(this instanceof ReadStream)) return new ReadStream(path, options);
/third_party/typescript/tests/baselines/reference/user/
Dgraceful-fs.log14 node_modules/graceful-fs/graceful-fs.js(207,5): error TS2539: Cannot assign to 'ReadStream' because…
16 node_modules/graceful-fs/graceful-fs.js(228,7): error TS2539: Cannot assign to 'ReadStream' because…
23 …Type 'ReadStream' is missing the following properties from type 'Stream': pipe, addListener, on, o…
24 …fs/legacy-streams.js(36,14): error TS2339: Property 'encoding' does not exist on type 'ReadStream'.
25 …legacy-streams.js(36,29): error TS2339: Property 'setEncoding' does not exist on type 'ReadStream'.
26 …fs/legacy-streams.js(36,46): error TS2339: Property 'encoding' does not exist on type 'ReadStream'.
27 …ul-fs/legacy-streams.js(38,14): error TS2339: Property 'start' does not exist on type 'ReadStream'.
28 …ul-fs/legacy-streams.js(39,36): error TS2339: Property 'start' does not exist on type 'ReadStream'.
29 …ul-fs/legacy-streams.js(48,16): error TS2339: Property 'start' does not exist on type 'ReadStream'.
30 …ul-fs/legacy-streams.js(52,23): error TS2339: Property 'start' does not exist on type 'ReadStream'.
[all …]
/third_party/node/lib/
Dtty.js47 function ReadStream(fd, options) { class
48 if (!(this instanceof ReadStream))
49 return new ReadStream(fd, options);
71 ObjectSetPrototypeOf(ReadStream.prototype, net.Socket.prototype);
72 ObjectSetPrototypeOf(ReadStream, net.Socket);
74 ReadStream.prototype.setRawMode = function(flag) {
165 module.exports = { isatty, ReadStream, WriteStream }; property
Dfs.js134 let ReadStream; variable
2066 if (!ReadStream) {
2067 ({ ReadStream, WriteStream } = require('internal/fs/streams'));
2068 FileReadStream = ReadStream;
2075 return new ReadStream(path, options);
2173 get ReadStream() {
2175 return ReadStream;
2178 set ReadStream(val) {
2179 ReadStream = val;
/third_party/node/lib/internal/fs/
Dstreams.js31 function ReadStream(path, options) { class
32 if (!(this instanceof ReadStream))
33 return new ReadStream(path, options);
106 ObjectSetPrototypeOf(ReadStream.prototype, Readable.prototype);
107 ObjectSetPrototypeOf(ReadStream, Readable);
112 ReadStream.prototype.open = openReadFs;
138 ReadStream.prototype._read = function(n) {
197 ReadStream.prototype._destroy = function(err, cb) {
220 ReadStream.prototype.close = function(cb) {
225 ObjectDefineProperty(ReadStream.prototype, 'pending', {
[all …]
/third_party/node/test/pseudo-tty/
Dtest-tty-stream-constructors.js4 const { ReadStream, WriteStream } = require('tty');
8 const stream = ReadStream(0);
11 assert(stream instanceof ReadStream);
Dtest-handle-wrap-isrefed-tty.js8 const ReadStream = require('tty').ReadStream; constant
9 const tty = new ReadStream(0);
/third_party/node/test/parallel/
Dtest-net-access-byteswritten.js18 assert.strictEqual(Object.getPrototypeOf(tty.ReadStream).prototype.bytesWritten,
20 assert.strictEqual(tty.ReadStream.prototype.bytesWritten, undefined);
Dtest-ttywrap-invalid-fd.js50 new tty.ReadStream(fd);
61 () => new tty.ReadStream(-1),
Dtest-fs-read-stream-patch-open.js14 fs.ReadStream.prototype.open = common.mustCall(); class in fs
Dtest-pipe-file-to-http.js70 const s = fs.ReadStream(filename);
Dtest-fs-assert-encoding-error.js73 fs.ReadStream('path', options);
Dtest-fs-options-immutable.js71 fs.ReadStream(fileName, options).destroy();
/third_party/node/doc/api/
Dtty.md9 The `tty` module provides the `tty.ReadStream` and `tty.WriteStream` classes.
19 `tty.ReadStream` and both [`process.stdout`][] and [`process.stderr`][] will, by
32 manually create instances of the `tty.ReadStream` and `tty.WriteStream`
35 ## Class: `tty.ReadStream`
43 [`process.stdin`][] will be the only `tty.ReadStream` instance in a Node.js
59 A `boolean` that is always `true` for `tty.ReadStream` instances.
66 * `mode` {boolean} If `true`, configures the `tty.ReadStream` to operate as a
67 raw device. If `false`, configures the `tty.ReadStream` to operate in its
72 Allows configuration of `tty.ReadStream` so that it operates as a raw device.
/third_party/node/deps/npm/node_modules/fs-minipass/
Dindex.js40 class ReadStream extends MiniPass { class
159 class ReadStreamSync extends ReadStream {
383 exports.ReadStream = ReadStream
DREADME.md7 - ReadStream
34 const readStream = new fsm.ReadStream('file.txt')
40 ## ReadStream(path, options)
/third_party/node/lib/internal/bootstrap/switches/
Dis_main_thread.js151 stdin = new tty.ReadStream(fd, {
160 stdin = new fs.ReadStream(null, { fd: fd, autoClose: false });
/third_party/node/test/sequential/
Dtest-stream2-fs.js28 const FSReadable = fs.ReadStream;
/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/node/deps/npm/node_modules/getpass/lib/
Dindex.js113 var rtty = new mod_tty.ReadStream(rttyfd);
/third_party/node/deps/npm/node_modules/tar/lib/
Dextract.js95 const stream = new fsm.ReadStream(file, {
Dlist.js119 const stream = new fsm.ReadStream(file, {
/third_party/flutter/skia/third_party/externals/spirv-tools/test/
Dbit_stream.cpp733 EXPECT_EQ("", reader.ReadStream(0)); in TEST()
734 EXPECT_EQ("0", reader.ReadStream(1)); in TEST()
735 EXPECT_EQ("101", reader.ReadStream(3)); in TEST()
736 EXPECT_EQ("01010000", reader.ReadStream(8)); in TEST()
739 reader.ReadStream(64)); in TEST()
748 EXPECT_EQ("", reader.ReadStream(10)); in TEST()

12