Searched refs:stringToFlags (Results 1 – 8 of 8) sorted by relevance
/third_party/node/test/parallel/ |
D | test-fs-open-flags.js | 43 const { stringToFlags } = require('internal/fs/utils'); 45 assert.strictEqual(stringToFlags('r'), O_RDONLY); 46 assert.strictEqual(stringToFlags('r+'), O_RDWR); 47 assert.strictEqual(stringToFlags('rs+'), O_RDWR | O_SYNC); 48 assert.strictEqual(stringToFlags('sr+'), O_RDWR | O_SYNC); 49 assert.strictEqual(stringToFlags('w'), O_TRUNC | O_CREAT | O_WRONLY); 50 assert.strictEqual(stringToFlags('w+'), O_TRUNC | O_CREAT | O_RDWR); 51 assert.strictEqual(stringToFlags('a'), O_APPEND | O_CREAT | O_WRONLY); 52 assert.strictEqual(stringToFlags('a+'), O_APPEND | O_CREAT | O_RDWR); 54 assert.strictEqual(stringToFlags('wx'), O_TRUNC | O_CREAT | O_WRONLY | O_EXCL); [all …]
|
D | test-fs-filehandle.js | 9 const { stringToFlags } = require('internal/fs/utils'); 18 stringToFlags('r'), 0o666, undefined, ctx).fd;
|
/third_party/node/lib/internal/fs/ |
D | utils.js | 581 function stringToFlags(flags, name = 'flags') { function 961 stringToFlags, property
|
D | promises.js | 64 stringToFlags, 587 const flagsNumber = stringToFlags(flags);
|
/third_party/node/lib/ |
D | fs.js | 112 stringToFlags, 410 const flagsNumber = stringToFlags(options.flag, 'options.flag'); 575 const flagsNumber = stringToFlags(flags); 596 const flagsNumber = stringToFlags(flags);
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V9.md | 349 …* support as and as+ flags in stringToFlags() (Sarat Addepalli) [#18801](https://github.com/nodejs… 412 …607b33cfcc)] - **(SEMVER-MINOR)** **fs**: support as and as+ flags in stringToFlags() (Sarat Addep…
|
D | CHANGELOG_V7.md | 2158 …com/nodejs/node/commit/7f7d1d385d)] - **(SEMVER-MAJOR)** **fs**: move stringToFlags() to lib/inter…
|
D | CHANGELOG_V8.md | 589 …* support as and as+ flags in stringToFlags() (Sarat Addepalli) [#18801](https://github.com/nodejs… 703 …e25d5d077d)] - **(SEMVER-MINOR)** **fs**: support as and as+ flags in stringToFlags() (Sarat Addep…
|