Home
last modified time | relevance | path

Searched refs:realpath (Results 1 – 25 of 422) sorted by relevance

12345678910>>...17

/third_party/node/deps/npm/node_modules/fs.realpath/
Dindex.js1 module.exports = realpath
2 realpath.realpath = realpath
3 realpath.sync = realpathSync
4 realpath.realpathSync = realpathSync
5 realpath.monkeypatch = monkeypatch
6 realpath.unmonkeypatch = unmonkeypatch
9 var origRealpath = fs.realpath
24 function realpath (p, cache, cb) { function
35 old.realpath(p, cache, cb)
59 fs.realpath = realpath
[all …]
DREADME.md1 # fs.realpath
3 A backwards-compatible fs.realpath for Node v6 and above
5 In Node v6, the JavaScript implementation of fs.realpath was replaced
17 var rp = require('fs.realpath')
20 rp.realpath(someLongAndLoopingPath, function (er, real) {
28 // This replaces the fs.realpath/fs.realpathSync builtins
/third_party/node/test/parallel/
Dtest-fs-realpath.js84 function test_simple_error_callback(realpath, realpathSync, cb) { argument
85 realpath('/this/path/does/not/exist', common.mustCall(function(err, s) {
92 function test_simple_error_cb_with_null_options(realpath, realpathSync, cb) { argument
93 realpath('/this/path/does/not/exist', null, common.mustCall(function(err, s) {
100 function test_simple_relative_symlink(realpath, realpathSync, callback) { argument
118 asynctest(realpath, [entry], callback, function(err, result) {
123 function test_simple_absolute_symlink(realpath, realpathSync, callback) { argument
144 asynctest(realpath, [entry], callback, function(err, result) {
149 function test_deep_relative_file_symlink(realpath, realpathSync, callback) { argument
174 asynctest(realpath, [entry], callback, function(err, result) {
[all …]
Dtest-fs-realpath-buffer-encoding.js54 fs.realpath(
61 fs.realpath(string_dir, encoding, common.mustSucceed((res) => {
64 fs.realpath(
71 fs.realpath(buffer_dir, encoding, common.mustSucceed((res) => {
76 fs.realpath(string_dir, { encoding: 'buffer' }, common.mustSucceed((res) => {
80 fs.realpath(string_dir, 'buffer', common.mustSucceed((res) => {
84 fs.realpath(buffer_dir, { encoding: 'buffer' }, common.mustSucceed((res) => {
88 fs.realpath(buffer_dir, 'buffer', common.mustSucceed((res) => {
/third_party/python/Lib/test/
Dtest_ntpath.py268 self.assertPathEqual(ntpath.realpath(ABSTFN + "1"), ABSTFN)
269 self.assertPathEqual(ntpath.realpath(os.fsencode(ABSTFN + "1")),
280 self.assertRaises(FileNotFoundError, ntpath.realpath, ABSTFN, strict=True)
281 self.assertRaises(FileNotFoundError, ntpath.realpath, ABSTFN + "2", strict=True)
292 self.assertPathEqual(ntpath.realpath(ABSTFN + "1"), ABSTFN)
315 self.assertPathEqual(ntpath.realpath("broken"),
317 self.assertPathEqual(ntpath.realpath(r"broken\foo"),
321 self.assertPathEqual(ntpath.realpath(r"broken1"),
323 self.assertPathEqual(ntpath.realpath(r"broken1\baz"),
325 self.assertPathEqual(ntpath.realpath("broken2"),
[all …]
Dtest_posixpath.py5 from posixpath import realpath, abspath, dirname, basename
329 self.assertEqual(realpath('.'), os.getcwd())
330 self.assertEqual(realpath('./.'), os.getcwd())
331 self.assertEqual(realpath('/'.join(['.'] * 100)), os.getcwd())
333 self.assertEqual(realpath(b'.'), os.getcwdb())
334 self.assertEqual(realpath(b'./.'), os.getcwdb())
335 self.assertEqual(realpath(b'/'.join([b'.'] * 100)), os.getcwdb())
339 self.assertEqual(realpath('..'), dirname(os.getcwd()))
340 self.assertEqual(realpath('../..'), dirname(dirname(os.getcwd())))
341 self.assertEqual(realpath('/'.join(['..'] * 100)), '/')
[all …]
Dtest_venv.py52 self.env_dir = os.path.realpath(tempfile.mkdtemp())
159 expect_exe = os.path.normcase(os.path.realpath(expect_exe))
324 envpy = os.path.join(os.path.realpath(self.env_dir),
338 envpy = os.path.join(os.path.realpath(self.env_dir),
350 env_dir = os.path.join(os.path.realpath(self.env_dir), 'ϼўТλФЙ')
373 envpy = os.path.join(os.path.realpath(self.env_dir),
407 envpy = os.path.join(os.path.realpath(self.env_dir),
417 envpy = os.path.join(os.path.realpath(self.env_dir),
492 envpy = os.path.join(os.path.realpath(self.env_dir), self.bindir, self.exe)
/third_party/node/deps/npm/lib/install/action/
Dfinalize.js19 log.silly('finalize', pkg.realpath)
23 …const delpath = path.join(path.dirname(pkg.realpath), '.' + path.basename(pkg.realpath) + '.DELETE…
28 const relative = path.relative(path.dirname(pkg.path), pkg.realpath)
35 return makeParentPath(pkg.realpath)
40 return rimraf(pkg.realpath).then(moveOldDestinationBack).then(() => {
61 return lstat(pkg.realpath).then(() => {
67 return move(extractedTo, pkg.realpath, moveOpts)
72 return move(pkg.realpath, delpath, moveOpts)
77 return move(delpath, pkg.realpath, moveOpts).then(() => { movedDestAway = false })
84 …return mkdirp(path.join(pkg.realpath, 'node_modules')).then(() => Bluebird.map(modules, (file) => {
[all …]
/third_party/node/deps/npm/node_modules/read-package-tree/
Drpt.js7 const realpath = require('./realpath.js') constant
26 this.realpath = physical
37 constructor (pkg, logical, physical, realpath, er, cache) { argument
42 const cachedTarget = cache.get(realpath)
49 this.target = cachedTarget || new Node(pkg, logical, realpath, er, cache)
50 this.realpath = realpath
83 const p = realpath(physical, rpcache, stcache, 0).then(real =>
110 return realpath(nm, rpcache, stcache, 0)
131 if (did.has(node.realpath))
134 did.add(node.realpath)
[all …]
/third_party/node/deps/npm/test/tap/
Dunit-deps-earliestInstallable.js29 realpath: '/dep1' property
39 realpath: '/dep2' property
51 realpath: '/dep1/node_modules/dep2a' property
63 realpath: '/' property
83 realpath: '/dep1' property
93 realpath: '/dep2' property
105 realpath: '/' property
/third_party/python/Lib/idlelib/idle_test/
Dtest_grep.py44 cls.realpath = os.path.realpath(__file__)
45 cls.path = os.path.dirname(cls.realpath)
49 del cls.realpath, cls.path
75 self.assertIn(self.realpath, filelist)
81 self.assertNotIn(self.realpath, filelist)
87 self.assertNotIn(self.realpath, filelist)
102 self.assertNotIn(self.realpath, filelist)
110 self.assertIn(self.realpath, filelist)
115 self.assertIn(self.realpath, filelist)
/third_party/typescript/src/server/
DscriptInfo.ts309 private realpath: Path | undefined; property in ts.server.ScriptInfo
343 this.realpath = this.path;
395 if (this.realpath === undefined) {
397 this.realpath = this.path;
398 if (this.host.realpath) {
401 const realpath = this.host.realpath(this.path); constant
402 if (realpath) {
403 this.realpath = project.toPath(realpath);
405 if (this.realpath !== this.path) {
406 … project.projectService.realpathToScriptInfos!.add(this.realpath, this); // TODO: GH#18217
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/misc/
Drealpath.c27 char *ret = realpath("/system/bin/../etc", actualPath); in realpath_0100()
40 char *ret = realpath("/system/bin/../mypth", actualPath); in realpath_0200()
42 ret = realpath("/system/bin/../etc", NULL); in realpath_0200()
/third_party/libuv/src/unix/
Dfsevents.c273 if (memcmp(path, handle->realpath, handle->realpath_len) != 0) in uv__fsevents_event_cb()
276 if (!(handle->realpath_len == 1 && handle->realpath[0] == '/')) { in uv__fsevents_event_cb()
462 assert(curr->realpath != NULL); in uv__fsevents_reschedule()
464 pCFStringCreateWithFileSystemRepresentation(NULL, curr->realpath); in uv__fsevents_reschedule()
815 handle->realpath = realpath(handle->path, NULL); in uv__fsevents_init()
816 if (handle->realpath == NULL) in uv__fsevents_init()
818 handle->realpath_len = strlen(handle->realpath); in uv__fsevents_init()
867 uv__free(handle->realpath); in uv__fsevents_init()
868 handle->realpath = NULL; in uv__fsevents_init()
909 uv__free(handle->realpath); in uv__fsevents_close()
[all …]
/third_party/node/deps/npm/lib/install/
Dinflate-bundled.js14 child.realpath = bundler.isLink ? child.realpath : childPath(parent.realpath, child)
Dinflate-shrinkwrap.js207 realpath: isDirectory ? requested.fetchSpec : childPath(tree.realpath, pkg), property
232 realpath: isLink ? requested.fetchSpec : childPath(tree.realpath, pkg), property
257 …if (child.isLink && requested.type === 'directory') return path.relative(child.realpath, requested…
/third_party/typescript/tests/baselines/reference/
DAPISample_WatchWithOwnWatchHost.js37 realpath: ts.sys.realpath,
89 realpath: ts.sys.realpath, property
/third_party/skia/infra/bots/assets/skp/
Dcreate.py22 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir))
83 browser_executable = os.path.realpath(browser_executable)
84 chrome_src_path = os.path.realpath(chrome_src_path)
85 dm_path = os.path.realpath(dm_path)
86 target_dir = os.path.realpath(target_dir)
/third_party/mindspore/
Dbuild_helper.py92 in_zip_path = os.path.realpath(args['in_zip_path'])
94 patch_dir = os.path.realpath(args['patch_dir'])
100 out_src_path = os.path.realpath(out_src_path)
/third_party/flutter/skia/infra/bots/assets/skp/
Dcreate.py28 browser_executable = os.path.realpath(browser_executable)
29 chrome_src_path = os.path.realpath(chrome_src_path)
30 target_dir = os.path.realpath(target_dir)
/third_party/libwebsockets/scripts/
Dtravis_install.sh11 …sudo apt-get install -y -qq realpath libjemalloc1 libev4 libuv-dev libdbus-1-dev valgrind mosquitto
26 sudo apt-get install -y -qq realpath libjemalloc1 libev4 libuv-dev valgrind
36 sudo apt-get install -y -qq realpath libjemalloc1 libev4
/third_party/typescript/src/compiler/
DwatchUtilities.ts14 realpath?(path: string): string; method
61 realpath: host.realpath && realpath
175 …des, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath);
188 function realpath(s: string) { function
189 return host.realpath ? host.realpath(s) : s;
/third_party/node/benchmark/fs/
Dbench-realpath.js27 fs.realpath(relative_path, () => {
37 fs.realpath(resolved_path, () => {
/third_party/vk-gl-cts/scripts/
Dcppcheck.py136 fullDstFile = os.path.realpath(dstFile)
159 srcDir = os.path.realpath(os.path.normpath(os.path.join(os.path.dirname(__file__), "..", "..")))
/third_party/mesa3d/.gitlab-ci/valve/
Dtraces-runner.sh13 INSTALL=$(realpath -s "$PWD"/install)
14 RESULTS=$(realpath -s "$PWD"/results)

12345678910>>...17