/third_party/node/test/es-module/ |
D | test-esm-symlink-type.js | 46 symlinks.forEach((symlink) => { 47 const mainPath = path.join(tmpDir, symlink.source); 48 fs.symlinkSync(symlink.target, mainPath); 61 if (symlink.errorsWithPreserveSymlinksMain && 63 else if (!symlink.errorsWithPreserveSymlinksMain && 64 stdout.includes(symlink.prints)) return; 65 assert.fail(`For ${JSON.stringify(symlink)}, ${ 66 (symlink.errorsWithPreserveSymlinksMain) ? 70 if (stdout.includes(symlink.prints)) return; 71 assert.fail(`For ${JSON.stringify(symlink)}, failed to find ` + [all …]
|
D | test-esm-specifiers-symlink.mjs | 18 // └── symlink.mjs -> ./subfolder/index.mjs 20 const symlink = path.join(tmpDir, 'symlink.mjs'); constant 25 await fs.symlink(real, symlink); 32 fs.writeFile(entry, 'import "./symlink.mjs";'),
|
/third_party/python/Lib/test/ |
D | test_ntpath.py | 267 os.symlink(ABSTFN, ABSTFN + "1") 278 os.symlink(ABSTFN + "1", ABSTFN) 291 os.symlink(ABSTFN, ntpath.relpath(ABSTFN + "1")) 304 os.symlink(".", "recursive") 305 os.symlink("..", "parent") 307 os.symlink(".", "self") 308 os.symlink("missing", "broken") 309 os.symlink(r"broken\bar", "broken1") 310 os.symlink(r"self\self\broken", "broken2") 311 os.symlink(r"subdir\parent\subdir\parent\broken", "broken3") [all …]
|
D | test_posixpath.py | 166 os.symlink(os_helper.TESTFN + "1", os_helper.TESTFN + "2") 201 os.symlink("/", ABSTFN) 353 os.symlink(ABSTFN+"1", ABSTFN) 365 os.symlink(ABSTFN+"1", ABSTFN) 376 os.symlink(posixpath.relpath(ABSTFN+"1"), ABSTFN) 388 os.symlink(ABSTFN, ABSTFN) 391 os.symlink(ABSTFN+"1", ABSTFN+"2") 392 os.symlink(ABSTFN+"2", ABSTFN+"1") 399 os.symlink(ABSTFN+"x", ABSTFN+"y") 405 os.symlink(basename(ABSTFN) + "a/b", ABSTFN+"a") [all …]
|
/third_party/node/test/parallel/ |
D | test-fs-symlink.js | 42 fs.symlink(linkData, linkPath, common.mustSucceed(() => { 61 fs.symlink(linkData, linkPath, common.mustSucceed(() => { 72 assert.throws(() => fs.symlink(input, '', common.mustNotCall()), errObj); 75 assert.throws(() => fs.symlink('', input, common.mustNotCall()), errObj); 85 assert.throws(() => fs.symlink('', '', '', common.mustNotCall()), errObj);
|
D | test-fs-null-bytes.js | 76 check(fs.symlink, fs.symlinkSync, 'foo\u0000bar', 'foobar'); 77 check(fs.symlink, fs.symlinkSync, 'foobar', 'foo\u0000bar'); 111 check(fs.symlink, fs.symlinkSync, fileUrl, 'foobar'); 112 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl); 143 check(fs.symlink, fs.symlinkSync, fileUrl2, 'foobar'); 144 check(fs.symlink, fs.symlinkSync, 'foobar', fileUrl2);
|
D | test-fs-symlink-longpath.js | 18 fs.symlink(targetDirectory, pathDirectory, 'dir', common.mustSucceed(() => { 25 fs.symlink(targetFile, pathFile, common.mustSucceed(() => {
|
D | test-fs-symlink-dir-junction.js | 37 fs.symlink(linkData, linkPath, 'junction', common.mustSucceed(() => { 57 fs.symlink(linkData, linkPath, 'junction', common.mustSucceed(() => {
|
D | test-trace-events-fs-async.js | 251 function symlink() { function 254 fs.symlink('fs27.txt', 'fs28.txt', () => { 303 tests.symlink = wrapper(symlink);
|
D | test-fs-symlink-dir.js | 34 fs.symlink(target, path, common.mustSucceed(() => { 55 fs.symlink(target, path, common.mustSucceed(() => {
|
/third_party/musl/porting/linux/user/tools/ |
D | install.sh | 14 symlink= 21 l) symlink=yes ;; 22 r) symlink=yes; symlinkflags="$symlinkflags -r" ;; 52 if test "$symlink" ; then
|
/third_party/musl/tools/ |
D | install.sh | 14 symlink= 21 l) symlink=yes ;; 22 r) symlink=yes; symlinkflags="$symlinkflags -r" ;; 52 if test "$symlink" ; then
|
/third_party/ltp/testcases/kernel/security/tomoyo/ |
D | tomoyo_new_file_test.c | 473 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test() 476 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test() 481 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test() 484 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test() 489 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test() 492 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test() 497 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test() 500 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test() 505 show_result(symlink("/tmp/symlink_dest_test", filename), 1); in stage_file_test() 508 show_result(symlink("/tmp/symlink_dest_test", filename), 0); in stage_file_test()
|
/third_party/rust/crates/cxx/gen/src/ |
D | fs.rs | 110 fn symlink<'a>( in symlink() function 145 symlink(original.as_ref(), link.as_ref(), std::os::unix::fs::symlink) in symlink_file() 150 symlink( in symlink_file() 159 symlink( in symlink_dir()
|
/third_party/node/deps/npm/tap-snapshots/test/lib/commands/ |
D | link.js.test.cjs | 13 …nk global linked pkg to local nm when using args > should create a local symlink to global pkg 1`]… 22 … global linked pkg to local workspace using args > should create a local symlink to global pkg 1`]… 32 …nds/link.js TAP link pkg already in global space > should create a local symlink to global pkg 1`]… 37 …js TAP link pkg already in global space when prefix is a symlink > should create a local symlink t…
|
/third_party/toybox/ |
D | install.py | 44 os.symlink("../../bin/toybox", target_link) 46 os.symlink("../bin/toybox", target_link) 48 os.symlink("toybox", target_link)
|
D | Makefile | 46 scripts/install.sh --symlink --force 49 scripts/install.sh --symlink --force --airlock 52 scripts/install.sh --long --symlink --force
|
/third_party/typescript/src/harness/ |
D | vfsUtil.ts | 396 result += path + " -> " + node.symlink; 475 … /*size*/ isFile(node) ? this._getSize(node) : isSymlink(node) ? node.symlink.length : 0, 627 node.symlink = vpath.validate(target, vpath.ValidationFlags.RelativeOrAbsolute); 830 if (changedNode.symlink === baseNode.symlink) return false; 831 container[basename] = new Symlink(changedNode.symlink); 842 container[basename] = new Symlink(node.symlink); 977 if (isSymlink(root)) (shadow as SymlinkInode).symlink = root.symlink; 1060 const symlink = vpath.resolve(dirname, node.symlink); constant 1063 components = vpath.parse(symlink).concat(components.slice(step + 1)); 1112 this.symlinkSync(vpath.resolve(dirname, entry.symlink), path); [all …]
|
/third_party/node/deps/npm/node_modules/bin-links/lib/ |
D | link-gently.js | 8 const { lstat, mkdir, readlink, rm, symlink } = require('fs/promises') 75 return symlink(from, to, 'file').catch(er => { 77 return rm(to, rmOpts).then(() => symlink(from, to, 'file'))
|
/third_party/curl/lib/ |
D | ftplistparser.c | 121 } symlink; member 722 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRESPACE; in Curl_ftp_parselist() 780 switch(parser->state.UNIX.sub.symlink) { in Curl_ftp_parselist() 785 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_NAME; in Curl_ftp_parselist() 791 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET1; in Curl_ftp_parselist() 801 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET2; in Curl_ftp_parselist() 808 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_NAME; in Curl_ftp_parselist() 814 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET3; in Curl_ftp_parselist() 821 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_NAME; in Curl_ftp_parselist() 827 parser->state.UNIX.sub.symlink = PL_UNIX_SYMLINK_PRETARGET4; in Curl_ftp_parselist() [all …]
|
/third_party/toybox/toys/posix/ |
D | rm.c | 62 if (try->symlink) goto skip; in do_rm() 82 if (!dir || try->symlink != (char *)2) perror_msg_raw(try->name); in do_rm() 84 if (try->parent) try->parent->symlink = (char *)2; in do_rm()
|
/third_party/toybox/porting/liteos_a/ |
D | Makefile | 46 scripts/install.sh --symlink --force 49 scripts/install.sh --symlink --force --airlock 52 scripts/install.sh --long --symlink --force
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | symlink.c | 32 int result = symlink(file_name, link_name); in symlink_0100() 52 int result = symlink(file_name, link_name); in symlink_0200()
|
/third_party/typescript/src/testRunner/unittests/tsserver/ |
D | cachingFileSystemInformation.ts | 550 const symlink: SymLink = { constant 564 const host = createServerHost([module1, module2, symlink, config, libFile]); 566 service.openClientFile(`${symlink.path}/module2.ts`); 569 …checkProjectActualFiles(project, [module1.path, `${symlink.path}/module2.ts`, config.path, libFile… 570 host.writeFile(`${symlink.path}/module3.ts`, `import * as M from "folder1/module1";`); 573 …ojectActualFiles(project, [module1.path, `${symlink.path}/module2.ts`, config.path, libFile.path, …
|
/third_party/toybox/tests/ |
D | file.test | 13 ln -s $FILES/java.class symlink 14 LINK=$(readlink symlink)
|