/third_party/node/test/wasi/ |
D | test-wasi-stdio.js | 6 const { closeSync, openSync, readFileSync, writeFileSync } = require('fs'); 19 const stdin = openSync(stdinFile, 'r'); 20 const stdout = openSync(stdoutFile, 'a'); 21 const stderr = openSync(stderrFile, 'a');
|
/third_party/node/test/parallel/ |
D | test-fs-open.js | 32 fs.openSync('/8hvftyuncxrt/path/to/file/that/does/not/exist', 'r'); 39 fs.openSync(__filename); 85 () => fs.openSync(i, 'r', common.mustNotCall()), 110 () => fs.openSync(__filename, 'r', mode, common.mustNotCall()),
|
D | test-internal-fs-syncwritestream.js | 35 const fd = fs.openSync(filename, 'w'); 47 const fd = fs.openSync(filename, 'w'); 57 const fd = fs.openSync(filename, 'w'); 67 const fd = fs.openSync(filename, 'w');
|
D | test-fs-chmod.js | 34 fs._openSync = fs.openSync; 36 fs.openSync = openSync; 49 function openSync() { function 81 fs.closeSync(fs.openSync(file1, 'w'));
|
D | test-fs-write-file-sync.js | 66 const _openSync = fs.openSync; 70 fs.openSync = (...args) => { function in fs 81 const fd = fs.openSync(file, 'w+', mode); 91 fs.openSync = _openSync;
|
D | test-fs-writev.js | 22 const fd = fs.openSync(filename, 'w'); 42 const fd = fs.openSync(filename, 'w'); 65 const fd = fs.openSync(filename, 'w');
|
D | test-fs-readv-sync.js | 30 const fd = fs.openSync(filename, 'r'); 47 const fd = fs.openSync(filename, 'r'); 68 const fd = fs.openSync(filename, 'r');
|
D | test-fs-writev-sync.js | 22 const fd = fs.openSync(filename, 'w'); 42 const fd = fs.openSync(filename, 'w'); 64 const fd = fs.openSync(filename, 'w');
|
D | test-fs-readv.js | 40 const fd = fs.openSync(filename, 'w+'); 53 const fd = fs.openSync(filename, 'r'); 69 const fd = fs.openSync(filename, 'r');
|
D | test-fs-write.js | 48 const fd = fs.openSync(fn, 'w'); 58 const fd = fs.openSync(fn, 'w'); 68 const fd = fs.openSync(fn, 'w'); 78 const fd = fs.openSync(fn, 'w');
|
D | test-fs-truncate.js | 54 const fd = fs.openSync(filename, 'r+'); 148 const fd = fs.openSync(file2, 'r+'); 165 const fd = fs.openSync(file4, 'r+'); 175 const fd = fs.openSync(file5, 'r+'); 229 const fd = fs.openSync(file6, 'r+');
|
D | test-fs-promisified.js | 13 const fd = fs.openSync(__filename, 'r'); 25 const fd = fs.openSync(filename, 'w');
|
D | test-fs-readfile-fd.js | 48 const fd = fs.openSync(fn, 'r'); 63 const fd = fs.openSync(filename, 'r');
|
D | test-fs-promises-file-handle-read.js | 27 const fd = fs.openSync(filePath, 'w+'); 42 const fd = fs.openSync(filePath, 'w+');
|
D | test-fs-null-bytes.js | 66 check(fs.open, fs.openSync, 'foo\u0000bar', 'r'); 100 check(fs.open, fs.openSync, fileUrl, 'r'); 131 check(fs.open, fs.openSync, fileUrl2, 'r');
|
D | test-fs-close.js | 8 const fd = fs.openSync(__filename, 'r');
|
D | test-memory-usage-emfile.js | 15 files.push(fs.openSync(__filename, 'r'));
|
D | test-fs-open-numeric-flags.js | 14 () => fs.openSync(pathNE, fs.constants.O_WRONLY),
|
D | test-fs-utimes.js | 112 fd = fs.openSync(tmpdir.path, 'r+'); 114 fd = fs.openSync(tmpdir.path, 'r');
|
D | test-fs-truncate-sync.js | 15 const fd = fs.openSync(filename, 'r+');
|
/third_party/node/test/pummel/ |
D | test-watch-file.js | 32 fs.closeSync(fs.openSync(f, 'w')); 51 const fd = fs.openSync(f, 'w+');
|
/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
D | conformance_testee_runner_node.js | 14 const fd = fs.openSync('/dev/stdin', 'r'); 27 const fd = fs.openSync('/dev/stdout', 'w');
|
/third_party/node/deps/npm/node_modules/lockfile/test/ |
D | basic.js | 216 fs._openSync = fs.openSync 217 fs.openSync = function (path, mode) { function 219 fs.openSync = fs._openSync 220 return fs.openSync(path, mode)
|
/third_party/node/test/fixtures/ |
D | echo-close-check.js | 37 var fd = fs.openSync(process.argv[1], 'r');
|
/third_party/node/benchmark/fs/ |
D | bench-statSync.js | 14 fs.openSync(__filename, 'r') :
|