Home
last modified time | relevance | path

Searched refs:openSync (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/node/test/wasi/
Dtest-wasi-stdio.js6 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/
Dtest-fs-open.js32 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()),
Dtest-internal-fs-syncwritestream.js35 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');
Dtest-fs-chmod.js34 fs._openSync = fs.openSync;
36 fs.openSync = openSync;
49 function openSync() { function
81 fs.closeSync(fs.openSync(file1, 'w'));
Dtest-fs-write-file-sync.js66 const _openSync = fs.openSync;
70 fs.openSync = (...args) => { function in fs
81 const fd = fs.openSync(file, 'w+', mode);
91 fs.openSync = _openSync;
Dtest-fs-writev.js22 const fd = fs.openSync(filename, 'w');
42 const fd = fs.openSync(filename, 'w');
65 const fd = fs.openSync(filename, 'w');
Dtest-fs-readv-sync.js30 const fd = fs.openSync(filename, 'r');
47 const fd = fs.openSync(filename, 'r');
68 const fd = fs.openSync(filename, 'r');
Dtest-fs-writev-sync.js22 const fd = fs.openSync(filename, 'w');
42 const fd = fs.openSync(filename, 'w');
64 const fd = fs.openSync(filename, 'w');
Dtest-fs-readv.js40 const fd = fs.openSync(filename, 'w+');
53 const fd = fs.openSync(filename, 'r');
69 const fd = fs.openSync(filename, 'r');
Dtest-fs-write.js48 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');
Dtest-fs-truncate.js54 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+');
Dtest-fs-promisified.js13 const fd = fs.openSync(__filename, 'r');
25 const fd = fs.openSync(filename, 'w');
Dtest-fs-readfile-fd.js48 const fd = fs.openSync(fn, 'r');
63 const fd = fs.openSync(filename, 'r');
Dtest-fs-promises-file-handle-read.js27 const fd = fs.openSync(filePath, 'w+');
42 const fd = fs.openSync(filePath, 'w+');
Dtest-fs-null-bytes.js66 check(fs.open, fs.openSync, 'foo\u0000bar', 'r');
100 check(fs.open, fs.openSync, fileUrl, 'r');
131 check(fs.open, fs.openSync, fileUrl2, 'r');
Dtest-fs-close.js8 const fd = fs.openSync(__filename, 'r');
Dtest-memory-usage-emfile.js15 files.push(fs.openSync(__filename, 'r'));
Dtest-fs-open-numeric-flags.js14 () => fs.openSync(pathNE, fs.constants.O_WRONLY),
Dtest-fs-utimes.js112 fd = fs.openSync(tmpdir.path, 'r+');
114 fd = fs.openSync(tmpdir.path, 'r');
Dtest-fs-truncate-sync.js15 const fd = fs.openSync(filename, 'r+');
/third_party/node/test/pummel/
Dtest-watch-file.js32 fs.closeSync(fs.openSync(f, 'w'));
51 const fd = fs.openSync(f, 'w+');
/third_party/protobuf/js/experimental/runtime/kernel/conformance/
Dconformance_testee_runner_node.js14 const fd = fs.openSync('/dev/stdin', 'r');
27 const fd = fs.openSync('/dev/stdout', 'w');
/third_party/node/deps/npm/node_modules/lockfile/test/
Dbasic.js216 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/
Decho-close-check.js37 var fd = fs.openSync(process.argv[1], 'r');
/third_party/node/benchmark/fs/
Dbench-statSync.js14 fs.openSync(__filename, 'r') :

12345