Searched refs:closeSync (Results 1 - 25 of 49) sorted by relevance
12
/third_party/node/test/wasi/ |
H A D | test-wasi-stdio.js | 5 const { closeSync, openSync, readFileSync, writeFileSync } = require('fs'); 28 closeSync(stdin); 29 closeSync(stdout); 30 closeSync(stderr);
|
/third_party/node/test/parallel/ |
H A D | test-fs-opendir.js | 18 fs.closeSync(fs.openSync(path.join(testDir, filename), 'w')); 63 dir.closeSync(); 66 assert.throws(() => dir.closeSync(), dirclosedError); 234 // Check that readSync() and closeSync() during read() throw exceptions 239 assert.throws(() => dir.closeSync(), dirconcurrentError); 243 dir.closeSync(); 261 dir.closeSync(); 279 dir.closeSync(); 288 dir.closeSync();
|
H A D | test-fs-chmod.js | 38 fs._closeSync = fs.closeSync; 40 fs.closeSync = closeSync; 59 function closeSync() { function 81 fs.closeSync(fs.openSync(file1, 'w'));
|
H A D | test-fs-readfile-fd.js | 50 fs.closeSync(fd); 73 fs.closeSync(fd); 90 fs.closeSync(fd);
|
H A D | test-fs-close-errors.js | 3 // This tests that the errors thrown from fs.close and fs.closeSync 18 assert.throws(() => fs.closeSync(input), errObj); 34 fs.closeSync(fd);
|
H A D | test-fs-write-sync-optional-params.js | 29 if (fd != null) fs.closeSync(fd); 41 if (fd != null) fs.closeSync(fd); 48 if (fd != null) fs.closeSync(fd);
|
H A D | test-fs-truncate.js | 71 fs.closeSync(fd); 149 process.on('beforeExit', () => fs.closeSync(fd)); 166 process.on('beforeExit', () => fs.closeSync(fd)); 176 process.on('beforeExit', () => fs.closeSync(fd)); 230 process.on('beforeExit', () => fs.closeSync(fd));
|
H A D | test-fs-open-mode-mask.js | 26 fs.closeSync(fd); 34 fs.closeSync(fd);
|
H A D | test-fs-read-optional-params.js | 19 fs.closeSync(paramsFilehandle); 27 fs.closeSync(optionsFilehandle);
|
H A D | test-fs-sync-fd-leak.js | 34 fs.closeSync = function(fd) {
|
H A D | test-fs-write-stream-change-open.js | 49 fs.closeSync(fd);
|
H A D | test-fs-write-reuse-callback.js | 30 fs.closeSync(fd);
|
H A D | test-fs-readSync-optional-params.js | 19 if (fd != null) fs.closeSync(fd);
|
H A D | test-fs-sir-writes-alot.js | 48 fs.closeSync(fd);
|
H A D | test-fs-write-stream.js | 41 fs.closeSync(fd);
|
/third_party/node/test/pummel/ |
H A D | test-watch-file.js | 32 fs.closeSync(fs.openSync(f, 'w')); 53 fs.closeSync(fd);
|
/third_party/node/lib/internal/fs/ |
H A D | sync_write_stream.js | 10 const { closeSync, writeSync } = require('fs'); 40 closeSync(this.fd);
|
/third_party/node/lib/internal/modules/esm/ |
H A D | formats.js | 9 const { closeSync, openSync, readSync } = require('fs'); 73 if (fd !== undefined) { closeSync(fd); }
|
/third_party/protobuf/js/experimental/runtime/kernel/conformance/ |
H A D | conformance_testee_runner_node.js | 16 fs.closeSync(fd); 29 fs.closeSync(fd);
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
H A D | polyfills.js | 198 fs.closeSync(fd) 201 fs.closeSync(fd) 234 fs.closeSync(fd) 237 fs.closeSync(fd)
|
H A D | graceful-fs.js | 48 // Patch fs.close/closeSync to shared queue version, because we need 71 fs.closeSync = (function (fs$closeSync) { 72 function closeSync (fd) { 74 fs$closeSync.apply(fs, arguments) 78 Object.defineProperty(closeSync, previousSymbol, { 79 value: fs$closeSync 81 return closeSync 82 })(fs.closeSync)
|
/third_party/node/benchmark/fs/ |
H A D | bench-statSync.js | 25 fs.closeSync(arg);
|
H A D | bench-stat.js | 24 fs.closeSync(arg);
|
/third_party/node/deps/npm/node_modules/cross-spawn/lib/util/ |
H A D | readShebang.js | 16 fs.closeSync(fd);
|
/third_party/node/deps/npm/node_modules/write-file-atomic/lib/ |
H A D | index.js | 229 fs.closeSync(fd) 257 fs.closeSync(fd)
|
Completed in 5 milliseconds
12