/third_party/node/test/parallel/ |
H A D | test-fs-realpath.js | 84 function test_simple_error_callback(realpath, realpathSync, cb) { 85 realpath('/this/path/does/not/exist', common.mustCall(function(err, s) { 92 function test_simple_error_cb_with_null_options(realpath, realpathSync, cb) { 93 realpath('/this/path/does/not/exist', null, common.mustCall(function(err, s) { 100 function test_simple_relative_symlink(realpath, realpathSync, callback) { 120 asynctest(realpath, [entry], callback, function(err, result) { 125 function test_simple_absolute_symlink(realpath, realpathSync, callback) { 148 asynctest(realpath, [entry], callback, function(err, result) { 153 function test_deep_relative_file_symlink(realpath, realpathSync, callback) { 182 asynctest(realpath, [entr [all...] |
H A D | test-trace-events-fs-async.js | 196 function realpath() { function 200 fs.realpath.native('fs19.txt', () => { 292 tests.realpath = wrapper(realpath);
|
/third_party/python/Lib/test/ |
H A D | test_ntpath.py | 294 tester("ntpath.realpath('.')", expected) 295 tester("ntpath.realpath('./.')", expected) 296 tester("ntpath.realpath('/'.join(['.'] * 100))", expected) 297 tester("ntpath.realpath('.\\.')", expected) 298 tester("ntpath.realpath('\\'.join(['.'] * 100))", expected) 302 tester("ntpath.realpath('..')", ntpath.dirname(expected)) 303 tester("ntpath.realpath('../..')", 305 tester("ntpath.realpath('/'.join(['..'] * 50))", 307 tester("ntpath.realpath('..\\..')", 309 tester("ntpath.realpath('\\' [all...] |
H A D | test_posixpath.py | 5 from posixpath import realpath, abspath, dirname, basename namespace 373 self.assertEqual(realpath('.'), os.getcwd()) 374 self.assertEqual(realpath('./.'), os.getcwd()) 375 self.assertEqual(realpath('/'.join(['.'] * 100)), os.getcwd()) 377 self.assertEqual(realpath(b'.'), os.getcwdb()) 378 self.assertEqual(realpath(b'./.'), os.getcwdb()) 379 self.assertEqual(realpath(b'/'.join([b'.'] * 100)), os.getcwdb()) 383 self.assertEqual(realpath('..'), dirname(os.getcwd())) 384 self.assertEqual(realpath('../..'), dirname(dirname(os.getcwd()))) 385 self.assertEqual(realpath('/' [all...] |
H A D | test_venv.py | 63 self.env_dir = os.path.realpath(tempfile.mkdtemp()) 138 os.path.realpath(sys.executable), data) 217 expect_exe = os.path.normcase(os.path.realpath(expect_exe)) 427 envpy = os.path.join(os.path.realpath(self.env_dir), 441 envpy = os.path.join(os.path.realpath(self.env_dir), 453 env_dir = os.path.join(os.path.realpath(self.env_dir), 'ϼўТλФЙ') 476 envpy = os.path.join(os.path.realpath(self.env_dir), 494 envpy = os.path.join(os.path.realpath(self.env_dir), 524 envpy = os.path.join(os.path.realpath(self.env_dir), 551 non_installed_dir = os.path.realpath(tempfil [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_grep.py | 44 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, filelis [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | load-actual.js | 15 const realpath = require('../realpath.js') 50 // caches for cached realpath calls 99 // mostly realpath to throw if the root doesn't exist 112 const real = await realpath(this.path, this[_rpcache], this[_stcache]) 115 realpath: real, 129 real: await realpath(this.path, this[_rpcache], this[_stcache]), 219 const def = kid.isLink ? `file:${kid.realpath.replace(/#/g, '%23')}` : '*' 250 real = await realpath(path, this[_rpcache], this[_stcache]) 252 // if realpath fail [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/misc/misc_gtest/ |
H A D | misc_realpath_test.cpp | 14 * @tc.desc: This test case aims to test whether the realpath () function correctly sets errno and returns nullptr when 22 char* ptr = realpath(testPath, nullptr); in HWTEST_F() 29 * @tc.desc: This test case aims to test whether the realpath () function correctly sets errno and returns nullptr when 36 char* ptr = realpath("", nullptr); in HWTEST_F() 43 * @tc.desc: This test case aims to test whether the realpath () function correctly sets errno and returns nullptr when 50 char* ptr = realpath("/musl/test", nullptr); in HWTEST_F() 57 * @tc.desc: This test case aims to test whether the realpath () function correctly sets errno and returns nullptr when 65 char* ptr = realpath(existingPath, nullptr); in HWTEST_F() 72 * @tc.desc: The purpose of this test case is to test that the realpath () function can correctly ignore the dot symbols 78 char* resolvedPath = realpath("/pro in HWTEST_F() [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | node.js | 1 // inventory, path, realpath, root, and parent 16 // node.realpath is the path to where the module actually resides on disk. In 17 // the case of non-link nodes, node.realpath is equivalent to node.path. In 79 realpath, 126 nameFromFolder(path || pkg.name || realpath) || 137 this.realpath = !this.isLink ? this.path : resolve(realpath) 573 if (!this.path || !root.realpath || !root.path) { 615 const loc = relpath(root.realpath, this.path) 632 const ploc = relpath(root.realpath, [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
H A D | realpath.c | 21 * @tc.desc : Verify realpath process success 27 char *ret = realpath("/system/bin/../etc", actualPath); in realpath_0100() 34 * @tc.desc : Verify realpath process success fail bacaus path is error 40 char *ret = realpath("/system/bin/../mypth", actualPath); in realpath_0200() 42 ret = realpath("/system/bin/../etc", NULL); in realpath_0200()
|
/third_party/skia/infra/bots/assets/skp/ |
H A D | create.py | 22 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/libuv/src/unix/ |
H A D | fsevents.c | 263 /* Make sure that realpath actually named a directory, in uv__fsevents_event_cb() 264 * (unless watching root, which alone keeps a trailing slash on the realpath) in uv__fsevents_event_cb() 271 if (memcmp(path, handle->realpath, handle->realpath_len) != 0) in uv__fsevents_event_cb() 274 if (!(handle->realpath_len == 1 && handle->realpath[0] == '/')) { in uv__fsevents_event_cb() 285 * realpath == path, and we now need to get the basename of the file back in uv__fsevents_event_cb() 453 assert(curr->realpath != NULL); in uv__fsevents_reschedule() 455 pCFStringCreateWithFileSystemRepresentation(NULL, curr->realpath); in uv__fsevents_reschedule() 804 handle->realpath = realpath(handle->path, NULL); in uv__fsevents_init() 805 if (handle->realpath in uv__fsevents_init() [all...] |
/third_party/node/deps/uv/src/unix/ |
H A D | fsevents.c | 265 /* Make sure that realpath actually named a directory, in uv__fsevents_event_cb() 266 * (unless watching root, which alone keeps a trailing slash on the realpath) in uv__fsevents_event_cb() 273 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() 287 * realpath == path, and we now need to get the basename of the file back 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 in uv__fsevents_init() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | APISample_WatchWithOwnWatchHost.js | 38 realpath: ts.sys.realpath, 90 realpath: ts.sys.realpath,
|
/third_party/node/deps/npm/node_modules/path-scurry/dist/cjs/ |
H A D | index.js | 33 // TODO: test perf of fs/promises realpath vs realpathCB, 34 // since the promises one uses realpath.native 47 realpath: promises_1.realpath, 89 // set if we know realpath() will fail 294 #realpath; 611 * Returns the cached realpath target if the entry has been the subject 612 * of a successful realpath, or undefined otherwise. 616 * realpath() has been called at some point. 619 return this.#realpath; [all...] |
/third_party/node/deps/npm/node_modules/path-scurry/dist/mjs/ |
H A D | index.js | 7 // TODO: test perf of fs/promises realpath vs realpathCB, 8 // since the promises one uses realpath.native 9 import { lstat, readdir, readlink, realpath } from 'fs/promises'; 21 realpath, 63 // set if we know realpath() will fail 266 #realpath; 583 * Returns the cached realpath target if the entry has been the subject 584 * of a successful realpath, or undefined otherwise. 588 * realpath() has been called at some point. 591 return this.#realpath; [all...] |
/third_party/node/benchmark/fs/ |
H A D | bench-realpath.js | 27 fs.realpath(relative_path, () => { 37 fs.realpath(resolved_path, () => {
|
/third_party/vk-gl-cts/scripts/ |
H A D | cppcheck.py | 136 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/vkd3d-proton/ |
H A D | run.sh | 9 INSTALL=$(realpath -s "$PWD"/install) 11 RESULTS=$(realpath -s "$PWD"/results)
|
/third_party/mindspore/ |
H A D | build_helper.py | 162 in_zip_path = os.path.realpath(args['in_zip_path']) 164 patch_dir = os.path.realpath(args['patch_dir']) 178 out_src_path = os.path.realpath(out_src_path)
|
/third_party/vk-gl-cts/external/vulkan-docs/src/antora/ |
H A D | Makefile | 40 -component $(shell realpath antora/modules/ROOT) \ 56 -component $(shell realpath antora/modules/proposals) \
|
/third_party/skia/infra/bots/assets/svg/ |
H A D | create.py | 19 INFRA_BOTS_DIR = os.path.realpath(os.path.join(FILE_DIR, os.pardir, os.pardir)) 26 target_dir = os.path.realpath(target_dir)
|
/third_party/python/Lib/unittest/ |
H A D | loader.py | 418 realpath = _jython_aware_splitext( 419 os.path.realpath(mod_file)) 421 os.path.realpath(full_path)) 422 if realpath.lower() != fullpath_noext.lower(): 423 module_dir = os.path.dirname(realpath)
|
/third_party/node/deps/v8/ |
H A D | .ycm_extra_conf.py | 119 out_dir = os.path.realpath(GetNinjaOutputDirectory(v8_root)) 123 rel_filename = os.path.relpath(os.path.realpath(filename), out_dir)
|
/third_party/python/Mac/Tools/ |
H A D | pythonw.c | 166 * Note: don't call 'realpath', that will in main() 172 * therefore call realpath on dirname(path) in main() 179 if (realpath(path, real_path) == NULL) { in main() 180 err(1, "realpath: %s", path); in main() 185 err(1, "realpath: %s", path); in main() 189 if (realpath(".", real_path) == NULL) { in main() 190 err(1, "realpath: %s", path); in main() 194 err(1, "realpath: %s", path); in main() 198 err(1, "realpath: %s", path); in main()
|