Searched refs:fstatSync (Results 1 – 22 of 22) sorted by relevance
/third_party/node/test/parallel/ |
D | test-fs-chmod.js | 101 assert.ok((fs.fstatSync(fd).mode & 0o777) & mode_async); 103 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode_async); 118 assert.ok((fs.fstatSync(fd).mode & 0o777) & mode_sync); 120 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode_sync);
|
D | test-fs-readfile-zero-byte-liar.js | 34 fs._fstatSync = fs.fstatSync; 44 fs.fstatSync = (fd) => { function in fs
|
D | test-fs-open-mode-mask.js | 25 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode); 33 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode);
|
D | test-worker-track-unmanaged-fds.js | 26 fs.fstatSync(fd); // Does not throw. 37 assert.throws(() => fs.fstatSync(fd), { code: 'EBADF' });
|
D | test-fs-stat-bigint.js | 121 runSyncTest(fs.fstatSync, fd); 145 () => fs.fstatSync(9999), 148 () => fs.fstatSync(9999, { throwIfNoEntry: false }),
|
D | test-fs-chmod-mask.js | 50 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode); 62 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode);
|
D | test-fs-utimes.js | 39 const stats = fs.fstatSync(resource); 45 return fs.fstatSync(resource);
|
D | test-listen-fd-ebadf.js | 36 while (fs.fstatSync(++invalidFd));
|
D | test-worker-cleanup-handles.js | 22 assert.throws(() => fs.fstatSync(fd), { code: 'EBADF' });
|
D | test-stdio-closed.js | 27 [0, 1, 2].forEach((i) => fs.fstatSync(i));
|
D | test-http2-respond-file-fd-invalid.js | 27 while (fs.fstatSync(++fd));
|
D | test-fs-stat.js | 67 const stats = fs.fstatSync(fd);
|
D | test-fs-error-messages.js | 124 () => fs.fstatSync(fd),
|
/third_party/node/deps/npm/node_modules/graceful-fs/ |
D | polyfills.js | 66 fs.fstatSync = statFixSync(fs.fstatSync)
|
/third_party/node/deps/npm/node_modules/tar/lib/ |
D | replace.js | 56 const st = fs.fstatSync(fd)
|
/third_party/node/deps/npm/node_modules/lockfile/ |
D | lockfile.js | 125 var st = fs.fstatSync(fd)
|
/third_party/jsframework/runtime/main/extend/systemplugin/napi/ |
D | ohos_fileio.js | 411 fstatSync: function (...args) { method
|
/third_party/node/test/common/ |
D | index.js | 666 while (fs.fstatSync(fd--) && fd > 0);
|
/third_party/node/lib/ |
D | fs.js | 1104 function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) { function 2107 fstatSync,
|
/third_party/node/doc/api/ |
D | http2.md | 1552 const stat = fs.fstatSync(fd); 1597 const stat = fs.fstatSync(fd);
|
D | fs.md | 4289 ### `fs.fstatSync(fd[, options])`
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V14.md | 1461 …om/nodejs/node/commit/2bbf253b00)] - **benchmark**: changed `fstat` to `fstatSync` (Narasimha Pras…
|