Home
last modified time | relevance | path

Searched refs:ReadStream (Results 1 - 21 of 21) sorted by relevance

/third_party/node/test/parallel/
H A Dtest-fs-stream-construct-compat-error-read.js13 function ReadStream(...args) {
14 fs.ReadStream.call(this, ...args);
16 Object.setPrototypeOf(ReadStream.prototype, fs.ReadStream.prototype);
17 Object.setPrototypeOf(ReadStream, fs.ReadStream); class
19 ReadStream.prototype.open = common.mustCall(function ReadStream$open() {
26 const r = new ReadStream('/doesnotexist', { emitClose: true })
H A Dtest-fs-stream-construct-compat-old-node.js14 function ReadStream(...args) {
15 fs.ReadStream.call(this, ...args);
17 Object.setPrototypeOf(ReadStream.prototype, fs.ReadStream.prototype);
18 Object.setPrototypeOf(ReadStream, fs.ReadStream); class
20 ReadStream.prototype.open = common.mustCall(function() {
38 const r = new ReadStream(fixtures.path('x.txt'))
H A Dtest-fs-stream-construct-compat-graceful-fs.js14 function ReadStream(...args) {
15 fs.ReadStream.call(this, ...args);
17 Object.setPrototypeOf(ReadStream.prototype, fs.ReadStream.prototype);
18 Object.setPrototypeOf(ReadStream, fs.ReadStream); class
20 ReadStream.prototype.open = common.mustCall(function ReadStream$open() {
36 const r = new ReadStream(fixtures.path('x.txt'))
H A Dtest-ttywrap-invalid-fd.js50 new tty.ReadStream(fd);
61 () => new tty.ReadStream(-1),
H A Dtest-pipe-file-to-http.js70 const s = fs.ReadStream(filename);
H A Dtest-fs-assert-encoding-error.js76 fs.ReadStream(testPath, options);
H A Dtest-fs-read-stream-inherit.js15 const file = fs.ReadStream(fn);
/third_party/node/lib/
H A Dtty.js47 function ReadStream(fd, options) { class
48 if (!(this instanceof ReadStream))
49 return new ReadStream(fd, options);
70 ObjectSetPrototypeOf(ReadStream.prototype, net.Socket.prototype);
71 ObjectSetPrototypeOf(ReadStream, net.Socket);
73 ReadStream.prototype.setRawMode = function(flag) {
164 module.exports = { isatty, ReadStream, WriteStream };
H A Dfs.js150 let ReadStream;
3024 if (!ReadStream) {
3025 ({ ReadStream, WriteStream } = require('internal/fs/streams'));
3026 FileReadStream = ReadStream;
3047 * @returns {ReadStream}
3051 return new ReadStream(path, options);
3165 get ReadStream() {
3167 return ReadStream;
3170 set ReadStream(val) {
3171 ReadStream
[all...]
/third_party/node/deps/npm/node_modules/graceful-fs/
H A Dlegacy-streams.js7 ReadStream: ReadStream,
11 function ReadStream (path, options) { class
12 if (!(this instanceof ReadStream)) return new ReadStream(path, options);
H A Dgraceful-fs.js236 ReadStream = legStreams.ReadStream
240 var fs$ReadStream = fs.ReadStream
241 if (fs$ReadStream) {
242 ReadStream.prototype = Object.create(fs$ReadStream.prototype)
243 ReadStream.prototype.open = ReadStream$open
252 Object.defineProperty(fs, 'ReadStream', {
[all...]
/third_party/node/lib/internal/fs/
H A Dstreams.js150 function ReadStream(path, options) { class
151 if (!(this instanceof ReadStream))
152 return new ReadStream(path, options);
216 ObjectSetPrototypeOf(ReadStream.prototype, Readable.prototype);
217 ObjectSetPrototypeOf(ReadStream, Readable);
219 ObjectDefineProperty(ReadStream.prototype, 'autoClose', {
231 }, 'ReadStream.prototype.open() is deprecated', 'DEP0135');
232 ReadStream.prototype.open = openReadFs;
234 ReadStream.prototype._construct = _construct;
236 ReadStream
[all...]
H A Dpromises.js321 * @typedef {import('./streams').ReadStream
322 * } ReadStream
331 * @returns {ReadStream}
334 const { ReadStream } = lazyFsStreams();
335 return new ReadStream(undefined, { ...options, fd: this });
/third_party/lzma/CPP/7zip/Common/
H A DStreamUtils.cpp54 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *processedSize) throw() in ReadStream() function
76 RINOK(ReadStream(stream, data, &processedSize)) in ReadStream_FALSE()
83 RINOK(ReadStream(stream, data, &processedSize)) in ReadStream_FAIL()
H A DStreamUtils.h26 HRESULT ReadStream(ISequentialInStream *stream, void *data, size_t *size) throw();
H A DFilterCoder.cpp128 hres = ReadStream(inStream, _buf + readPos, &processedSize); in Code()
497 const HRESULT res = ReadStream(_inStream, _buf + _bufPos, &readSize); in Read()
/third_party/node/lib/internal/bootstrap/switches/
H A Dis_main_thread.js198 stdin = new tty.ReadStream(fd);
204 stdin = new fs.ReadStream(null, { fd: fd, autoClose: false });
/third_party/node/deps/npm/node_modules/cacache/lib/
H A Dverify.js162 await ssri.checkStream(new fsm.ReadStream(filepath), sri)
/third_party/lzma/CPP/7zip/Archive/
H A DLzmaHandler.cpp349 RINOK(ReadStream(inStream, buf, &processedSize))
/third_party/lzma/CPP/7zip/UI/Common/
H A DOpenArchive.cpp1809 RINOK(ReadStream(op.stream, byteBuffer, &processedSize))
1829 RINOK(ReadStream(op.stream, byteBuffer, &processedSize))
2144 RINOK(ReadStream(op.stream, byteBuffer, &processedSize))
2504 RINOK(ReadStream(op.stream, byteBuffer + bytesInBuf, &processedSize))
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zUpdate.cpp1109 result = ReadStream(stream, Buffer, &size); in GetFilterGroup()

Completed in 16 milliseconds