Home
last modified time | relevance | path

Searched refs:createReadStream (Results 1 – 25 of 124) sorted by relevance

12345

/third_party/node/test/parallel/
Dtest-fs-read-stream.js38 const file = fs.createReadStream(fn, options);
101 const file = fs.createReadStream(fn, { encoding: 'utf8' });
122 fs.createReadStream(rangeFile, { bufferSize: 1, start: 1, end: 2 });
133 const file = fs.createReadStream(rangeFile, { bufferSize: 1, start: 1 });
145 const file = fs.createReadStream(rangeFile, { bufferSize: 1.23, start: 1 });
157 fs.createReadStream(rangeFile, { start: 10, end: 2 });
167 const stream = fs.createReadStream(rangeFile, { start: 0, end: 0 });
181 const stream = new fs.createReadStream(rangeFile, { end: 1 });
202 const stream = new fs.createReadStream(filename, { end: 1 });
220 const pauseRes = fs.createReadStream(rangeFile);
[all …]
Dtest-fs-read-stream-throw-type-error.js12 fs.createReadStream(example, undefined);
13 fs.createReadStream(example, null);
14 fs.createReadStream(example, 'utf8');
15 fs.createReadStream(example, { encoding: 'utf8' });
19 fs.createReadStream(path, opt);
39 fs.createReadStream(example, opts)
65 fs.createReadStream(example, { start: 1, end: 5 });
Dtest-fs-read-stream-inherit.js53 const file = fs.createReadStream(fn, Object.create({ encoding: 'utf8' }));
72 const file = fs.createReadStream(rangeFile, options);
86 const file = fs.createReadStream(rangeFile, options);
100 const file = fs.createReadStream(rangeFile, options);
118 fs.createReadStream(rangeFile, Object.create({ start: 10, end: 2 }));
129 const stream = fs.createReadStream(rangeFile, options);
145 const pauseRes = fs.createReadStream(rangeFile);
153 fs.createReadStream(rangeFile, Object.create({ autoClose: false }));
167 file = fs.createReadStream(null, Object.create({ fd: file.fd, start: 0 }));
185 const file = fs.createReadStream(null, options);
[all …]
Dtest-fs-stream-double-close.js29 test1(fs.createReadStream(__filename));
30 test2(fs.createReadStream(__filename));
31 test3(fs.createReadStream(__filename));
Dtest-fs-non-number-arguments-throw.js15 const saneEmitter = fs.createReadStream(tempFile, { start: 4, end: 6 });
19 fs.createReadStream(tempFile, { start: '4', end: 6 });
28 fs.createReadStream(tempFile, { start: 4, end: '6' });
Dtest-fs-read-stream-patch-open.js8 const s = fs.createReadStream('asd')
15 fs.createReadStream('asd');
Dtest-fs-read-stream-double-close.js7 const s = fs.createReadStream(__filename);
14 const s = fs.createReadStream(__filename);
Dtest-fs-empty-readStream.js31 const read = fs.createReadStream(emptyFile, { fd });
39 const read = fs.createReadStream(emptyFile, { fd });
Dtest-fs-write-stream-encoding.js17 const exampleReadStream = fs.createReadStream(examplePath, {
33 fs.createReadStream(dummyPath, {
Dtest-fs-stream-destroy-emit-error.js10 const stream = fs.createReadStream(__filename);
22 const stream = fs.createReadStream(__filename, { emitClose: true });
Dtest-stream-preprocess.js25 fs.createReadStream(fixtures.path('file-to-read-without-bom.txt'), 'utf8');
46 fs.createReadStream(fixtures.path('file-to-read-with-bom.txt'), 'utf8');
Dtest-readline-async-iterators.js26 const readable = fs.createReadStream(filename);
50 const readable = fs.createReadStream(filename);
Dtest-readline-async-iterators-destroy.js27 const readable = fs.createReadStream(filename);
58 const readable = fs.createReadStream(filename);
Dtest-stream-finished.js68 const rs = fs.createReadStream(__filename);
78 const rs = fs.createReadStream(__filename);
95 const rs = fs.createReadStream('file-does-not-exist');
327 const rs = fs.createReadStream(__filename, { autoClose: false });
Dtest-stream-readable-unpipe-resume.js7 const readStream = fs.createReadStream(process.execPath);
Dtest-file-write-stream4.js15 const fileReadStream = fs.createReadStream(process.execPath);
/third_party/node/deps/npm/node_modules/byline/
DREADME.md33 var stream = byline(fs.createReadStream('sample.txt', { encoding: 'utf8' }));
52 var stream = fs.createReadStream('sample.txt');
65 var stream = fs.createReadStream('sample.txt');
74 var stream = fs.createReadStream('sample.txt');
78 var input = fs.createReadStream('LICENSE');
92 var stream = fs.createReadStream('sample.txt');
110 var input = fs.createReadStream('sample.txt');
/third_party/node/deps/npm/node_modules/combined-stream/
DReadme.md27 combinedStream.append(fs.createReadStream('file1.txt'));
28 combinedStream.append(fs.createReadStream('file2.txt'));
42 combinedStream.append(fs.createReadStream('file1.txt'));
43 combinedStream.append(fs.createReadStream('file2.txt'));
59 next(fs.createReadStream('file1.txt'));
62 next(fs.createReadStream('file2.txt'));
/third_party/parse5/bench/perf/
Dindex.js4 const { readFileSync, createReadStream, readdirSync } = require('fs');
110 const stream = createReadStream(fileName, 'utf8');
125 const stream = createReadStream(fileName, 'utf8');
/third_party/node/deps/npm/node_modules/pacote/lib/fetchers/
Dfile.js61 fs.createReadStream(src),
68 return pipe(fs.createReadStream(src), stream)
/third_party/parse5/packages/parse5-sax-parser/test/
Dsax-parser.test.js98 fs.createReadStream(path.join(__dirname, '../../../test/data/huge-page/huge-page.html'), 'utf8')
122 …fs.createReadStream(path.join(__dirname, '../../../test/data/huge-page/huge-page.html'), 'utf8').p…
/third_party/node/deps/npm/node_modules/through2/
DREADME.md12 fs.createReadStream('ex.txt')
33 fs.createReadStream('data.csv')
68 fs.createReadStream('/tmp/important.dat')
93 fs.createReadStream('/tmp/important.dat')
/third_party/node/deps/npm/node_modules/fs-write-stream-atomic/
Dindex.js111 fs.createReadStream(writeStream.__atomicTmp)
115 fs.createReadStream(writeStream.__atomicTarget)
/third_party/node/deps/npm/node_modules/pumpify/
DREADME.md29 fs.createReadStream('some-gzipped-tarball.tgz').pipe(untar)
47 fs.createReadStream('some-gzipped-tarball.tgz').pipe(untar)
/third_party/node/deps/npm/node_modules/graceful-fs/
Dgraceful-fs.js107 fs.createReadStream = createReadStream
311 function createReadStream (path, options) { function

12345