Home
last modified time | relevance | path

Searched refs:autoClose (Results 1 – 24 of 24) sorted by relevance

/third_party/node/lib/internal/fs/
Dsync_write_stream.js19 this.autoClose = options.autoClose === undefined ? true : options.autoClose;
39 if (this.autoClose)
Dstreams.js178 options.autoDestroy = options.autoClose === undefined ?
179 true : options.autoClose;
333 options.autoDestroy = options.autoClose === undefined ?
334 true : options.autoClose;
525 if (!this.autoClose) {
/third_party/node/test/parallel/
Dtest-internal-fs-syncwritestream.js21 assert.strictEqual(stream.autoClose, true);
26 const stream = new SyncWriteStream(1, { autoClose: false }); property
30 assert.strictEqual(stream.autoClose, false);
Dtest-fs-read-stream-inherit.js153 fs.createReadStream(rangeFile, Object.create({ autoClose: false })); property
154 assert.strictEqual(file.autoClose, false);
184 const options = Object.create({ fd: 13337, autoClose: false }); property
Dtest-fs-write-stream-autoclose-option.js11 let stream = fs.createWriteStream(file, { flags: 'w+', autoClose: false }); property
49 const stream = fs.createWriteStream(file, { autoClose: true }); property
Dtest-fs-stream-construct-compat-old-node.js23 if (this.autoClose) {
67 if (this.autoClose) {
Dtest-fs-read-stream-autoClose.js11 const file = fs.createWriteStream(writeFile, { autoClose: true }); property
Dtest-fs-ready-event-stream.js16 const writeStream = fs.createWriteStream(writeFile, { autoClose: true }); property
Dtest-fs-read-stream.js226 let file = fs.createReadStream(rangeFile, common.mustNotMutateObjectDeep({ autoClose: false })); property
257 …const file = fs.createReadStream(null, common.mustNotMutateObjectDeep({ fd: 13337, autoClose: fals… property
Dtest-fs-write-stream-double-close.js41 autoClose: false property
Dtest-fs-stream-construct-compat-graceful-fs.js24 if (that.autoClose)
Dtest-stream-finished.js411 const rs = fs.createReadStream(__filename, { autoClose: false }); property
/third_party/node/deps/npm/node_modules/fs-minipass/lib/
Dindex.js56 this[_autoClose] = typeof opt.autoClose === 'boolean' ?
57 opt.autoClose : true
240 this[_autoClose] = typeof opt.autoClose === 'boolean' ?
241 opt.autoClose : true
/third_party/node/deps/npm/node_modules/tar/node_modules/fs-minipass/
Dindex.js69 this[_autoClose] = typeof opt.autoClose === 'boolean' ?
70 opt.autoClose : true
239 this[_autoClose] = typeof opt.autoClose === 'boolean' ?
240 opt.autoClose : true
/third_party/node/lib/internal/bootstrap/switches/
Dis_main_thread.js60 stream = new SyncWriteStream(fd, { autoClose: false }); property
204 stdin = new fs.ReadStream(null, { fd: fd, autoClose: false }); property
/third_party/skia/src/core/
DSkPath.cpp1735 SkPath::Verb SkPath::Iter::autoClose(SkPoint pts[2]) { in autoClose() function in SkPath::Iter
1763 if (kLine_Verb == this->autoClose(ptsParam)) { in next()
1780 verb = this->autoClose(pts); in next()
1818 verb = this->autoClose(pts); in next()
3516 bool autoClose = false; in IsRectContour() local
3519 while (*currVerb < verbCnt && (!allowPartial || !autoClose)) { in IsRectContour()
3524 autoClose = true; in IsRectContour()
3553 if (autoClose && nextDirection == directions[0]) { in IsRectContour()
3556 closedOrMoved = autoClose; in IsRectContour()
3592 if (allowPartial && !autoClose && directions[0] >= 0) { in IsRectContour()
[all …]
/third_party/node/deps/npm/node_modules/graceful-fs/
Dgraceful-fs.js308 if (that.autoClose)
/third_party/skia/include/core/
DSkPath.h1522 Verb autoClose(SkPoint pts[2]);
/third_party/node/deps/npm/node_modules/tar/lib/
Dunpack.js405 autoClose: false, property
/third_party/node/doc/api/
Dfs.md258 * `autoClose` {boolean} **Default:** `true`
302 If `autoClose` is false, then the file descriptor won't be closed, even if
304 sure there's no file descriptor leak. If `autoClose` is set to true (default
325 * `autoClose` {boolean} **Default:** `true`
336 If `autoClose` is set to true (default behavior) on `'error'` or `'finish'`
337 the file descriptor will be closed automatically. If `autoClose` is false,
534 * `autoClose` {boolean} **Default:** `true`
2361 description: The `fs` option does not need `close` method if `autoClose` is `false`.
2405 * `autoClose` {boolean} **Default:** `true`
2441 `open` is also required. If `autoClose` is `true`, an override for `close` is
[all …]
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs16545 this[_autoClose] = typeof opt.autoClose === "boolean" ? opt.autoClose : true;
16691 this[_autoClose] = typeof opt.autoClose === "boolean" ? opt.autoClose : true;
18704 autoClose: false
20488 if (that.autoClose)
/third_party/node/doc/changelogs/
DCHANGELOG_V5.md938 * **fs**: add autoClose option to fs.createWriteStream (Saquib) [#3679](https://github.com/nodejs/n…
981 …ub.com/nodejs/node/commit/6039a7c1b5)] - **(SEMVER-MINOR)** **fs**: add autoClose option to fs.cre…
DCHANGELOG_ARCHIVE.md833 * fs: add autoClose=true option to fs.createReadStream (Farid Neshat)
DCHANGELOG_V13.md596 …://github.com/nodejs/node/commit/7eed9d6bcc)] - **fs**: fix WriteStream autoClose order (Robert Na…