Home
last modified time | relevance | path

Searched refs:fstatSync (Results 1 – 22 of 22) sorted by relevance

/third_party/node/test/parallel/
Dtest-fs-chmod.js101 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);
Dtest-fs-readfile-zero-byte-liar.js34 fs._fstatSync = fs.fstatSync;
44 fs.fstatSync = (fd) => { function in fs
Dtest-fs-open-mode-mask.js25 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode);
33 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode);
Dtest-worker-track-unmanaged-fds.js26 fs.fstatSync(fd); // Does not throw.
37 assert.throws(() => fs.fstatSync(fd), { code: 'EBADF' });
Dtest-fs-stat-bigint.js121 runSyncTest(fs.fstatSync, fd);
145 () => fs.fstatSync(9999),
148 () => fs.fstatSync(9999, { throwIfNoEntry: false }),
Dtest-fs-chmod-mask.js50 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode);
62 assert.strictEqual(fs.fstatSync(fd).mode & 0o777, mode);
Dtest-fs-utimes.js39 const stats = fs.fstatSync(resource);
45 return fs.fstatSync(resource);
Dtest-listen-fd-ebadf.js36 while (fs.fstatSync(++invalidFd));
Dtest-worker-cleanup-handles.js22 assert.throws(() => fs.fstatSync(fd), { code: 'EBADF' });
Dtest-stdio-closed.js27 [0, 1, 2].forEach((i) => fs.fstatSync(i));
Dtest-http2-respond-file-fd-invalid.js27 while (fs.fstatSync(++fd));
Dtest-fs-stat.js67 const stats = fs.fstatSync(fd);
Dtest-fs-error-messages.js124 () => fs.fstatSync(fd),
/third_party/node/deps/npm/node_modules/graceful-fs/
Dpolyfills.js66 fs.fstatSync = statFixSync(fs.fstatSync)
/third_party/node/deps/npm/node_modules/tar/lib/
Dreplace.js56 const st = fs.fstatSync(fd)
/third_party/node/deps/npm/node_modules/lockfile/
Dlockfile.js125 var st = fs.fstatSync(fd)
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_fileio.js411 fstatSync: function (...args) { method
/third_party/node/test/common/
Dindex.js666 while (fs.fstatSync(fd--) && fd > 0);
/third_party/node/lib/
Dfs.js1104 function fstatSync(fd, options = { bigint: false, throwIfNoEntry: true }) { function
2107 fstatSync,
/third_party/node/doc/api/
Dhttp2.md1552 const stat = fs.fstatSync(fd);
1597 const stat = fs.fstatSync(fd);
Dfs.md4289 ### `fs.fstatSync(fd[, options])`
/third_party/node/doc/changelogs/
DCHANGELOG_V14.md1461 …om/nodejs/node/commit/2bbf253b00)] - **benchmark**: changed `fstat` to `fstatSync` (Narasimha Pras…